|
3 rokov pred | |
---|---|---|
.. | ||
src | 5 rokov pred | |
README.md | 6 rokov pred | |
benchmark_config.json | 5 rokov pred | |
config.toml | 4 rokov pred | |
dropwizard-jdbi-postgres.dockerfile | 4 rokov pred | |
dropwizard-mongodb.dockerfile | 4 rokov pred | |
dropwizard-postgres.dockerfile | 4 rokov pred | |
dropwizard.dockerfile | 4 rokov pred | |
hello-world-jdbi-postgres.yml | 6 rokov pred | |
hello-world-mongo.yml | 6 rokov pred | |
hello-world-mysql.yml | 5 rokov pred | |
hello-world-postgres.yml | 7 rokov pred | |
pom.xml | 3 rokov pred |
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.
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:
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.
The Updates
test is using JDBC batch updates and manual transaction handling.
The tests were run with:
Please check the versions in the install scripts of TFB project.
All implementations use the same URLs.
http://localhost:9090/plaintext
http://localhost:9090/json
http://localhost:9090/db
http://localhost:9090/db?queries=
http://localhost:9090/db/update?queries=?
http://localhost:9090/fortunes