Skip to content

Clarification on WebSocket vs HTTP handshake overhead in README #6

@rahulsamant37

Description

@rahulsamant37

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions