[Zope-dev] RAMCacheManager and object size

Sidnei da Silva sidnei at enfoldsystems.com
Sun Jul 10 12:05:08 EDT 2005


On Sun, Jul 10, 2005 at 09:32:29AM -0600, Shane Hathaway wrote:
| > Would using thread.local help here?
| 
| I don't think so.  You want either a shared cache (like RAMCacheManager)
| or a per-database-connection cache (which would let you cache catalog
| results.)  Database connections are not bound to a specific thread.
| 
| However, you might be on to something: a switch that turns
| RAMCacheManager into a per-database-connection cache would be useful for
| things that currently aren't cacheable.

Glad to have sparkled some idea ;)

-- 
Sidnei da Silva
Enfold Systems, LLC.


More information about the Zope-Dev mailing list