Radoslav Petrov d71fab29d8 Java/dropwizard add jdbi implementation (#2882) 8 years ago
..
src d71fab29d8 Java/dropwizard add jdbi implementation (#2882) 8 years ago
README.md d71fab29d8 Java/dropwizard add jdbi implementation (#2882) 8 years ago
benchmark_config.json d71fab29d8 Java/dropwizard add jdbi implementation (#2882) 8 years ago
hello-world-jdbi-postgres.yml d71fab29d8 Java/dropwizard add jdbi implementation (#2882) 8 years ago
hello-world-mongo.yml d71fab29d8 Java/dropwizard add jdbi implementation (#2882) 8 years ago
hello-world-mysql.yml d71fab29d8 Java/dropwizard add jdbi implementation (#2882) 8 years ago
hello-world-postgres.yml d71fab29d8 Java/dropwizard add jdbi implementation (#2882) 8 years ago
pom.xml d71fab29d8 Java/dropwizard add jdbi implementation (#2882) 8 years ago
setup_jdbi_postgres.sh d71fab29d8 Java/dropwizard add jdbi implementation (#2882) 8 years ago
setup_mongo.sh 697e54bada Misc. Clean Up (#2773) 8 years ago
setup_mysql.sh 697e54bada Misc. Clean Up (#2773) 8 years ago
setup_postgresql.sh 697e54bada Misc. Clean Up (#2773) 8 years ago
source_code 934cde0d3e Added postgres test. 10 years ago

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

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