Brittany Mazza 2ee1133c4e Add .json to benchmark_config, Resolve TechEmpower/FrameworkBenchmarks#1095 10 years ago
..
README.md 5adeb2e489 Moving Lua frameworks 11 years ago
app.lua ba3095511d openresty: max 500 queries 11 years ago
benchmark_config.json 2ee1133c4e Add .json to benchmark_config, Resolve TechEmpower/FrameworkBenchmarks#1095 10 years ago
install.sh 38e3bfce16 Cleanup openresty 11 years ago
nginx.conf d5ceb21483 lua: tune jit feature recommended by agentzh 10 years ago
setup.sh 8daa134dca remove bash_profile.sh from openresty. Also updated reference to openresety 10 years ago
source_code 5adeb2e489 Moving Lua frameworks 11 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