logo       

RE: Maximum pool size considered harmful: msg#00077

web.zope.zodb

Subject: RE: Maximum pool size considered harmful

One thing I don't understand about the proposal is why the DB keeps weak
references to the connections. A connection is explicitly opened and
closed. A weakref is usually used to avoid keeping resources alive
unnecessarily, but the DB can simply drop its (strong) reference to excess
connections when they are closed. Is the proposal intending to make the
close() call optional? I can't tell why that would be.

Jeremy


_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list - ZODB-Dev@xxxxxxxx
http://mail.zope.org/mailman/listinfo/zodb-dev



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise