Livejournal on Lighttpd and FastCGI

Jan 21, 2009 18:53

 Hello!

Did anyone try to run livejournal server on Lighttpd and/or Fastcgi?
I am trying to run this for our university local community and want to make this via FCGI.
As I see in the code - there are much apache-core hooks and so on, but in old versions of livejournal server I saw using fcgi.

I mean, should I try to change some code inside to run on ( Read more... )

server: alternate setup, server

Leave a comment

Comments 20

pauamma January 21 2009, 17:45:41 UTC
PRECAPS is nearly 8 years old. I think bringing current code to a point where it could use FastCGI instead of mod_perl would be very hard, if not completely impossible. I suppose you could try using the PRECAPS code itself, but I'm not sure anyone here would be able to help you with code that old.

What is your reason for not wanting to use mod_perl and Apache?

Reply

perldp January 21 2009, 18:15:43 UTC
I write for a while in perl/FCGI+ nginx/lighttpd...
And prefer it, maybe, by own reasons..
I mean, FCGI is more simple to maintain.
Web server should be as simple as possible by my opinion.
Well, this is provocation question from you that can make a holywar here (mod_perl vs. FCGI :))

Reply

iamo January 22 2009, 00:44:26 UTC
While I agree with you that web servers should be kept simple and am a big fan of fcgi in general, in reality the high end apache-based setups use apache more as an http parser library on a backend fronted by either apache-as-webserver/loadbalancer or something like perlbal. Which comes out to roughly the same architecture. Apache itself is actually quite lean and is a really excellent http protocol handler. FCGI appservers tend to duplicate a *lot* of its functionality in achieving the same goal.

It's really six of one, half dozen of the other in the end.

Reply

shapirus January 22 2009, 01:09:10 UTC
FCGI is highly modular and thus very clear. You can't restart certain process with mod_perl if it starts eating too much memory, for example -- you have to restart the whole apache (or one of its children which isn't very good, too ( ... )

Reply


Leave a comment

Up