Multithreaded connection poolling support for ZODB databases?

Etienne Robillard <[email protected]> Sun, 15 Apr 2018 14:17:55 -0400
Newsgroups gmane.comp.web.zope.zodb
Message-ID <[email protected]>
Hi,

I would like to define a `ThreadedConnectionPoll` class to allow 
multithreaded caching of ZODB databases into memory.

Code:

poll = ThreadedConnectionPoll({
         'db1': 'zodb://127.0.0.1:4343',
         'db2': 'zodb://127.0.0.1.4545'})

 >>> poll.db1
<Database u'Schevo Database' :: V 1>
 >>> poll.db2
<Database u'Schevo Database' :: V 5>

Is it possible to use the threading module to allow threaded connection 
polling/caching of the `ThreadedConnectionPoll.__getattr__` method ?


Thank you in advance,

Etienne


-- 
You received this message because you are subscribed to the Google Groups "zodb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.