Random ...
December 2017
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
Tags ...

python+zope++:: light(y) up your zope/web load
Posted at 07.Oct,2007 09:35  Comments 4 / Trackbacks 0 / Like this post!
Technorati tag(s):

I've read good things about lighttpd, and thought that it was time for me to try it out.

Installed lighttpd on one of my loaded sites, where apache usually required more than 100 children to serve the requests.

Get the source at lighttpd.net and compile and install. fyi, we need to have pcre and pcre-devel, otherwise all regex related conf will not work.

Once installed, modify the config file like so:

 server.modules              = (
 #                               "mod_deflate",
                                "mod_accesslog" )

 url.rewrite-once = ( "^/(.*)$"  => "/VirtualHostBase/http/domain.com.my:80/folder/VirtualHostRo
 ot/$1" )
 proxy.server = ( "/VirtualHostBase/" => ( ( "host"  => "" ,
 "port" => 8080 ) ) )

After a week, backend servers are responding well to requests, even durin peak hour. I have not looked at using deflate yet since the patch doesn't patch successfully (lighttpd 1.4.18).

Maybe, I'll look at using lighttpd 1.5

Bookmark and Share

Is this entry helpful? Comments/Donate/Click some google ads.  
Trackback is http://myzope.kedai.com.my/blogs/kedai/155/tbping 


Maybe you should also try nginx. While lighttpd is 'light', it's also has a serious memory leak (at least me did). Nginx configuration file also much verbose compared to lighttpd and apache.

k4ml  at 07.Oct,2007 17:45
nginx - as in engine x?

thanks for the heads up.

my lighttpd installation has been behaving this past week. we'll see. hope nothing happens during the raya week :P

will look at nginx

kedai  at 07.Oct,2007 20:13

There is also Cherokee,

kaeru  at 08.Oct,2007 10:10
injuns run the web?

just like anything indon running java. :P

thanks. hows the performance like? one good abot cherokee and lighty is that these projects are not one man show.

kedai  at 08.Oct,2007 16:04
Post a comment