bakins df9125d78d move connect string into function vor 12 Jahren
..
README.md a46cc5767a Add openresty benchmark vor 12 Jahren
__init__.py 99d241617a Modified installer to add openresty vor 12 Jahren
app.lua df9125d78d move connect string into function vor 12 Jahren
benchmark_config 99d241617a Modified installer to add openresty vor 12 Jahren
nginx.conf 72b25ea3c2 use a Lua module and localize functions vor 12 Jahren
setup.py 99d241617a Modified installer to add openresty vor 12 Jahren

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