-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 07/10/2013 11:10 PM, Michael Merickel wrote: > The main thing is that it shouldn't be used with long running requests > as it's holding on to a database connection.
The tween doesn't hold any (particular) DB connection (it was, after all, designed to deal with potentially *many* backends, even in the same request). it just sets up a transaction pm omgress, and then commits or aborts it on egress, with a configurable number of retries for "retriable" failures (optimistic concurrency conflicts). Try measuring your app for read-only requests with the tween configured / disabled: I bet you won't be able to tell it's even there. Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 [email protected] Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEARECAAYFAlHexvcACgkQ+gerLs4ltQ72NgCgqMsULeCexf53FRFhDMQWsNRS 2wMAnRF9TFC2l1FLItx+VbU8tXr/g85E =U99K -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pylons-discuss. For more options, visit https://groups.google.com/groups/opt_out.
