huggingface / huggingface/openenv-course
Clarification on WebSocket vs HTTP handshake overhead in README
- Dominant language
- Jupyter Notebook
- Stars
- 88
- Forks
- 157
- PR merge metrics
- No merged PRs in 30d
Description
Hi, thanks for the great repo really enjoying going through it
I had a question about this line in the README:
> “WebSocket … vs TCP handshake overhead (~10–50ms) with HTTP”
With HTTP/3 (QUIC + TLS 1.3) the handshake and connection reuse are quite different from traditional TCP based HTTP and persistent connections can avoid repeated handshakes
Is the comparison here intended mainly against HTTP/1.1 / HTTP/2 request-response overhead rather than the handshake itself?
I’m guessing the main advantage of WebSocket in OpenEnv is the persistent bidirectional stream and avoiding per-request overhead rather than just handshake cost but wanted to confirm the intended interpretation
Happy to submit a PR if you think clarifying this would help others as well
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.