Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Compact web server with Lua support?

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?

like image 738
Gulbahar Avatar asked May 18 '10 22:05

Gulbahar


1 Answers

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.

like image 175
Matt Towers Avatar answered Sep 23 '22 06:09

Matt Towers