I need to find a very compact, cross-platform web server that can run Lua scripts, ie. either a regular web server like Mongoose that will forward queries to a Lua program in eg. FastCGI, or a web server itself written in Lua which will save the need to provide a separate web server.
I recently started learning about Lua so am still in the dark about what is available out there, save for the two I came across:
Xavante - Lua HTTP 1.1 Web server
Haserl
If someone's already done this recently, what solution would you recommend along with any tutorial/article that would get me started?
There's also a new project from Zed Shaw called mongrel2 that has Lua support via another project (also by Zed) called Tir, bound to mongrel2 via a ZeroMQ bus. (mongrel2.org, tir.mongrel2.org). It's not as mature as the Lua nginx project but it does provide for dedicated Lua processes and significant advantages for logical and physical separation of application components. Cool stuff.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With