Answer the question
In order to leave comments, you need to log in
WebSocket or Rest?
Hello Toaster.
There is a feedback form on the site. In it there is a correspondence with the operator. Everything works on HTTP requests, every 3-4 seconds the client sends a GET request to the server to receive new messages.
Is this architecture correct or would it be better to use WebSocket (I don't know how to implement it yet.)
The number of simultaneous connections can be very large. Approximately 10,000 users or even more, this is already more than three thousand requests per second.
DB: MySQL, apatch tomcat, java
Answer the question
In order to leave comments, you need to log in
The current version will be easiest to remake under long polling.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question