4 ms·
You always have to deal with timeouts and other network issues, regardless of protocol. Rather than retry every second, you retry on timeout.
by icebraining 8y ago
You always have to deal with timeouts and other network issues, regardless of protocol.
Rather than retry every second, you retry on timeout.
- kh_hk 8y agoAnd yet most HTTP APIs are going to give you a response with an status instead of holding it. I guess because it's much easier to implement and also assumes less on the consumer part. Then there was Comet and what resulted from that, websockets and server side events.