xandrew / agree2disagree

GNU Affero General Public License v3.0
0 stars 0 forks source link

Streaming requests #20

Open xandrew opened 2 years ago

xandrew commented 2 years ago

Would be nice to update the UI when something happens with the currently viewed claim.

xandrew commented 2 years ago

https://flask-socketio.readthedocs.io/en/latest/ seems to fit the bill.

But how does this play with scaling? This make servers not to be stateless, client - server assignment becomes more permanent. Is this a problem?

xandrew commented 2 years ago

Seems relevant: https://stackoverflow.com/questions/64196303/flask-socketio-server-on-google-cloud-app-engine-flex-env

xandrew commented 2 years ago

https://cloud.google.com/appengine/docs/flexible/python/using-websockets-and-session-affinity