This is the Java Servlet portion of a benchmarking test suite comparing a variety of web development platforms.
There is a Servlet 3.1 based tests implementation in the servlet3 sub-folder. It is using Tomcat 9 as Servlet containter.
- Plaintext test source
- JSON test source
- JSON test source with Jackson Afterburner module
- JSON test source with custom Jackson serialization
- DB test source
- Queries test source
- Updates test source - using
batch updates - Fortune test source
DB, Queries and Fortune use the same implementation as MySQL.
- Updates test source - not using
batch updatesdue to transaction deadlocks - Cache test source
The tests were run with:
Please confirm the versions data with the latest install scripts of TFB project.
- Plaintext -
http://localhost:8080/plaintext - JSON -
http://localhost:8080/json
- JSON -
http://localhost:8080/json
- JSON -
http://localhost:8080/json
- DB -
http://localhost:8080/db - Queries -
http://localhost:8080/db?queries= - Updates -
http://localhost:8080/update?queries= - Fortune -
http://localhost:8080/fortunes
- Cache -
http://localhost:8080/cached-worlds