Lua Web 开发使用什么 Web 服务器
我应该使用什么 Web 服务器(以及为什么)进行 Lua Web 开发?
What web server (and why) should I use for Lua web development?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
我应该使用什么 Web 服务器(以及为什么)进行 Lua Web 开发?
What web server (and why) should I use for Lua web development?
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(6)
有一些基于 Lua 的网络服务器:
更新。 还有一些框架可供查看:
There are a few Lua-based webservers around:
Update. Some more frameworks to check out:
我们一直在为 nginx 开发 ngx_lua 模块,它支持 100% 非阻塞网络流量到 mysql、PostgreSQL、memcached、其他 http 服务等,因此具有出色的并发水平和整体性能:)
http://github.com/chaoslawful/lua-nginx-module
我们在生产中使用它:)
We've been working on the ngx_lua module for nginx, which supports 100% non-blocking network traffic to mysql, PostgreSQL, memcached, other http services, and more, hence outstanding concurrency level and over-all performance :)
http://github.com/chaoslawful/lua-nginx-module
and we're using it in production :)
我认为用于 lua Web 开发的最佳 Web 服务器是 mongrel2。 看看 TIR 框架,恕我直言,是当今 Web 开发中最好的 lua 使用。
The best web server I can think for lua web development is mongrel2. Take a look on TIR framework, which, IMHO, is the best lua use for web development these days.
对于开发来说,运行小型测试服务器会很方便。 特别适合 Lua Web 开发的一个很好的候选者是 Xavante 服务器,它是 Kepler 项目的一部分。 除了一些支持的 Kepler 模块之外,Xavante 本身是用纯 Lua 编写的。
对于生产来说,在 Apache 上运行的新
mod_lua
(在 Apache 团队将其纳入核心模块集之前被称为mod_wombat
)似乎是一个很好的选择。受人尊重的选择。For development, it can be handy to run a small test server. A good candidate in particular for Lua web development is the Xavante server which is part of the Kepler project. Aside from some of the supporting Kepler modules , Xavante itself is written in pure Lua.
For production, the new
mod_lua
(which had been known asmod_wombat
before the Apache team accepted it into the core set of modules) running on Apache would seem to be a well-respected choice.还有 LuCI 项目 [1]。 这是 LuaConfigurationInterface,OpenWRT(嵌入式 Linux)的基于 Web 的管理前端。
LuCI 人员还编写了一个非常小的网络服务器,称为 lucittpd。
LuCI 也是一个 MVC。
并且处于生产状态;)
[1] http://luci.subsignal.org
there is as well the LuCI project [1]. which is the LuaConfigurationInterface, the web based mangement frontend for OpenWRT (embedded Linux).
The LuCI guys wrote also a very small webserver, called lucittpd.
LuCI is an MVC as well.
And in production state ;)
[1] http://luci.subsignal.org
最近,http://github.com/valenok/mongoose Web 服务器添加了 Lua 支持,请查看预构建 Windows 二进制文件位于 http://code.google.com/p/mongoose/下载/列表
Recently, Lua support was added to the http://github.com/valenok/mongoose web server, check out pre-build windows binary at http://code.google.com/p/mongoose/downloads/list