Skip to content

Comment on Handling 100 Requests per Second with Python and Django

Comments

Coming from a node.js world, I thought they meant 100k and the title had a typo.

Is the difference really that big? TechEmpower's benchmarks [1] shows express being a few times faster than Django, but it's an order of magnitude at most. You're talking about 4 orders of magnitude. Is it something that's not well covered by benchmarks?

[1]: https://www.techempower.com/benchmarks/#section=data-r20&hw=...

More than likely there is some other factor disturbing the performance here.

100/s is slow

It would be nice if python could get the same amount of effort put in to performance as JavaScript did.

But in this case the interpreter speed is largely irrelevant. This is a complex project and more than half the response time is spent waiting for the database (which is C++, not that it matters either)

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.