Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 馃幐 use only one uvicorn worker per api pod #317

Merged
merged 2 commits into from
May 30, 2022
Merged

Conversation

severo
Copy link
Collaborator

@severo severo commented May 30, 2022

This way: /metrics gives adequate metrics about the starlette app
(requests), since it does not depend on the specific uvicorn worker
responding the request. See
#250 (comment)

This way: /metrics gives adequate metrics about the starlette app
(requests), since it does not depend on the specific uvicorn worker
responding the request. See
#250 (comment)
because one of the api pod had crashed:

```
NAME                                                          READY   STATUS    RESTARTS        AGE
datasets-server-prod-admin-76f48bff9b-pmrpz                   1/1     Running   0               6d
datasets-server-prod-api-5845cc9ccf-5rdj8                     1/1     Running   0               3m7s
datasets-server-prod-api-5845cc9ccf-9wt4v                     1/1     Running   0               3m7s
datasets-server-prod-api-5845cc9ccf-bdbnp                     1/1     Running   0               3m2s
datasets-server-prod-api-5845cc9ccf-bkxrq                     1/1     Running   1 (2m24s ago)   3m2s
```
@severo severo merged commit 0d1e355 into main May 30, 2022
@severo severo deleted the one-uvicorn-worker branch May 30, 2022 10:30
@severo severo mentioned this pull request Aug 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant