Closed jcnelson closed 9 years ago
Tagged "low priority" until we can get more data on whether or not this is a good idea.
This is probably a bad idea, given the reasonable performance of our parallel request disptaching. GAE front-ends don't support websockets or any form of long-lived HTTP connections (but backends apparently do, as well as GCE).
Google AppEngine does not allow keep-alive connections--once a request to the MS completes, the TCP socket will be closed on GAE. This will lead to bad metadata latency. One solution is to partially implement websockets on top of GAE---it will not be complete, since GAE requires all requests to be handled after a few seconds, but we could them it to handle bursts of metadata requests.
Investigate tornado's websocket-for-GAE code, and libwebsockets for the gateways.