On Wed, 2006 Apr 05 09:00:04 +0200, Eduard Bloch wrote:
> 
> So, finally, I decided to take the bitter pill and rewrite it in C++. I
> think the implementation is done to ~60 percent now, including partial
> component tests. From the current POV I think this will be a
> "double-threaded daemon", not single-threaded because I create an extra
> thread dealing with database connections. The HTTP connections threads
> and clients are created using internal statemachines.

I see this topic has received a lot more of your attention than I 
previously thought :]  This is indeed an impressive change, and as a 
side effect it may make backporting to woody easier (for my setup).

> I think I will use qdbm to store the mapping between physical paths and
> the checksum+filesize+shortname that they provide. And per each
> available host (to reduce the memory usage) a smaller qdbm database
> caching contents of all known Packages/Sources/... files.

ObBinaryDatabaseParanoia: I trust the database files would be trivially
re-generable from cached copies of Packages/Sources/*.deb/..., if the
former are corrupted/deleted for any reason?

Looking forward to the next major release of apt-cacher. Thanks for the 
fine work.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to