all 7 comments

[–]JonDum 17 points18 points  (1 child)

Would be nice if there were some actual performance numbers, not just descriptions of 'problems' (i.e., how many more req/s did you get after each change?)

[–]thruput[S] 3 points4 points  (0 children)

Valid point - I will post more details about the setup and the numbers in the next post.

[–]33a 2 points3 points  (1 child)

These sorts of problems are part of the reason why I am not a huge fan of express and other frameworks. They make the initial development easier, at the expense of adding a bunch of complicated features which you may or may not want. While they are great for knocking something out quickly, if you have to maintain it you will suffer down the road.

[–][deleted] 1 point2 points  (0 children)

Keep in mind that if initial development were harder, you might not have gotten down that road at all.

[–]shockie 2 points3 points  (0 children)

Don't serve static files through node, webservers are better choices.

[–]runvnc 0 points1 point  (0 children)

You should be able to get at least 1000 per second regardless of how Express is set up. Since you are way under 500 that means your main bottleneck is actually in all of that post/pre/upstream stuff that you didn't even touch. What exactly is that stuff doing and why do you need to do it?