Squid in front of mogilefs
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
> 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
> 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
> > following:
> > browser<-->squid<-->mogileFS
> > Note that put/store to mogileFS is done
> > squid here is just for caching.
> > 1) is this possbile?
> > 2) if so, is there any special setup I'd have to
> > thanks.
> > Building a website is a piece of cake. Yahoo!
> Small Business gives you all the tools to get
> > http://smallbusiness.yahoo.com/webhosting
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
More information about the mogilefs