|
9 gadi atpakaļ | |
---|---|---|
.. | ||
app | 9 gadi atpakaļ | |
.gitignore | 9 gadi atpakaļ | |
README.md | 9 gadi atpakaļ | |
benchmark_config.json | 9 gadi atpakaļ | |
config.lua | 9 gadi atpakaļ | |
setup.sh | 9 gadi atpakaļ |
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.
http://localhost:8080/plaintext
http://localhost:8080/queries?queries=2
http://localhost:8080/fortunes