miguelgrinberg / Flask-SocketIO

Socket.IO integration for Flask applications.
MIT License
5.31k stars 888 forks source link

Is Eventlet Still The Best Option? #2067

Closed ebram96 closed 1 month ago

ebram96 commented 1 month ago

I'm quoting from documentation: "eventlet is the best performant option, with support for long-polling and WebSocket transports."

But when I check Eventlet's documetation I see: "New usages of eventlet are now heavily discouraged!"

I'm wondering if I'm starting to use Flask-SocketIO in a new project, should I still go with Eventlet? If no, what is the recommendation here?

miguelgrinberg commented 1 month ago

No, eventlet is not a good option anymore, it is a project that is winding down and will eventually be closed. For a new project I would recommend you start with the threading mode and if that is insufficient you switch to gevent.