Results of 1 - 3 of about 3 for workers (0.005 sec.)
- Server Workers - Gunicorn と Uvicorn 11886
- Server Workers - Gunicorn と Uvicorn 前回のデプロイメントのコンセプトを振り返ってみましょう: セキュリティ - HTTPS 起動時の実行 再起動 レプリケーション(実行中のプロセス数) メモリ 開始前の事前ステップ ここまでのドキュメントのチュートリアルで
...されます。 UvicornのワーカーとともにGunicornを実行する Gunicornを以下のように起動させることができます: $ gunicorn main:app --workers 4 --worker-class uvicorn.workers.UvicornWorker --bind 0 .0.0.0:80 [19499] [INFO] Starting gunicorn 20.1.0 [19499] [INFO] L...istening at: http://0.0.0.0:80 (19499) [19499] [INFO] Using worker: uvicorn.workers.UvicornWorker [19511] [INFO] Booting worker with pid: 19511 [19513] [INFO] Booting worker with pid: 19513 [19514] [INFO] B...ます: from main import app つまり、 main:app のコロンは、 from main import app のPythonの import の部分と同じになります。 --workers : 使用するワーカー・プロセスの数で、それぞれがUvicornのワーカーを実行します。 --worker-class : ワーカー・プロセスで使用する... - https://man.mtool.work/fastapi/0.115/deployment/server-workers/
- Release Notes 8389
- Release Notes Latest Changes 0.115.11 Fixes ? Add docs examples and tests (support) for Annotated custom validations, like AfterValidator , revert #13440 . PR #13442 by @tiangolo . New docs: Query Parameters and String Validations - Custom
.../deployment/manually.md . PR #12210 by @JoaoGustavoRogel . ? Add Portuguese translation for docs/pt/docs/deployment/server-workers.md . PR #12220 by @marcelomarkus . ? Add Portuguese translation for docs/pt/docs/how-to/configure-swagger-ui.md . PR #1222...n for docs/de/docs/features.md . PR #10284 by @nilslindemann . ? Add German translation for docs/de/docs/deployment/server-workers.md . PR #10747 by @nilslindemann . ? Add German translation for docs/de/docs/deployment/docker.md . PR #10759 by @nilslind...or docs/ko/docs/deployment/docker.md . PR #5657 by @nearnear . ? Add Korean translation for docs/ko/docs/deployment/server-workers.md . PR #4935 by @jujumilk3 . ? Add Korean translation for docs/ko/docs/deployment/index.md . PR #4561 by @jujumilk3 . ? A... - https://man.mtool.work/fastapi/0.115/release-notes/
- コンテナ内のFastAPI - Docker 7608
- コンテナ内のFastAPI - Docker FastAPIアプリケーションをデプロイする場合、一般的なアプローチは Linuxコンテナ・イメージ をビルドすることです。 基本的には Docker を用いて行われます。生成されたコンテナ・イメージは、いくつかの方法のいずれかでデプ
...メージ - Uvicorn 前の章で詳しく説明したように、Uvicornワーカーで動作するGunicornを含む公式のDockerイメージがあります: Server Workers - Gunicorn と Uvicorn で詳しく説明しています。 このイメージは、主に上記で説明した状況で役に立つでしょう: 複数のプロセスと特... - https://man.mtool.work/fastapi/0.115/deployment/docker/
PREV
1
NEXT