I tried to setup the wsapi running under nginx/debian with fastcgi method,
and followed the tutorial found, such as "configure spawn-fcgi".
     a) http://www.eonblast.com/blog/lua-nginx-gentoo/
     b)
http://kepler-platform-mailing-list.1133559.n2.nabble.com/Wsapi-and-spawn-fcgi-td3809309.html
     c) http://davelahn.com/lua-nginx-fastcgi-in-debian
     e) http://thelinuxexperiment.com/guinea-pigs/1295/
     f)
http://jim.studt.net/depository/index.php/setting-up-nginx-and-lua-fastcgi-on-debian-squeeze

I thought spawn-fcgi should work, and I could understand the theory and use
them with PHP correctly,
indeed the spawn-fcgi for wsapi could run correctly, but it can't do service
for lua file.

In my test, the spawn-fcgi method could work under apache2.
You could find my steps in http://sunxiunan.com/?p=1758
(it is chinese, but you could see the config steps)

Anyway, I know another configure method, that Nginx support proxy_pass,
and Xavante is the standalone webserver,
So I tried with this method, it works. http://sunxiunan.com/?p=1767

My question is, for the Nginx proxy_pass + Lua Xavante,
is its performance good enough like spawn-fcgi + wsapi?

Another question is about uwsgi. In latest nginx, the uwsgi is supported,
and uwsgi supports Lua wsapi,
does any one try to use them?
I see the document, and the uwsgi command like "uwsgi -s :3031 -M -p 4
--luapippo.lua -m"
If I want to let uwsgi works for all lua file, how could I config it?

Many thanks,

sagasw

------------------------------------------
blog: http://sunxiunan.com/
C++, Lua, living in Dalian
http://twitter.com/sagasw
------------------------------------------
_______________________________________________
Kepler-Project mailing list
Kepler-Project@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
http://www.keplerproject.org/

Reply via email to