3 ms·
This is the perfect example of what worries me about WebSockets and WebRTC, that people use it for data better served over HTTP. "But it's faster and purer, wit
by striking 11y ago
This is the perfect example of what worries me about WebSockets and WebRTC, that people use it for data better served over HTTP. "But it's faster and purer, with less overhead!" I hear you say. Sure, but that overhead is very useful, guaranteeing things like on-the-fly compression, caching, data integrity, and so on. The only time you should use WebSockets/WebRTC is if you really need Real Time Communication (really, it's in the name). A real-time game doesn't care about data coming in the right order exactly, and a video call can lose a couple frames before people notice. But the web has a protocol, and it's the HyperText Transfer Protocol.
- asdjoqjeqiow 11y agoit opens new possibilities that http does not that is the main idea here. Who cares about the web and it's protocol... this thing enables new things not seen before and that it enough.