Michael Hixson b472c2f4dd Remove source_code files, count all files instead (#3715) пре 7 година
..
README.md 5adeb2e489 Moving Lua frameworks пре 11 година
app.lua 3a21563d53 Attempt to fix Lua hostname issues (#3481) пре 7 година
benchmark_config.json 97ba6b2f91 Docker lua (#3436) пре 7 година
nginx.conf 97ba6b2f91 Docker lua (#3436) пре 7 година
openresty.dockerfile d018a0df30 Lua/* use buildpack-deps as base (#3579) пре 7 година

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