2 ms·
Can I have opinions from someone who have already used this?
by boylove142 10y ago
Can I have opinions from someone who have already used this?
- trakout 10y agoSure. The only thing SocketIO really has going for it is built-in support for falling back to long polling (for browsers that don't support websockets). That said, if you're using socketIO in production, you'll have to deal with memory leaks that aren't your fault (eg. even if you stick to boilerplate code). If you just want something quick and easy for a hackathon or personal project that you never want to scale, go for it. Otherwise be prepared for a rewrite, or increased hardware costs.
- diegorbaquero 10y agoI'm the one proposing the switch in WebTorrent, you can read about the decision here: https://medium.com/@diegorbaquero/%C2%B5ws-as-your-next-websocket-library-d34209686357#.jb27ng2gd https://medium.com/@diegorbaquero/%C2%B5ws-as-your-next-webs... I use it in production (BTorrent tracker) with 700-1300 peers active 24/7. 50MB or less RAM usage.