> Elliot Murphy wrote: > > >> * Distributed database integrity using two-phase commit (if your Python > >> driver and database backend support it). > > > > Can you tell me about how I would use this? Does it work with postgres?
Not sure what framework you plan on using this in, but I gather storm was written primarily for zope3 applications, which implements its own two-phase locking explicitly across any databases you touch for a given transaction, using IDataManagers. In integrating the two (storm and zope3/zodb) for the project I'm working on my current plan is to create an IDataManager for storm which will do-the-right-thing(tm) ie: rollback/commit based on the success/failure/readiness of other connections, not sure if this helps you at all.. but if you are dealing with state change across multiple data stores then doing this sort of thing is a reasonable way to go, and zope3 contains a working example you could leverage. -tjs -- Timothy J Stebbing -- storm mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/storm
