winterjung / JungWinter.github.io

Moved to winterjung/blog repo
https://winterjung.dev
MIT License
2 stars 2 forks source link

gunicorn으로 flask에서 동시에 여러 요청 처리하기 – WinterJ Blog #7

Open utterances-bot opened 6 years ago

utterances-bot commented 6 years ago

gunicorn으로 flask에서 동시에 여러 요청 처리하기 – WinterJ Blog

Pythonic Blog

https://winterj.me/flask-concurrency-test/

JuneBuug commented 6 years ago

안녕하세요 겨울님, 포스팅 잘 보았습니다. 다름이 아니라 중간에 작성된 blocking_flask.py 링크가 작동하지 않습니다.

여타 링크도 만료된 듯하네요. 검토해주시면 감사하겠습니다.

winterjung commented 6 years ago

@JuneBuug 늦게 확인했네요. 알려주셔서 감사합니다! https://github.com/JungWinter/JungWinter.github.io/commit/a07968da3f4c884efecbccfa038157d3516f3656 커밋으로 URL을 수정했습니다. ^^

SELO77 commented 5 years ago

gunicorn 에서 threads 옵션은 워커타입을 gthread 로 설정되어있을때만 영향을 받는걸로 알고 있습니다.

http://docs.gunicorn.org/en/stable/settings.html#worker-class