Skip to content

benchmarking node.js cluster module for multi-core performance

Notifications You must be signed in to change notification settings

gotchacode/nodejs-cluster-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Benchmarking multicore Node.js

A very simple node.js server trying to benchmark single-core vs multi-core performance

Benchmark single core

node singlecore.js
ab -n 10000 -c 100  http://127.0.0.1:8000/

Benchmark Multi core

node multicore.js
ab -n 10000 -c 100  http://127.0.0.1:8000/

Benchmark Go

go run main.go
ab -n 10000 -c 100  http://127.0.0.1:8000/

Benchamark aiohttp Python3

python server.py
ab -n 10000 -c 100  http://127.0.0.1:8000/

About

benchmarking node.js cluster module for multi-core performance

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published