OpenResty is a full-fledged web platform by integrating the standard Nginx core, LuaJIT, many carefully written Lua libraries, lots of high quality 3rd-party Nginx modules, and most of their external dependencies- openresty.org
It is designed to help developers easily build scalable web applications, web services, and dynamic web gateways. See Installing OpenResty on OSX
By taking advantage of various well-designed Nginx modules (most of which are developed by the OpenResty team themselves), OpenResty effectively turns the nginx server into a powerful web app server, in which the web developers can use the Lua programming language to script various existing nginx C modules and Lua modules and construct extremely high-performance web applications that are capable to handle 10K ~ 1000K+ connections in a single box. OpenResty aims to run your server-side web app completely in the Nginx server, leveraging Nginx's event model to do non-blocking I/O not only with the HTTP clients, but also with remote backends like MySQL, PostgreSQL, Memcached, and Redis. Real-world applications of OpenResty range from dynamic web portals and web gateways, web application firewalls, web service platforms for mobile apps/advertising/distributed storage/data analytics, to full-fledged dynamic web applications and web sites. The hardware used to run OpenResty also ranges from very big metals to embedded devices with very limited resources. It is not uncommon for our production users to serve billions of requests daily for millions of active users with just a handful of machines. OpenResty is not an Nginx fork. It is just a software bundle. Most of the patches applied to the Nginx core in OpenResty have already been submitted to the official Nginx team and most of the patches submitted have also been accepted. We are trying hard not to fork Nginx and always to use the latest best Nginx core from the official Nginx team.
# Use with Livecode Server
This configuration looks promising - nabble
root@pierre-X200CA:/home/pierre# siege -b -c 100 -r 50 -q http://192.168.1.15/lua done. Transactions: 5000 hits Availability: 100.00 % Elapsed time: 0.69 secs Data transferred: 0.65 MB Response time: 0.01 secs Transaction rate: 7246.38 trans/sec Throughput: 0.94 MB/sec Concurrency: 52.52 Successful transactions: 5000 Failed transactions: 0 Longest transaction: 0.37 Shortest transaction: 0.00 code : ngx.say("<br /><p align='center'>Hello World from Openresty "..ngx.config.nginx_version.." / Ngx.Lua "..ngx.config.ngx_lua_version.." !</p><p align='center'>on "..ngx.localtime().." +0100 ("..ngx.var.server_port..")</p> ") configuration : eeePC Asus X200CA Ubuntu 14.04, Openresty 1.9.7.2 (Lua 5.1.a, LuaJIT 2.1) + ngx.lua script