Michael Hixson 7eceb61271 Dockerize more Java frameworks (#3366) пре 7 година
..
src 49b1954360 [ci fw-only Java/dropwizard] Implement updates batch and manual transaction handling. Fixes #3224 (#3232) пре 7 година
README.md 49b1954360 [ci fw-only Java/dropwizard] Implement updates batch and manual transaction handling. Fixes #3224 (#3232) пре 7 година
benchmark_config.json 7eceb61271 Dockerize more Java frameworks (#3366) пре 7 година
dropwizard-jdbi-postgres.dockerfile 7eceb61271 Dockerize more Java frameworks (#3366) пре 7 година
dropwizard-mongodb.dockerfile 7eceb61271 Dockerize more Java frameworks (#3366) пре 7 година
dropwizard-postgres.dockerfile 7eceb61271 Dockerize more Java frameworks (#3366) пре 7 година
dropwizard.dockerfile 7eceb61271 Dockerize more Java frameworks (#3366) пре 7 година
hello-world-jdbi-postgres.yml d71fab29d8 Java/dropwizard add jdbi implementation (#2882) пре 8 година
hello-world-mongo.yml d71fab29d8 Java/dropwizard add jdbi implementation (#2882) пре 8 година
hello-world-mysql.yml 6fd55b6f0f Revert Jetty configuration change (#3309) пре 7 година
hello-world-postgres.yml 49b1954360 [ci fw-only Java/dropwizard] Implement updates batch and manual transaction handling. Fixes #3224 (#3232) пре 7 година
pom.xml 62d89ea2a5 Update dropwizard's dependencies (#3109) пре 7 година
source_code 934cde0d3e Added postgres test. пре 10 година

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 confirm the versions data with the latest 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