What is the correct refresh rate for a quality balance and not a server crash?
Do not try new messages (any update speed will become unavailable when scaling), just make the server push new messages to the AJAX client.
Take a look at Comet (long HTTP request)
It depends on a wide range of factors, for example. response time, server size, expected capacity, bandwidth. I would say that every 500 ms, upon completion of the request, they will feel comfortable.
, - .
, , , .
Source: https://habr.com/ru/post/1737901/More articles:Many-to-Many Key Data Violations - iphoneUnbind jquery plugins - jqueryWpf Combobox in Master / Detail MVVM - c #Migrating .NET assemblies from an application database? - .netASP.NET MVC 2 Client Validation Function in Ajax Form - asp.netHow to show text as superscript in "Alt text"? - htmlОптимизация запроса Oracle - optimizationHow to specify for javac where the compiled classes should be? - javaList of sortable jquery nests - jqueryUSB device identification - pythonAll Articles