msmith-techempower aa94ac74a2 Fixed a bug with openresty il y a 10 ans
..
README.md 5adeb2e489 Moving Lua frameworks il y a 11 ans
app.lua ba3095511d openresty: max 500 queries il y a 11 ans
bash_profile.sh aa94ac74a2 Fixed a bug with openresty il y a 10 ans
benchmark_config 5adeb2e489 Moving Lua frameworks il y a 11 ans
install.sh 38e3bfce16 Cleanup openresty il y a 11 ans
nginx.conf d5ceb21483 lua: tune jit feature recommended by agentzh il y a 11 ans
setup.sh bd5b1f3766 Fixed missing openresty setup il y a 11 ans
source_code 5adeb2e489 Moving Lua frameworks il y a 11 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