[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnu-arch-users] Re: Arch Cache & cached archives
From: |
Tom Lord |
Subject: |
Re: [Gnu-arch-users] Re: Arch Cache & cached archives |
Date: |
Wed, 15 Sep 2004 15:52:04 -0700 (PDT) |
> From: Stefan Monnier <address@hidden>
> > I think that caching vs. memoizing should (at least ultimately) be a
> > finely tunable parameter.
> Could someone explain to me what is the difference between caching and
> memoizing here?
Memoizing never forgets. Caching does.
Another way to say it: a memo is like an infinitely large cache (no
entries are ever displaced).
A revlib is a memo in the sense that nothing in arch automagically
removes revlib entries. It should be more like a cache but some
design work (this thread included) needs to happen first.
Some memos, like revlibs, allow entries to be removed by hand --- but
it's still useful to think of them as memos (since we don't like
adding "you need to do this part by hand" steps).
> > One could implement cached archives without changing arch in the
> > slightest.
> I don't know to what trick you're referring to.
A proxy server for archive access.
> The closest thing I can think of is an http caching proxy, but
> that will only work for some archives.
Do you think it would be hard to write a generic proxy that could
handle arch's limited use of FTP, SFTP, and WebDAV? Sure --
independent of arch that would be a very hard problem but given arch's
referential transparency, it should be trivial.
-t
- [Gnu-arch-users] Arch Cache & cached archives, Aaron Bentley, 2004/09/14
- Re: [Gnu-arch-users] Arch Cache & cached archives, Tom Lord, 2004/09/15
- [Gnu-arch-users] Re: Arch Cache & cached archives, Stefan Monnier, 2004/09/15
- Re: [Gnu-arch-users] Re: Arch Cache & cached archives,
Tom Lord <=
- Re: [Gnu-arch-users] Re: Arch Cache & cached archives, Aaron Bentley, 2004/09/15
- Re: [Gnu-arch-users] Re: Arch Cache & cached archives, Tom Lord, 2004/09/15
- Re: [Gnu-arch-users] Re: Arch Cache & cached archives, Aaron Bentley, 2004/09/15
- Re: [Gnu-arch-users] Re: Arch Cache & cached archives, Andrew Suffield, 2004/09/16
- Re: [Gnu-arch-users] Re: Arch Cache & cached archives, Tom Lord, 2004/09/16
Message not available
- Re: [Gnu-arch-users] Arch Cache & cached archives, Tom Lord, 2004/09/17
- Re: [Gnu-arch-users] Arch Cache & cached archives, Tom Lord, 2004/09/17
- Re: [Gnu-arch-users] Arch Cache & cached archives, Matthieu Moy, 2004/09/17
- Re: [Gnu-arch-users] Arch Cache & cached archives, Tom Lord, 2004/09/17
- Re: [Gnu-arch-users] Arch Cache & cached archives, James Blackwell, 2004/09/17