Thank you, RB, for a very good clarification of my point. One thing, though: my specific application, and probably Raoul's, was just about URL-rewriting. If I could, I would be perfectly happy to disable the proxies' internal caching mechanisms, and also to remove them from the pipeline that handles all derivative HTTP requests (assets like javascript, CSS, images, etc). It *seems* like this sort of functionality ought to be possible under a moderate level of throughput while maintaining a small memory footprint (although not knowing much about HTTP proxy internals, I can't say for sure). However, it appears that in practice both of these proxies insist on trying to be "helpful" by caching resources, then wind up grinding to a halt once they exhaust the available memory.
On Fri, Dec 12, 2008 at 12:24 PM, RB <[email protected]> wrote: > > it's my belief that the WRT just doesn't have enough memory to make the > > dual-proxy setup workable under real-world use. I think it's more > feasible > > to just have the OWRT box work as a transparent proxy that sends traffic > to > > a beefier squid box upstream. > > This is the critical point to make. Proxying is heavy by nature, and > making it small enough to be as responsive as web users want it to be > means we have to either strip out functionality or do something > ridiculous like writing one in ASM. We are talking about proxying on > a platform where the high-average amount of physical memory (32MB) > hold no more than a handful of webpages (~50 at an average of 375KB, > presuming 20MB dedicated). That puts caching pretty much out of the > question; filtering even more so, since it's even more > resource-intensive. > > Let your routers be routers, proxies be proxies, and may someone stop > putting so much effort into maintaining X on the OpenWRT platform. > _______________________________________________ > openwrt-users mailing list > [email protected] > http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users >
_______________________________________________ openwrt-users mailing list [email protected] http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
