Re: [pylons-discuss] Re: How to handle DB transaction failures/request race conditions

2017-11-27 Thread Michael Merickel
Jonathan gives a pretty good description of how the packages fit together. He left one out, however, which I'll mention. https://docs.pylonsproject.org/projects/pyramid-retry/en/latest/ pyramid_retry wraps pyramid_tm and looks for failed transactions that failed due to some

[pylons-discuss] Re: How to handle DB transaction failures/request race conditions

2017-11-27 Thread Jonathan Vanasco
The sqlalchemy cookie cutter uses pyramid_tm to handle the transaction. The docs on that package should answer all your questions: https://docs.pylonsproject.org/projects/pyramid_tm/en/latest/ Basically what happens is this: * the actual transaction management is provided by zope's