Home > database >  What happens if I use socket.io allover the app?
What happens if I use socket.io allover the app?

Time:02-20

I am writing an android app using Java and for the back-end I chose socket.io in node js. I just want to ask what happens if I socket.io instead of rest-api?

CodePudding user response:

Using socket.io as the main communication system is not a good choice because the communication system is always open. now imagine 1000 people want a data trough sockets, it will slowdown your server and sometimes cause server crashes.

  • Related