2 ms·
Thanks a lot, I'm a bit worried about performance here, I wonder how does it compare against standard REST and SignalR in terms of number of active connections,
by polskibus 8y ago
Thanks a lot, I'm a bit worried about performance here, I wonder how does it compare against standard REST and SignalR in terms of number of active connections, performance, etc.
- sametmax 8y agoThe general rule of thumbs is that Websocket are cheaper if you want long connection with states to maintain (you only need to identify once) or have a lot of small messages. However, you have a low number of requests, or big requests, REST is going to be faster. But as usual, it depends of your implementation and your constraint. After all, facebook is using polling if I recall.