RAMCacheManager optimizations

Bug #143530 reported by Florent Guillaume
2
Affects Status Importance Assigned to Milestone
Zope 2
Won't Fix
Medium
Unassigned

Bug Description

RAMCacheManager pickles the objets put in the cache to ensure they won't have any problem being used by another thread.

This should be done only in debug mode.

Inconvenient: in non-debug mode, the ZMI wouldn't be able to display the used size. As it's only used for reporting (and not for enforcing maximum size), it may not be too much of a problem. And if it is, we could lazily pickle to get the size only when ZMI is accessed.

Tags: feature zope
Revision history for this message
Hanno Schlichting (hannosch) wrote :

I don't see why disabling this safety mechanism in production mode would be acceptable.

Changed in zope2:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.