On Tue, 1 Jul 2003, Oscar Plameras wrote:
> From: <[EMAIL PROTECTED]>
> > On 30 Jun, Oscar Plameras wrote:
> > > The reason is as follows:
> > >
> > > Number of IPV4 addresses = 255*255*255*255 * 50 bytes (your
> allocation)
> > > = 4,228Mb * 50 =
> > > 202,280MB
> >
> > A cache isn't a complete copy. You store what you allow room for, and
> > fall back to your normal mechanism if the entry isn't in the cache.
> > You use LRU typically after the cache fills.
> >
>
> Just a point of clarification:
>
> Cache is structrured data, or data list, or list, kept in CPU MEMORY
> all the time and maybe used by a software to locate other informatioin
> or to manipulate information.
>
> Database is structured data, or data list, or list, kept in DISK STORAGE
> and maybe used by a software to locate other information
> or to manipulate information.
This is simply not true.
A cache may be kept on disk, and commonly is. eg Squid caches to disk
because the overhead of disk retrieval is less than the overhead of
repeating the network retrieval.
Also, a database may in some cases be implemented as an in-memory
structure, although this is sufficiently unusual that you should always be
clear about what you're talking about if you wish to avoid the assumption
that it is disk-based.
Andrew McNaughton
--
No added Sugar. Not tested on animals. May contain traces of Nuts. If
irritation occurs, discontinue use.
-------------------------------------------------------------------
Andrew McNaughton In Sydney
Working on a Product Recommender System
[EMAIL PROTECTED]
Mobile: +61 422 753 792 http://staff.scoop.co.nz/andrew/cv.doc
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug