Hacker News new | ask | show | jobs
by ummonk 2367 days ago
From what I’ve seen in production environments, Python has an uncanny ability to take tasks that should be IO- / server- bound and make them CPU-bound.
1 comments

For sure, but often that’s a sign that you’re doing it wrong. Maybe those aggregations should be done in the database, maybe it should be cached, maybe you should do that in bulk with one request, maybe it should run in the background anyway, etc.
or maybe you should consider using C++, C#, Java, et al instead?
i.e. "maybe do it anywhere else than in Python"