msmith-techempower 0ab5d1cc2a More fixes for travis 10 năm trước cách đây
..
README.md 5adeb2e489 Moving Lua frameworks 11 năm trước cách đây
app.lua c63a52eb03 Improve correctness for queries 10 năm trước cách đây
benchmark_config.json c63a52eb03 Improve correctness for queries 10 năm trước cách đây
nginx.conf c63a52eb03 Improve correctness for queries 10 năm trước cách đây
setup.sh 0ab5d1cc2a More fixes for travis 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