Hamilton Turner fc1d35470c Fixing obvious fw_depends errors in install.sh files 11 years ago
..
README.md a46cc5767a Add openresty benchmark 12 years ago
__init__.py 99d241617a Modified installer to add openresty 12 years ago
app.lua b1615d5080 Remove braces around single query 12 years ago
benchmark_config 2a0aacbb38 Refactor benchmark_configs 12 years ago
install.sh fc1d35470c Fixing obvious fw_depends errors in install.sh files 11 years ago
nginx.conf a25f6bae8a 690 deleted superfluous nginx directive in conf 11 years ago
setup.py d9678ff22e 18938 Passing the error log to the test start/stop 12 years ago
source_code 66e46ee08e codeLineCount Create source_code file for each framework. Modify count_sloc to use gather_frameworks instead of a large list 12 years ago

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