[Zope3-dev] testing and savepoints

Gary Poster gary at zope.com
Tue Oct 17 13:59:05 EDT 2006


On Oct 17, 2006, at 12:01 PM, Chris Withers wrote:

> So I'm left what the actual use for savepoints is

1) you want to reduce your memory usage within a transaction

2) a) sometimes you want to roll back to a certain point in a  
transaction.  b) sometimes you do this in a context of an assembled  
application, in which other components may want to do the same thing,  
conceivably within the execution context of one another.

transaction.commit(1) accomplished 1 and 2a.  savepoint is a common  
concept (http://en.wikipedia.org/wiki/Savepoint) that also  
accomplishes 2b.

> and if they could be made any faster?

Don't know.

Gary


More information about the Zope3-dev mailing list