aquametalabs / aquameta

Web development platform built entirely in PostgreSQL
GNU General Public License v3.0
1.1k stars 52 forks source link

endpoint: Support HTTP/2 #190

Closed erichanson closed 4 years ago

erichanson commented 5 years ago

HTTP2 enables connection multiplexing, which would be a huge game changer for our purposes. Since widgets are ping-ponging back and forth to the server as they're loaded, keeping connections open and reusing them would result in a massive increase in performance.

erichanson commented 4 years ago

There's a fundamental roadblock here, namely WSGI is not compatible with HTTP/2. Werkzeug is a WSGI library, so it's never going to support HTTP/2. If we stay on the Python train, looks like ASGI is the future of gateway interfaces in Python; and the future is here.

erichanson commented 4 years ago

Golang bakes this in out of the box.