This is the code samples used for my blog series https://deepu.tech/concurrency-in-modern-languages/
The benchmarks were run using ApacheBench
cd javaws && java src/JavaHTTPServer.java
# in a new terminal
ab -c 100 -n 10000 http://localhost:8080/
cd gows && go run main.go
# in a new terminal
ab -c 100 -n 10000 http://localhost:8080/
cd rustws_async && cargo run --release
# in a new terminal
ab -c 100 -n 10000 http://localhost:8080/
cd jsws && node main.js
# in a new terminal
ab -c 100 -n 10000 http://localhost:8080/
cd tsws && deno run --allow-all main.ts
# in a new terminal
ab -c 100 -n 10000 http://localhost:8080/