I am struggling the memory.
Any advice would be helpful!
I am using Gunicorn – Uvicorn – FastAPI with Postgresql(RDS) through Sqlalchemy and Redis.
Aiohttp is used for external request.
And python Dependency Injection is heavily used.
App is running on ec2 medium(vCPU: 2) with 3 worker on docker compose.
I am trying memory profiling through memray, but I could not pinpoint the issue on my local, I will trying on EC2.
I updated most package except pydantic(1.10.13)