A
A
Alex Quban2021-03-10 14:47:38
Chats
Alex Quban, 2021-03-10 14:47:38

Live Chat Site Visitors = Server Overload?

There is a site on Wordpress where online broadcasts will be held (embed video from Twitch or YouTube) + you need an online chat without registration (we used wp plugin Wise chat earlier ). He satisfied with his functionality, but crushed the site with overload.

From last year's experience, there were problems.
Roughly speaking, there will be approximately 800-1000 viewers on the page and they will be in the chat, if the chat is updated 1 time per second, then the server will obviously reboot.

Can you tell me what solutions you see?
Or some other chat?

What is the best way to implement online chat of viewers without overloading the server (now the site is on VDS CPU 2 / RAM 4 GB / NVMe)

PS
The solution to the same problem is required on another site, but it is even more "complicated" there,5 parallel pages with different broadcasts and each room has its own chat.
Wise chat allowed you to create "rooms" and then download the chat logs of each of them - it was convenient
=====
I'm not really an IT specialist myself, especially on the topic of servers *

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
ky0, 2021-03-10
@ky0

I myself am not really an IT specialist, especially on the topic of servers

In a commercial IT project, they usually hire these guys who are "on the topic of servers" to deal with similar issues.

V
Victoria Syrosyeva, 2021-03-22
@iasarotty

Hello, there is a WordPress chat plugin between users. It is possible to make a "guest entry" to the chat using a login or automatic registration in the chat.
Regarding the load: it all depends on the behavior of users, if they start sending files at the same time or turn on video communication, then the chat will start to work more slowly. Under average load, it works stably. There is a case with 130,000 users, the plugin works great. You can read more about chat architecture and load in this article .
I understand that you are considering a Self-Hosted chat installation (that is, on your server). You can read about it here .
605807963daac857342564.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question