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

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