Skip to content
This repository has been archived by the owner on Dec 21, 2019. It is now read-only.

SP over HTTP/2 transport #174

Closed
gdamore opened this issue Dec 18, 2015 · 1 comment
Closed

SP over HTTP/2 transport #174

gdamore opened this issue Dec 18, 2015 · 1 comment

Comments

@gdamore
Copy link
Collaborator

gdamore commented Dec 18, 2015

as an alternative to websocket, we could transport over HTTP/2. Its unclear if this will actually provide a benefit over websocket, but here's some example:

golang/go#13444

Note that this would only work with Go 1.6 or newer, where HTTP/2 is available.

@gdamore
Copy link
Collaborator Author

gdamore commented May 25, 2016

Reading this, I see only small benefits for HTTP/2, since we would almost immediately switch to WebSocket. We cannot use HTTP/2 server push for generic protocol uses, and server send events (SSE) look complex with little benefit.

More promising in the long term is QUIC. Sadly there doesn't seem to be usable QUIC code for Go yet. At least not code I'd feel good about integrating directly into mangos.

I'm going to close this issue for now; the question of HTTP/2 is orthogonal to websocket, and we'll use HTTP/2 to establish the websocket connection automatically when the go 1.6 HTTP framework discovers it makes sense to do so.

@gdamore gdamore closed this as completed May 25, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant