- Jersey on Grizzly (grizzly-jersey)
- Jersey on Netty (netty-jersey)
- Jersey on Tomcat (tomcat-jersey)
- RestEasy on Undertow (undertow-resteasy)
- RestEasy on Netty (netty-resteasy)
- RestEasy on Tomcat (tomcat-resteasy)
- Jersey Reactive Resource - Jersey does not have support for RxJava and is implemented with Completable
- RESTEasy Reactive Resource - RESTEasy does have pluggable support for RxJava (using resteasy-rxjava2) and is implemented with Single
- Synced Resource
$ maven package
$ java -jar (implementation)/target/(implementation).jar
$ java -jar grizzly-jersey/target/undertow-resteasy.jar
METHOD | ENDPOINT | DESCRIPTION |
---|---|---|
GET | /async/{userID} | Get user from database |
GET | /async/{userID}/{name}/{phoneNumber} | Create user |
GET | /sync/{userID} | Get user from database (synced) |
GET | /sync/{userID}/{name}/{phoneNumber} | Create user (synced) |
Use your tool of choice like wrk or JMeter
$ wrk -t12 -c400 -d30s https://127.0.0.1:8080/user/jaryl/Jaryl%20Chng/01189998819991197253