Performance Optimization Study of Flask SaaS Web ServiceBased on Gunicorn Gevent Worker Model for High Concurrency
Korean Institute of Smart Media · 27.02.2026 · 15 (2) · 142-150
DOI: 10.30693/smj.2026.15.2.142 ↗Kurz gefasst
Fachartikel in der Zeitschrift Korean Institute of Smart Media, online erschienen am 27.02.2026. Verfasst von Hae In Lee.
Abstract (Originalsprache)
This study presents a performance optimization method for Flask-based SaaS web services under high concurrency. To address blocking I/O issues in the default Sync Worker model, we converted Gunicorn to Gevent Worker and applied Monkey Patching. Experimental results showed that while Sync Worker (workers=10) experienced response delays under multiple concurrent connections, Gevent Worker (workers=8, worker_connections=300) maintained stable response times even with 100 concurrent connections. Notably, we achieved a 78.1% response time improvement in a 50-user concurrent environment. By reducing the number of workers while increasing worker_connections, we achieved stable handling of more simultaneous connections, thereby accomplishing both memory efficiency and high concurrency. This study demonstrates a cost-effective optimization approach for achieving high concurrency with limited resources.
Zitieren
APA
Lee, H. I. (2026). Performance Optimization Study of Flask SaaS Web ServiceBased on Gunicorn Gevent Worker Model for High Concurrency. Korean Institute of Smart Media, 15(2), 142-150. https://doi.org/10.30693/smj.2026.15.2.142
Vancouver
Lee HI. Performance Optimization Study of Flask SaaS Web ServiceBased on Gunicorn Gevent Worker Model for High Concurrency. Korean Institute of Smart Media. 2026;15(2):142-150. doi:10.30693/smj.2026.15.2.142
BibTeX
@article{Lee2026,
author = {Lee, Hae In},
title = {Performance Optimization Study of Flask SaaS Web ServiceBased on Gunicorn Gevent Worker Model for High Concurrency},
journal = {Korean Institute of Smart Media},
year = {2026},
volume = {15},
number = {2},
pages = {142--150},
doi = {10.30693/smj.2026.15.2.142}
}
EUVIMED