3 ms·
Web sockets have their own issues that can be/are implementation dependent. For example, some websocket servers don't pass back errors to the client (AWS). Tha
by mannyv 2y ago
Web sockets have their own issues that can be/are implementation dependent.
For example, some websocket servers don't pass back errors to the client (AWS). That makes it quite difficult to, say, retry on the client side.
Chunked encoding is used by video players - so you can request X bytes of a video file. That means you don't have to download the whole file, and if the user closes the video you didn't waste bandwidth. There are likely more uses of it.
- floating-io 2y ago> Chunked encoding is used by video players - so you can request X bytes of a video file. That means you don't have to download the whole file, and if the user closes the video you didn't waste bandwidth. There are likely more uses of it. Just a nitpick, but what you describe here is byte range requests. They can be used with or without chunked encoding, which is a separate thing.
- mannyv 2y agoOh yeah, ugh - I get those two confused.