Gunicornは、PythonのWeb Server Gateway Interface(WSGI)を実装するHTTPサーバーである。Gunicornは「GreenUnicorn」の略称であり、jee-unicornまたはgun-i-cornと発音する[2]。RubyのUnicorn(英語版)プロジェクトから移植された、プリフォークのワーカーモデルを使用している。Gunicornサーバーは、多数のWebフレームワークと広く互換性があり、実装がシンプルで、サーバーリソースが少なく、かなり高速に動作する[3]。
アーキテクチャ
サーバーモデルは次の要素から構成されている。
- ワーカーを管理するCentral Master Process
- ワーカープロセスによって処理されるリクエスト
- コンポーネント
- Master
- Syncワーカー
- Asyncワーカー
- Tornadoワーカー
- AsyncIOワーカー
特徴
関連項目
出典
外部リンク