Re: store MD5 keys

From: Adrian Chadd <adrian@dont-contact.us>
Date: Sun, 8 Sep 2002 09:17:22 -0600

On Sun, Sep 08, 2002, Robert Collins wrote:

> storeGetEntryByRequest(request_t const *)
> to:
> efficiently find a list of candidates that match the URL
> within that list find a response that satisfies the other metadata
> criteria such as ETag.
>

I started doing this - I wrote a storeLookup(request_t *, callback) which
was designed to replace storeGet() and storeGetPublic() - I managed
to unwind the HTTP code use (I had to split some particular bit
of code up to handle being interrupted half way through, which
wasn't nearly as difficult as I thought it'd be) but i then realised
that fast ICP replies would break (as.. well, figure it out. :)

My particular experiment was to try and push the decision of whether
to grab a file from disk or from an upstream out into storeLookup() -
ie, someone (client side) calls storeLookup() and gets back a StoreEntry+
MemObject which it can read the object from.

So, you've got my vote.. as long as you realise where I'll end up taking
all of this. :)

adrian
Received on Sun Sep 08 2002 - 09:17:24 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:16:29 MST