Replies: 1 comment 12 replies
-
My best guess at the moment is that might be related to |
Beta Was this translation helpful? Give feedback.
12 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For two projects I replaced uvicorn with uvloop with granian and my monitoring tools show an increase in memory usage. I am wondering if this is something I have to accept with granian - I don't know if it'll flatten out at some point - or if there is an underlying issue I might be able to help debug. Benchmarking is all about request numbers but does not mention any memory increase, so I suspect an issue.
Figures below are from 2 services running fastapi + pydantic + sqlalchemy.
service 1, graph is from 7 days:
cpu before (uvicorn)/after (granian)
requests before (uvicorn)/after (granian)
memory before (uvicorn)/after (granian)
service 2, graph is from 2 days:
cpu before (uvicorn)/after (granian)
requests before (uvicorn)/after (granian)
memory before (uvicorn)/after (granian)
Beta Was this translation helpful? Give feedback.
All reactions