Thanks for your reply Cassiono. The reason I am not using nginx is
when I tried to set it up it was very "hacky" installing mod_wsgi and
I need this working for production.
The memory footprint of lighttpd is small enough its just I want to
minimise the load on the embedded platform.

- brendon

On Feb 16, 4:15 pm, "Cassiano Serdan (chaosmaker)"
<[email protected]> wrote:
> have you tryed nginx? in my tests nginx have used less memory than nginx.
>
>
>
> On Tue, Feb 16, 2010 at 1:32 AM, brendon <[email protected]> wrote:
> > I was wondering if anyone here could help me.
> > I've created a large web app using web.py it is running on angstrom
> > with an arm processessor. I only have 64MB ram on my embedded system
> > and 64MB of flash. I am not going to be serving the files on the
> > internet but more for local network usage.
>
> > It is very important that I limit the load on the arm to as small as
> > possible hence I need some sort of caching meachnism. I was already
> > using Lighttpd w/ FastCGI and now have cross-compiled lighttpd 1.4.22
> > with modcache v1.7.0, mod_mem_cache and mod_mem_compress modules
> > available from:  http://high5.net/mirrors/mod_cache/
>
> > I am unable to find any examples though of using mod_cache with
> > web.py.
>
> > Below is the lighttpd cofig I have started and I no it is incorrect.
> > I'm confused about the proxy pointing to itself.
> > Do I need another lighttpd instance for the cache that points to
> > another lighttp instance with fastCGI?
>
> > If anyone has got caching working with lighttpd and mod_cache or with
> > lighttpd and squid could you please explain how or post your config.
>
> > kind regards,
>
> > brendon
>
> > # lighttpd.conf - with web.py, FastCGI, and mod_cache (not working!)
>
> > server.modules = (
> >   "mod_fastcgi",
> >   "mod_rewrite",
> >   "mod_cache", # make sure mod_cache loaded before mod_proxy_core
> >  "mod_proxy"
> > )
>
> > server.document-root       = "/var/www"
> > server.port                = 9000
>
> > fastcgi.server = ( "/main.py" =>
>
> >  (( "socket" => "/tmp/fastcgi.socket",
>
> >    "bin-path" => "/var/www/main.py",
> >    "max-procs" => 1,
> >    "bin-environment" => (
> >    "REAL_SCRIPT_NAME" => ""
> >     ),
> >    "check-local" => "disable"
> > ))
>
> > )
>
> > url.rewrite-once = (
> >   "^/favicon.ico$" => "/static/favicon.ico",
> >   "^/static/(.*)$" => "/static/$1",
> >   "^/(.*)$" => "/main.py/$1",
> > )
>
> > cache.support-queries = "enable"
> > cache.dynamic-mode = "enable"
> > cache.bases = ("/data/cache")
> > cache.refresh-pattern = (
> >   "\.(?i)(js|css)$" => "240",
> >   "\.(?i)(htm|html|shtml)$" => "30",
> >   "\.(?i)(jpg|bmp|jpeg|gif|png)$" => "2880"
> > )
>
> > proxy.server  = ( "" =>
> >       (
> >               ( "host" => "192.168.1.30", "port" => 9000 ) #<-- Not
> > sure about!
> >        )
> > )
>
> > cache.programs-ext = ("/main.py") #<-- Not sure about!
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "web.py" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to 
> > [email protected].
> > For more options, visit this group 
> > athttp://groups.google.com/group/webpy?hl=en.
>
> --
> Cassiano Serdanhttp://www.djserdan.com.br/
> ID: 55*11*8621
> PIN: 402EF410
>
> I enjoy the massacre of ads. This sentence will slaughter ads without
> a messy bloodbath.

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to