+1 Tommaso
2011/12/29 Raffaele P. Guidi <[email protected]> > Totally agreed. It's a long due refactoring > Il giorno 29/dic/2011 17:33, "Benoit Perroud" <[email protected]> ha > scritto: > > > Hi All, > > > > I thought at the evicition policy. It is actually done at MemoryBuffer > > level, but this leads to a problem : > > > > A pointer could be evicted, but the cache still reference it. It seems > > to be processed correctly by the CacheService. > > > > My point hier is we should try to do a better separation of the > > responsabilities, in order to have layers that could be reused > > independently : > > > > - MemoryService should only try to reduce fragmentation (for example > > using the read only buffer (see DIRECTMEMORY-9)) > > - CacheService should allow pluggable eviction (LRU, LFU, ...) > > > > What is your thoughts on this ? > > > > Thanks > > > > Benoit. > > >
