Re:Django plugins you shouldn't start without
by est on Sunday November 03, 2013 @06:33AM
(#6662849)
You are comparing a Web framework (Django) with a language+network runtime (Nodejs).
The Nodejs web framework is Express, behind Bottle and Falcon.
Re:Django plugins you shouldn't start without
by jsmeaton on Sunday November 03, 2013 @04:22PM
(#6665134)
Oh, I see. But "python" wasn't represented, which confused me. There is still a large discrepancy between the different frameworks in the javascript and python set.
But the original point was that database and I/O make the largest difference. After restricting the set of languages and frameworks to python and javascript, I can only (now) agree.
109,000-5700 rps for JSON requests, and 4800-117 rps for multiple database queries. Quite significant.
I can't find what you're referring to. Node was still infront of Django in the JSON benchmark.
Django (until 1.6) hasn't had connection pooling for the database either. Updating those benchmarks with pooling should make significant differences.
But my point was that the framework itself can have a huge impact. Database and other I/O does have overhead, and it may even be significant. But it's not necessarily the biggest factor.