dependabot[bot] 7705604992 Bump postgresql from 42.4.1 to 42.4.3 in /frameworks/Java/dropwizard 2 жил өмнө
..
src df0ae319ac Fix dropwizard postgres (#5371) 5 жил өмнө
README.md 9d6006c3dc [fi fw-only Java/dropwizard] update dependencies (#4082) 6 жил өмнө
benchmark_config.json df0ae319ac Fix dropwizard postgres (#5371) 5 жил өмнө
config.toml 0096f84ee9 Config for the new toolset (#6259) 4 жил өмнө
dropwizard-jdbi-postgres.dockerfile 0096f84ee9 Config for the new toolset (#6259) 4 жил өмнө
dropwizard-mongodb.dockerfile 0096f84ee9 Config for the new toolset (#6259) 4 жил өмнө
dropwizard-postgres.dockerfile 0096f84ee9 Config for the new toolset (#6259) 4 жил өмнө
dropwizard.dockerfile 0096f84ee9 Config for the new toolset (#6259) 4 жил өмнө
hello-world-jdbi-postgres.yml 319fc28d21 Java/dropwizard - Remove additional array creation in update test (#4852) 6 жил өмнө
hello-world-mongo.yml 0e1a9ef20a Explicitly set MongoDB connection parameters (#4097) 6 жил өмнө
hello-world-mysql.yml 7550fc9ff3 Update MySQL JDBC driver to 8.0.18 (#5225) 5 жил өмнө
hello-world-postgres.yml 380da427da Print runtime errors in dropwizard, update dependencies (#3595) 7 жил өмнө
pom.xml 7705604992 Bump postgresql from 42.4.1 to 42.4.3 in /frameworks/Java/dropwizard 2 жил өмнө

README.md

Dropwizard Benchmarking Test

Dropwizard - ops-friendly, high-performance, RESTful web services.

Mustashe tempate is used for the HTML tests. Test implementations with MongoDB, MySQL and PostgreSQL for backing datastore. Test implementations with Hibernate and JDBI as ORM frameworks, MongoJack for POJO to MongoDB document mapping.

Note: The Dropwizard Metrics are enabled and gathering data during the test runs.

Test sources

All test implementations share the same API end-points and POJO model classes. The API end-points are called resources in Dropwizard. This is the list:

Source code organisation

Test implementation Dropwizard Service class Dropwizard Configuration class Maven profile
MongoDB&MongoJack HelloMongoService.java HelloMongoConfiguration.java -P mongo
MySQL&Hibernate HelloWorldService.java HelloWorldConfiguration.java -P mysql
PostgreSQL&Hibernate HelloWorldService.java HelloWorldConfiguration.java -P postgres
PostgreSQL&JDBI HelloJDBIService.java HelloWorldConfiguration.java -P postgres,jdbi

Each implementation has its own set of .yml configuration file and shell script.

MongoDB

(MySQL or PostgreSQL) and Hibernate

The Updates test is using JDBC batch updates and manual transaction handling.

PostgeSQL and JDBI

Software Versions

The tests were run with:

Please check the versions in the install scripts of TFB project.

Test URLs

All implementations use the same URLs.

  • Plaintext - http://localhost:9090/plaintext
  • JSON - http://localhost:9090/json
  • DB - http://localhost:9090/db
  • Queries - http://localhost:9090/db?queries=
  • Updates - http://localhost:9090/db/update?queries=?
  • Fortune - http://localhost:9090/fortunes