|
há 7 anos atrás | |
---|---|---|
.. | ||
src | há 8 anos atrás | |
README.md | há 7 anos atrás | |
benchmark_config.json | há 7 anos atrás | |
hello-world-jdbi-postgres.yml | há 8 anos atrás | |
hello-world-mongo.yml | há 8 anos atrás | |
hello-world-mysql.yml | há 7 anos atrás | |
hello-world-postgres.yml | há 8 anos atrás | |
pom.xml | há 7 anos atrás | |
setup_jdbi_postgres.sh | há 8 anos atrás | |
setup_mongo.sh | há 8 anos atrás | |
setup_mysql.sh | há 8 anos atrás | |
setup_postgresql.sh | há 8 anos atrás | |
source_code | há 10 anos atrás |
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 tests were run with:
Please confirm the versions data with the latest 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