Hacker News new | ask | show | jobs
by stackskipton 242 days ago
We have similar at work, 3.14 should just be a Dockerfile change away.

FastAPI might improve your performance by a little but seriously, either PyPy or rewriting into compiled language.

1 comments

I did some quick tests increasing workers=2 and workers=3 and requests per second nearly scaled linearly so seems just throwing more CPU cores is the quick answer in the mid-term.