3 ms·
The usage I've seen is to send log lines. In that case it's a lot slower than bundling stuff up into single requests/responses over HTTP.
by jacques_chester 6y ago
The usage I've seen is to send log lines. In that case it's a lot slower than bundling stuff up into single requests/responses over HTTP.
- remram 6y agoYou mean, using server-sent events for things that are not events but data, one row at a time? Of course that'd be slow, but that's equivalent to sending one websocket frame for each row, or one file per row over HTTP multipart. Hardly talks to the speed of either protocol.
- jacques_chester 6y agoI disagree. SSE makes one design easier. If that's great, great. If not, not. But per-unit SSE is ships more slowly because it doesn't allow for easy batching.