Mikael Lindberg b1615d5080 Remove braces around single query 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 11 years ago
benchmark_config 2a0aacbb38 Refactor benchmark_configs 12 years ago
nginx.conf acc9636830 Add resolver 11 years ago
setup.py d9678ff22e 18938 Passing the error log to the test start/stop 11 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