4 ms·
I wonder if websockets could be used to speed up non-live apps by decreasing overhead. Or, rather, would it be worthwhile?
by smt88 11y ago
I wonder if websockets could be used to speed up non-live apps by decreasing overhead. Or, rather, would it be worthwhile?
- atemerev 11y agoFor me, it is. I get nearly instantaneous reaction times for UI events, even where round-trip to server is involved (WS session is already created, so no duplicated headers, etc.) Additionally, especially for mobile apps, if connection is dropped, it is immediately detectable and it can go to offline mode right away.
- smt88 11y agoTo clarify, are you talking about an app that does not have any real-time data? The part about knowing when the connection has dropped is actually really interesting...
- paulddraper 11y agonavigator.onLine
- creshal 11y agoThat sounds like a hammer in search of nails.
- smt88 11y agoThat's exactly what it is. The obvious nail for websockets is real-time data. I'm curious to know if there are other nails.