[ZODB-Dev] how to estimate cache size

Adam GROSZER agroszer at gmail.com
Fri Jan 15 08:08:18 EST 2010


Yay! The answer to my object count question lies in zc.z3monitor.

But what about cache size in bytes?

Friday, January 15, 2010, 1:39:02 PM, you wrote:

AG> Hello,

AG> There are some methods in PickleCache
AG> That might be good for object count:
AG> * __len__
AG> * ringlen
AG> which might be better to get the number of objects in the cache?

AG> Is there any chance to estimate the current cache size in bytes?

AG> Also I guess I need to add all connection's picklecache's object count
AG> to get the total of objects in the cache, right?




-- 
Best regards,
 Adam GROSZER                            mailto:agroszer at gmail.com
--
Quote of the day:
Swipple's Rule of Order: He who shouts the loudest has the floor.



More information about the ZODB-Dev mailing list