hosing Python / Flask apis in RHEL with heavy IO bound tasks
Summary The Flask application using Gunicorn+Eventlet handles hundreds of concurrent WebSocket connections but suffers severe slowdownsֶ when processing heavy I/O-bound tasks (e.g., batch database updates) in production. While functional in development using Flask’s dev server, scaling failed in production due to a single-worker architecture bottlenecked by I/O. Eventlet’s green threads couldn’t utilize multiple CPU cores, … Read more