Re: storeGet() -> storeGetPublic() ?

From: Duane Wessels <wessels@dont-contact.us>
Date: Mon, 8 Jan 2001 13:53:56 -0700 (MST)

On Sun, 7 Jan 2001, Adrian Chadd wrote:
 
> I want to get rid of storeGet() / storeGetPublic() altogether.
>
> It should work just dandy for things such as reiserfs_raw.
> As noted by Alex this is going to break ICP and cache
> digests for now, but I plan on reintroducing the cache digests
> as an integral part of the storage mechanism rather than
> an addon which is how it is implemented today.

I'm worried that you're heading down a one-way path.

It seems to me your goal is to reduce the memory footprint,
and in order to do that you want to change storeGet().

Such a change is going to have an effect on performance.
Not keeping some of the StoreEntry bits in memory means it
will be slower to access them. You're trading space for time.

Some current Squid users may not appreciate being forced
into that tradeoff. For them, its better to have
a Squid that can serve 10,000 ICP queries per second
(and pay the memory costs) than it is to be stingy with
memory.
Received on Mon Jan 08 2001 - 13:53:57 MST

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