msmith-techempower aa94ac74a2 Fixed a bug with openresty 10 лет назад
..
README.md 5adeb2e489 Moving Lua frameworks 11 лет назад
app.lua ba3095511d openresty: max 500 queries 11 лет назад
bash_profile.sh aa94ac74a2 Fixed a bug with openresty 10 лет назад
benchmark_config 5adeb2e489 Moving Lua frameworks 11 лет назад
install.sh 38e3bfce16 Cleanup openresty 11 лет назад
nginx.conf d5ceb21483 lua: tune jit feature recommended by agentzh 11 лет назад
setup.sh bd5b1f3766 Fixed missing openresty setup 11 лет назад
source_code 5adeb2e489 Moving Lua frameworks 11 лет назад

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