syndicate-storage / syndicate

Internet-scale software-defined storage system
Apache License 2.0
56 stars 10 forks source link

Use Websockets for communication with the MS #54

Closed jcnelson closed 9 years ago

jcnelson commented 10 years ago

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.

jcnelson commented 10 years ago

Tagged "low priority" until we can get more data on whether or not this is a good idea.

jcnelson commented 9 years ago

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).