Skip to content

Implementations of async HTTP servers in NodeJS & Netty for comparison

Notifications You must be signed in to change notification settings

amr/hacks-async-http

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

What?

These are two pretty quick and hopefully equally featured implementations of event-based aync I/O HTTP servers written with 2 different server frameworks:

  • NodeJS
  • Netty

Why?

For comparison and benchmarks.

How to run?

NodeJS Server

You need to have node installed. Then:

node node/http-server.js

The node-based HTTP server is now listening on port 8080.

Netty Server

You need to have the JVM and Maven installed. Then:

cd netty-http-server/
mvn dependency:copy-dependencies
mvn package
cd target/
java -jar netty-http-server-VERSION_HERE.jar

THe netty-based HTTP server is now listening on port 9090.

About

Implementations of async HTTP servers in NodeJS & Netty for comparison

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published