2 ms·
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.
by ummonk 7y 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.
- postpawl 7y agoFor 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.
- celticmusic 7y agoor maybe you should consider using C++, C#, Java, et al instead?
- pnako 7y agoi.e. "maybe do it anywhere else than in Python"