4 ms·
Would it be an interesting idea to create a framework for making webapps as nginx modules? Sure, it's a pain in the ass, but nginx is evented as opposed to thre
by antihero 13y ago
Would it be an interesting idea to create a framework for making webapps as nginx modules? Sure, it's a pain in the ass, but nginx is evented as opposed to thread pooled, and tried and tested. Because nginx takes up hardly any memory, you could run a single nginx instance and proxy to other nginx instances that are compiled purely to run the app.
Though the scope for creating critical vulnerabilities is huge.
- FuzzyDunlop 13y agoThat sounds like OpenResty: http://openresty.org http://openresty.org
- eric_bullington 13y agoThere is such a framework: openresty http://openresty.org/ http://openresty.org/ It uses a wide range of 3rd-party nginx modules, and Lua as a scripting language, to form a nice little framework. Extraordinarily fast by any standards.
- fcambus 13y agoLapis is also worth mentioning : http://leafo.net/lapis/ http://leafo.net/lapis/ Lapis is a framework for building web applications using MoonScript (or Lua) that runs inside of a customized version of Nginx called OpenResty.
- antihero 13y agoThat looks really interesting, thanks.
- readme 13y agoTrying that out now myself. It's OK but has a long way to go if it is to compete with the current platforms dujour.