Skip to content

Node.js working_threads multi-threading test. ES6 syntax, gulp

Notifications You must be signed in to change notification settings

xpopov/nodejs-working-threads-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

This is to prove Node.js multi-threading capabilities. You can see that Node.js run 10 threads per each HTTP thread and they are not blocking each others.

Building and running

npm install

npm start

Server will start listening on 8080 port

Testing

You can test in the browser, or with multi-thread URL request tool like Siege. For example,

siege -c 3 -v https://localhost:8080

Conclusion

It works. Need to take care about long time operations. Probably need to return processing Id and refresh its status via API, then show the results of processing.

About

Node.js working_threads multi-threading test. ES6 syntax, gulp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published