msmith-techempower aa94ac74a2 Fixed a bug with openresty 10 năm trước cách đây
..
README.md 5adeb2e489 Moving Lua frameworks 11 năm trước cách đây
app.lua ba3095511d openresty: max 500 queries 11 năm trước cách đây
bash_profile.sh aa94ac74a2 Fixed a bug with openresty 10 năm trước cách đây
benchmark_config 5adeb2e489 Moving Lua frameworks 11 năm trước cách đây
install.sh 38e3bfce16 Cleanup openresty 11 năm trước cách đây
nginx.conf d5ceb21483 lua: tune jit feature recommended by agentzh 10 năm trước cách đây
setup.sh bd5b1f3766 Fixed missing openresty setup 10 năm trước cách đây
source_code 5adeb2e489 Moving Lua frameworks 11 năm trước cách đây

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