Changes between Version 45 and Version 46 of Dev/Technical/ZEO


Ignore:
Timestamp:
04/12/10 09:29:53 (3 years ago)
Author:
dgalimbe
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Dev/Technical/ZEO

    v45 v46  
    2424Each DB Connection has a separate Picklecache.  The Cache serves two purposes. It acts like a memo for unpickling.  It also keeps recent objects in memory under the assumption that they may be used again. As already mentioned in §1.1, the size of the cache is the number of objects that can be cached, by default this number is 400. 
    2525=== 2.2 Picklecache's strategy === 
    26 The least-recently used objects are booted out at transaction boundaries 
     26The least-recently used objects are booted out at transaction boundaries. 
    2727=== 2.3 How to change the Picklecache cache size === 
    2828The Picklecache's cache size can be changed through the method set_cachesize() of the database instance, and this can be done as follows (assuming one wants to set it to 800 obkects):