Squid in front of mogilefs

benchmark chedz at yahoo.com
Tue Jun 26 22:47:43 UTC 2007


Thanks Brad. But isn't there an HTTP Client API for
mogileFS? Of course, assuming that I can have the url
as the file/object key for objects in mogileFS. 

--- Brad Fitzpatrick <brad at danga.com> wrote:

> Squid speaks HTTP to the thing behind it, so you
> need something that Squid
> talks to that speaks HTTP, translating the pretty
> end-user URIs into
> intenral Mogile paths, and injecting your
> application-specific caching
> headers.
> 
> Yes, MogileFS storage nodes speak HTTP internally,
> but there's a lot
> of them (so which does Squid point to?), and they
> don't have good cache
> headers (how can they know your caching rules?), and
> don't have pretty
> URLs.
> 
> So what you want is probably:
> 
>    browser <-> squid <-> Perl/PHP/etc <-> mogilefsd
> 
> 
> On Tue, 26 Jun 2007, benchmark wrote:
> 
> > I want to use Squid so that it caches files/images
> > that are stored in mogilefs. So I'd like to see
> the
> > following:
> >
> > browser<-->squid<-->mogileFS
> >
> > Note that put/store to mogileFS is done
> separately,
> > squid here is just for caching.
> >
> > 1) is this possbile?
> > 2) if so, is there any special setup I'd have to
> do?
> >
> > thanks.
> >
> >
> >
> >
>
____________________________________________________________________________________
> > Building a website is a piece of cake. Yahoo!
> Small Business gives you all the tools to get
> online.
> > http://smallbusiness.yahoo.com/webhosting
> >
> >
> 



 
____________________________________________________________________________________
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html 


More information about the mogilefs mailing list