Patrick Falls 18b0fca9ef Modified installer to add openresty 12 yıl önce
..
README.md a46cc5767a Add openresty benchmark 12 yıl önce
__init__.py 18b0fca9ef Modified installer to add openresty 12 yıl önce
app.lua a46cc5767a Add openresty benchmark 12 yıl önce
benchmark_config 18b0fca9ef Modified installer to add openresty 12 yıl önce
nginx.conf 18b0fca9ef Modified installer to add openresty 12 yıl önce
setup.py 18b0fca9ef Modified installer to add openresty 12 yıl önce

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