Nate 698f5dde17 keep framework names consistent casing há 7 anos atrás
..
src d71fab29d8 Java/dropwizard add jdbi implementation (#2882) há 8 anos atrás
README.md e32f117bdd Bump postgrejdbc and Servlet library versions, update README.md files (#3171) há 7 anos atrás
benchmark_config.json 698f5dde17 keep framework names consistent casing há 7 anos atrás
hello-world-jdbi-postgres.yml d71fab29d8 Java/dropwizard add jdbi implementation (#2882) há 8 anos atrás
hello-world-mongo.yml d71fab29d8 Java/dropwizard add jdbi implementation (#2882) há 8 anos atrás
hello-world-mysql.yml 34123609ff Adjust max pending requests configuration for Dropwizard (#3175) há 7 anos atrás
hello-world-postgres.yml d71fab29d8 Java/dropwizard add jdbi implementation (#2882) há 8 anos atrás
pom.xml 62d89ea2a5 Update dropwizard's dependencies (#3109) há 7 anos atrás
setup_jdbi_postgres.sh d71fab29d8 Java/dropwizard add jdbi implementation (#2882) há 8 anos atrás
setup_mongo.sh 697e54bada Misc. Clean Up (#2773) há 8 anos atrás
setup_mysql.sh 697e54bada Misc. Clean Up (#2773) há 8 anos atrás
setup_postgresql.sh 697e54bada Misc. Clean Up (#2773) há 8 anos atrás
source_code 934cde0d3e Added postgres test. há 10 anos atrás

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