dependabot[bot] 68be1eed70 Bump mysql-connector-java in /frameworks/Java/spark 3 jaren geleden
..
src 7550fc9ff3 Update MySQL JDBC driver to 8.0.18 (#5225) 5 jaren geleden
README.md 41441237c0 - Upgrade spark, hibernate and gson version (#4034) 6 jaren geleden
benchmark_config.json 41441237c0 - Upgrade spark, hibernate and gson version (#4034) 6 jaren geleden
config.toml 0096f84ee9 Config for the new toolset (#6259) 4 jaren geleden
pom.xml 68be1eed70 Bump mysql-connector-java in /frameworks/Java/spark 3 jaren geleden
spark.dockerfile 0096f84ee9 Config for the new toolset (#6259) 4 jaren geleden

README.md

Spark Benchmarking Test

This is the Spark portion of a benchmarking test suite comparing a variety of web development platforms. The test utilizes Spark routes, Gson for JSON serialization, Hibernate for ORM and mustache templates rendering. HikariCP is used for connection pooling, using up to 2*cores count. See pool sizing

Tests

Infrastructure Software Versions

Different test setups

  • Local environment with Spark's built in embedded jetty (port=8080, context=/)

Test URLs

JSON Encoding Test

http://localhost:8080/json

Database Test

http://localhost:8080/db

Query Test

http://localhost:8080/db?queries=5

Update Test

http://localhost:8080/updates?queries=5

Fortune cookie Test

http://localhost:8080/fortunes

Plain Text Test

http://localhost:8080/plaintext