Usage of perlbal as a caching server

29 views
Skip to first unread message

Erez

unread,
Sep 4, 2011, 6:31:03 AM9/4/11
to perlbal
Hey, we've been using Perlbal for load balancing and reverse proxy,
and are trying to figure out a way of using it also as a caching
server, meaning, when a client asks for a resource (like an image),
the perlbal server will both cache it on the server, and reproxy the
call to that new location.

I gather that the reproxying can be done (albeit not dynamically), but
is there a way in perlbal to pull the resource, cache it and then
referring the client, and future calls to that resource to the cached
location?

TIA,
Erez

Ask Bjørn Hansen

unread,
Sep 4, 2011, 10:35:27 AM9/4/11
to per...@googlegroups.com, perlbal
See Varnish -- run that in front of perlbal.

--
http://localrobot.com/

dormando

unread,
Sep 4, 2011, 1:21:17 PM9/4/11
to perlbal

Not too sure what you're referring to with reproxying. You can do that
fairly dynamically if you want.

Look in the plugins that come with Perlbal. There's a LazyCDN example
which pretty closely does what you're talking about.

Reply all
Reply to author
Forward
0 new messages