Joan Miquel 21ccc37186 [openresty] Update to v1.19.9.1 (#6921) 3 years ago
..
README.md 5adeb2e489 Moving Lua frameworks 11 years ago
app.lua 3a21563d53 Attempt to fix Lua hostname issues (#3481) 7 years ago
benchmark_config.json 97ba6b2f91 Docker lua (#3436) 7 years ago
config.toml 0096f84ee9 Config for the new toolset (#6259) 4 years ago
nginx.conf bb74b90bab Update Openresty (#6089) 4 years ago
openresty.dockerfile 21ccc37186 [openresty] Update to v1.19.9.1 (#6921) 3 years ago

README.md

Openresty (Nginx + Lua(jit) Benchmark Test

The lua app is inside app.lua The nginx conf is inside nginx.conf Requires a nginx compiled with ngx_lua module, see openresty.org

Requires mysql hostname specified as IP address, if not possible then add resolver conf to nginx.conf.

Test URLs

JSON Encoding

http://localhost:8080/json

Single Row Random Query

http://localhost:8080/db

Variable Row Query Test

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