You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 24, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 24, 2026. It is now read-only.
NodeJS is single threaded, Java Servlet is multi-threaded: wrong NodeJS results? #25
In real, nodeJS apps run with cluster. Cluster helps NodeJS to utilize processor cores.
A Java servlet is typically multithreaded. That means, multiple requests to the same servlet will be executed at the same time.
Activity
jameswyse commentedon Mar 29, 2013
I thought this too at first but it looks like both the nodejs and express benchmarks do actually use cluster, with a worker for each available core?
patoi commentedon Mar 29, 2013
I've checked nodejs code. It seems to be fine and cluster works.
Other option: Ubuntu has an ulimit, default value (ulimit -n -> 1024) is very low, when you do performance test.
Fix an uncaught exception during dart startup
Fix an uncaught exception during dart startup (#3640)
Merge pull request #25 from TechEmpower/master