Skip to content

uken/webflux-vertx-benchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

webflux-vertx-benchmark

Build & Run vert.x

cd vertx mvn package java -jar ./target/vertx-fat.jar

Build & Run webflux

cd webflux mvn package java -jar ./target/webflux-0.0.1-SNAPSHOT.jar

Build & Run netty

The project is only compatible with Linux system(using epoll) cd netty mvn package java -jar ./target/netty-0.0.1-SNAPSHOT.jar

There will be three endpoints for each service:

(POST)/json , will echo what ever json from body to the response

(POST)/text , will echo what ever text from body to the response

(GET)/get_text , will send "hello" text to the response

Result

wrk -d60s -t30 -c100 -R 500000 -s post.lua http://xxxxx/text

On single wrk instance, single http server working thread VERTX 91K/s WEBFLUX 20K/s NETTY 100K/s

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages