[ZODB-Dev] ZODB via Pipe/Socket
It is possible to open a ZODB in a thread and share it to other threads via a filesystem socket or pipe [rather than a TCP conntection]? I've searched around and haven't found any reference to such a configuration. -- System Network Administrator [ LPI NCLA ] http://www.whitemiceconsulting.com OpenGroupware Developer http://www.opengroupware.us Adam Tauno Williams ___ For more information about ZODB, see http://zodb.org/ ZODB-Dev mailing list - ZODB-Dev@zope.org https://mail.zope.org/mailman/listinfo/zodb-dev
Re: [ZODB-Dev] ZODB via Pipe/Socket
On 20 March 2012 16:52, Adam Tauno Williams awill...@whitemice.org wrote: It is possible to open a ZODB in a thread and share it to other threads via a filesystem socket or pipe [rather than a TCP conntection]? I've searched around and haven't found any reference to such a configuration. This resolved bug report suggests you can using ZEO: https://bugs.launchpad.net/zodb/+bug/663259 Laurence ___ For more information about ZODB, see http://zodb.org/ ZODB-Dev mailing list - ZODB-Dev@zope.org https://mail.zope.org/mailman/listinfo/zodb-dev
Re: [ZODB-Dev] ZODB via Pipe/Socket
On Tue, Mar 20, 2012 at 12:52:07PM -0400, Adam Tauno Williams wrote: It is possible to open a ZODB in a thread and share it to other threads via a filesystem socket or pipe [rather than a TCP conntection]? You don't need either if you use threads. Create a ZODB.DB.DB(), have each thread invoke db.open() to get a connection. If you have multiple *processes* rather than threads, use ZEO. ZEO works fine over Unix domain sockets (this is, in fact, my preferred method of deployment). Marius Gedminas -- There is a 70% probability of tomorrow. (Actual weatherman quote, 1988) signature.asc Description: Digital signature ___ For more information about ZODB, see http://zodb.org/ ZODB-Dev mailing list - ZODB-Dev@zope.org https://mail.zope.org/mailman/listinfo/zodb-dev