Multiple ZODB Databases Within Single Zope Instance
Hello All, I'm still new to Zope, so please excuse any stupid questions. I would like to split out some of the data contained within my ZODB (Zope's 'data.fs') into separate instances of the same. I THINK this may be an option for my application, where I have diverse users and requirements. Most importantly, a number of groups of users will be working off-site with a local Zope setup. While off-site, they do not have access to the corporate network. I need to integrate their local/updated 'data.fs' into the main Zope instance when they log in to the corporate network without resorting to exporting objects from within each group's instance of Zope to a '.zexp' and then re-importing into the main instance. I hope the above makes sense. My questions - a) Is this a sound approach, or is there a better way to do this? b) Has anyone done this before? If so, I'll be grateful for any advice. c) I feel this approach will fail with ZEO, probably due to the inherent complexity of maintaining multiple datafiles. Any comments or suggestions? Thanks in advance. Regards, Samir.
On Saturday 17 May 2003 09:37 pm, Samir Mishra wrote:
Most importantly, a number of groups of users will be working off-site with a local Zope setup. While off-site, they do not have access to the corporate network. I need to integrate their local/updated 'data.fs' into the main Zope instance when they log in to the corporate network without resorting to exporting objects from within each group's instance of Zope to a '.zexp' and then re-importing into the main instance.
It's not exactly what it was designed for, but it seems likely that "ZSyncer" could do this. There might be some show stoppers, but I'm not sure. There's also a couple of unofficial variants, "ZSyncerPull" and "ZSyncerMute" out there that have been hacked to extend it somewhat. But it was pretty experimental last time I checked. -- Terry Hancock ( hancock at anansispaceworks.com ) Anansi Spaceworks http://www.anansispaceworks.com
On Sun, May 18, 2003 at 10:32:12AM -0700, Terry Hancock wrote:
On Saturday 17 May 2003 09:37 pm, Samir Mishra wrote:
Most importantly, a number of groups of users will be working off-site with a local Zope setup. While off-site, they do not have access to the corporate network. I need to integrate their local/updated 'data.fs' into the main Zope instance when they log in to the corporate network without resorting to exporting objects from within each group's instance of Zope to a '.zexp' and then re-importing into the main instance.
It's not exactly what it was designed for, but it seems likely that "ZSyncer" could do this.
yeah i'd think so. but since "While off-site, they do not have access to the corporate network", i'm not sure if it'll work in Samir's situation - it depends on whether each group's local zope is on a system that can make http (xml-rpc) connections to the corporate system. -- Paul Winkler home: http://www.slinkp.com "Muppet Labs, where the future is made - today!"
participants (4)
-
Dieter Maurer -
Paul Winkler -
Samir Mishra -
Terry Hancock