1. The Pool

DbConnectionPool is hidden and is accessed through DbAccessBase. It follows the Singleton design pattern, so it'll only actually create one DbConnectionPool. It extends python Queue, so DbConnectionPool is also a synchronized queue and should be thread-safe. DbAccessBase is extended by EventManagerBase?, so if you have access to the ZenEventManager (located at /zport/dmd/ZenEventManager) you'll have the ability to get a DB connection.