Answer the question
In order to leave comments, you need to log in
Do I need to use WebSocket here?
The site has a system for sending Ajax requests every 5 seconds - to display the latest purchases, will there be a big load if, say, 1000-4000 people visit the site per day?
Answer the question
In order to leave comments, you need to log in
SSE
If 1000-4000 people a day, then this is extremely small, at least anything will do here, it’s more important to look at how many people you have in your peak, i.e. simultaneously
Do not plant such a bomb at the start, then it is more difficult to redo it than to do it right now.
Server site event or websockets, for me it’s the same thing, but websockets are more universal (i.e. it’s convenient to use your own websocket server and backend for inter-process communication)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question