[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: an idea for next generation APT archive caching



Hi,

I did an advanced programming project on Debian mirroring called apt-got. It is a standalone java server with mirroring capability. As a part of speeding up delivery, I programmed an apache module called mirror_mod.
For documentation look here:
http://hacktor.fs.uni-bayreuth.de/apt-got/docs/mod_mirror.html

The philosophy behind this approach is that mirror engine and apache plugin share the directories created by the mirror engine. Requests from apt-get are directed to the apache plugin. If the plugin finds a file at that URL, it gets delivered by apache. If it does not find it on the other hand, it sends back a redirect URL, causing apt-get to try and get the file from you mirror engine directly. For example apt-proxy, apt-cacher or apt-got.

Well, basicly think of mod_mirror as a very lightweight and specialized rewriting engine.

Greets,
Tobi

----- Original Message ----- From: "Adrian 'Dagurashibanipal' von Bidder" <avbidder@fortytwo.ch>
To: "debian developers" <debian-devel@lists.debian.org>
Sent: Wednesday, October 20, 2004 2:08 PM
Subject: Re: an idea for next generation APT archive caching

But your approach of catching apache's 404 certainly sounds interesting,
and would be extremely lightweight in the case of cache hits. Just be sure to
relay 'real' 404s properly.




Reply to: