Answer the question
In order to leave comments, you need to log in
Should I use socket.io for simple tasks?
Is it worth using sockets for simple, small tasks, such as getting the client's ip address from the server or the amount of something, i.e. data that is static on most sites (received during loading and forgotten)? Or is it better to get ajax?
What do you think about this issue?
I understand that sockets are used for continuous connection, which is often used for chats and the like.
P.S. I'm new to the topic of sockets.
Answer the question
In order to leave comments, you need to log in
WS are needed only for near-realtime interaction. For the rest, you do not need to reboot the system
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question