Live data from Hacker News

Another Django vs Express HTTP benchmark

github.com

1–3 of 3 posts

Re: Another Django vs Express HTTP benchmark

#2
I would have preferred to see the test with both apps running the same DB for consistency, as to output in JSON format, Django would need to convert the table results into JSON while MongoDB would have returned the results in JSON format.

At the same time, I also expected Django to handily outperform Express. This makes me happy that I started building my most recent app in Express two days ago.

Re: Another Django vs Express HTTP benchmark

#3

I would have preferred to see the test with both apps running the same DB for consistency, as to output in JSON format, Django would need to convert the table results into JSON while MongoDB would have returned the results in JSON format. At the same time, I also expected Django to handily outperform Express. This makes me happy that I started building my most recent app in Express two days ago.

The reason why I paired Express with Mongo is people seems to go with that route. I also made a scenario for both apps to convert the data returned from the DB by transforming the object structure first before delivering it as JSON.

Anyway I find Django code seems to be more maintainable.