On Tue, Feb 19, 2008 at 6:14 PM, Yuri Takhteyev <
yuri@sims.berkeley.edu> wrote:
First, a better place to ask those questions would be the
sputnik-list: http://lists.luaforge.net/mailman/listinfo/sputnik-list
> > I've seen, Sputnik is using Xavante as a webserver. Is it possible
> > (or better yet is it wise) to instead use apache? What would I be
> > gaining/losing by using apache. Thanks for any info!
>
True, though if you just want to use Sputnik with CGI you don't need
to go read Kepler documentation: it should work out of the box, see
the third subsection on http://sputnik.freewisdom.org/en/Installation
Running it through CGI is probably the simplest way to run it under
Apache today, especially in a restricted hosting environment.
Between Xavante and CGI, as I see it, the pros and cons are the following:
Apache with CGI:
Pro: works on pretty much any shared hosting
Con: needs Apache with CGI configured, probably slower
Xavante:
Pro: the server comes in the box, no need to know anything about
Apache, probably faster
Con: can't run on port 80 on shared hosting
http://sputnik.freewisdom.org/ uses Apache+CGI, simply because I want
to run it on port 80 and because my host charges me for every long
running process, so I don't want to use fastcgi.
Speaking of FastCGI: I haven't tested it recently, but it should work,
though the code hasn't been tweaked to really take advantage of the
fact that the process says alive. I'll test it with FastCGI later
this week and send an email to sputnik-list.
Also, if you are feeling adventurous, it is theoretically possible to
make Sputnik work with mod_wombat, which, I am guessing, will give you
the most performance:
http://kasparov.skife.org/blog/src/wombat/wombat_ac_us_07.html
I haven't tried it.
- yuri