|
4 years ago | |
---|---|---|
.. | ||
resources | 7 years ago | |
src | 7 years ago | |
Procfile | 7 years ago | |
README.md | 7 years ago | |
benchmark_config.json | 7 years ago | |
config.toml | 4 years ago | |
duct-aleph.dockerfile | 4 years ago | |
duct-httpkit.dockerfile | 4 years ago | |
duct-immutant.dockerfile | 4 years ago | |
duct-mongodb.dockerfile | 4 years ago | |
duct.dockerfile | 7 years ago | |
profiles.clj | 7 years ago | |
project.clj | 6 years ago |
Implementation of the benchmark using the Clojure Duct framework.
The tests were run with these versions:
:dependencies [[org.clojure/clojure "1.9.0"]
[duct/core "0.6.2"]
[duct/module.logging "0.3.1"]
[duct/module.web "0.6.4"]
[duct/module.ataraxy "0.2.0"]
[duct/module.sql "0.4.2"]
[duct/handler.sql "0.3.1"]
[duct/database.sql.hikaricp "0.3.3"]
[hiccup "1.0.5"]
; alternate servers
[duct/server.http.http-kit "0.1.2"]
[duct/server.http.aleph "0.1.2"]
[me.grison/duct-immutant "0.1.0"]
; tested databases
[org.postgresql/postgresql "42.1.4"]
[me.grison/duct-mongodb "0.1.1"]]
See project.clj for more information.
For the moment it test both PostgreSQL and MongoDB.
Implementation for Jetty, Aleph, HTTP-Kit and Immutant are part of this project.
http://localhost:3000/plaintext
http://localhost:3000/db http://localhost:3000/db-mongo
http://localhost:3000/queries?queries= http://localhost:3000/queries-mongo?queries=
http://localhost:3000/fortunes http://localhost:3000/fortunes-mongo