Search code examples
pythonsocket.iowebserverflask-socketioeventlet

Handle concurrent requests or threading Flask SocketIO with eventlet


I’ve started working a lot with Flask SocketIO in Python with Eventlet and are looking for a solution to handle concurrent requests/threading. I’ve seen that it is possible with gevent, but how can I do it if I use eventlet?


Solution

  • The eventlet web server supports concurrency through greenlets, same as gevent. No need for you to do anything, concurrency is always enabled.