Keenan Brock 66a40fb18f mruby setup script 10 years ago
..
README.md 5f50daf1a2 inital take on nginx_mruby 10 years ago
__init__.py 5f50daf1a2 inital take on nginx_mruby 10 years ago
db.rb 5f50daf1a2 inital take on nginx_mruby 10 years ago
fortune.rb 5f50daf1a2 inital take on nginx_mruby 10 years ago
install.sh 5f50daf1a2 inital take on nginx_mruby 10 years ago
nginx.conf 66a40fb18f mruby setup script 10 years ago
queries.rb 66a40fb18f mruby setup script 10 years ago
setup.py 66a40fb18f mruby setup script 10 years ago
source_code 66a40fb18f mruby setup script 10 years ago
updates.rb 66a40fb18f mruby setup script 10 years ago

README.md

nginx + mruby Benchmark Test

The nginx app is inside app.rb The nginx conf is inside nginx.conf Requires a nginx compiled with ngx_mruby module

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

Based upon the openresty implementation.