Nate 0096f84ee9 Config for the new toolset (#6259) 4 years ago
..
app 9d2dfe5413 add octopus lua benchmark (#2328) 8 years ago
README.md 9d2dfe5413 add octopus lua benchmark (#2328) 8 years ago
benchmark_config.json 623418289e Some QoL Stuff (#5604) 5 years ago
config.lua 6fce84a278 WIP: Dockerify everything (#3457) 7 years ago
config.toml 0096f84ee9 Config for the new toolset (#6259) 4 years ago
octopus.dockerfile 0096f84ee9 Config for the new toolset (#6259) 4 years ago

README.md

Octopus (Nginx + LuaJIT) Benchmark Test

The test lua app is inside app directory. The configuration is in config.lua. Clones, compiles and runs nginx with ngx_lua module, see openresty.org. Prerequisites: libssl-dev gcc g++ build-essential. Requires git. Requires postgresql hostname specified as IP address, if not possible then add resolver conf to config.lua. The Octopus benchmark is using its ORM, and no raw queries.

Test URLs

Plaintext URL

http://localhost:8080/plaintext

JSON Encoding

http://localhost:8080/json

Single Row Random Query

http://localhost:8080/db

Multiple Row Query Test

http://localhost:8080/queries?queries=2

Fortune URL

http://localhost:8080/fortunes

DB Updates URL

http://localhost:8080/update?queries=2