1

Looking for a caching reverse proxy that can do the following: 1. be installed at satellite locations to take load off central content server 2. cache 5-10 gb of static img/swf assets from origin server & detect media updates 3. NO browser reconfiguration needed (no proxy setting tweaks) 3. support pooling or load balancing (nice to have). 4. allows initial seeding of assets from local media (nice to have).

restrictions: 1. cross platform for windows & Mac. 2. fairly easy to setup/maintain and must run on mediocre hardware. 3. license should allow commercial use

My first thoughts were: find a solution written entirely in Java or other portable language OR write my own minimal solution in Java OR create a VM image of Squid/Traffic Server/Nginx etc. running on Linux.

Haven't found a good package yet and I'm worried that using a VM might be too slow. This isn't my area of expertise so I hope there are some good ideas out there.

1
  • Thanks for the help. I did try Varnish and it's a great package. But after realizing how simple it is to use mod_cache and mod_proxy with Apache, at the moment I'm leaning toward it as a solution that can run on Windows/Mac natively. (for some reason I had been under the impression there was a lot of finagling necessary to get those working under Windows but that does NOT seem to be the case anymore)
    – Eric M
    Aug 30, 2010 at 16:13

2 Answers 2

0

have you considered apache httpd with mod_proxy and mod_cache?

http://httpd.apache.org/docs/2.0/mod/mod_proxy.html

http://httpd.apache.org/docs/2.0/mod/mod_cache.html

0

Varnish - caching is controllable by rules on the varnish server in cooperation with headers from the source servers.

Load balancing - something like haproxy should do the trick, not sure if varnish is good at this or not. Load balancing and caching are two different functions - keep them separate if you can.

As for detecting changes and pushing them out - that's more of an application design issue. If you set your cache timeouts (at all levels, so your reverse proxies as well as client browsers behave coherently) then new content should be picked up appropriately.

For bulk loading new content ,you could simply have something hit the proxies up for hte content and have them pre-load it.

If you want to monitor for changes.... not entirely sure on that one- but if Varnish can't do it on it's own, it's a simple enough script to write.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .