On Wednesday 04 January 2006 11:56, Matthew Toseland wrote:
> On Wed, Jan 04, 2006 at 07:52:42AM -0500, Ed Tomlinson wrote:
> > 
> > Alternately we allocate x% of the db for unaccessed inserts.  Once an 
> > insert is accessed
> > it goes into the normal lru.  Other wise its dropped (insert lru list) when 
> > new inserts require 
> > space or after n days.  Note that x may have to be fairly large to allow 
> > valid large inserts...
> 
> Why would that be better?

It would isolate inserted data until it is accessed.  It would ensure that 
heavy insert activity without
any accesses does not monopolize datastores.  With your suggestion one could 
attack freenet with 
massive inserts which would have the effect of removing pages with a low 
frequency of access.  With
the above scheme this would be more difficult.

Ed

Reply via email to