robdiciuccio commented on issue #9190: [SIP-39] Global Async Query Support URL: https://github.com/apache/incubator-superset/issues/9190#issuecomment-591168407 Socket.io defaults to long-polling, upgrading to websockets if available. Using Socket.io without websockets would almost certainly saturate the browser's HTTP connection limit with just a few tabs open (without HTTP/2). This was the main reason behind recommending vanilla websockets vs Socket.io. I'm interested in hearing more about your experience with `flask-socketio`. Are you running this with `gunicorn` and `gevent`? This setup is [the current recommendation in the Superset docs](https://superset.incubator.apache.org/installation.html#a-proper-wsgi-http-server), but there are apparent incompatibilities with [database](https://www.psycopg.org/docs/advanced.html#green-support) [drivers](https://github.com/PyMySQL/mysqlclient-python/pull/285) and green threads. This lack of clarity around green thread support in Superset is another reason for recommending handling persistent connections in a separate application. I'd also be interested in hearing if others are using `gevent` or `eventlet` successfully in production.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
