[development] Object caching

Samuel Lampa samuel.lampa at rilnet.com
Sat Jul 22 15:04:20 UTC 2006


Dries Buytaert skrev:
> Or add a LRU-flag to the alias table, and pre-load a subset of the 
> aliases that are most recently used.  You'll probably end up with a 
> hit rate of at least 80%.  You wouldn't need a magic number or a 
> configuration setting.
Or why not pre-load most recently used by default, and have as a 
configurable setting to to allow more aliases in the same query?

Or maybe a much more general solution would be dividing ALL the lookups 
into queries of "magic size"? Would gain performance both few and many 
aliases?

-- 
Samuel Lampa
SKYPE: samuel_lampa

RIL Partner AB
www.rilnet.com



More information about the development mailing list