DAMN! I implemented ISinglePhaseNotification - same code now run in 17 seconds!
On Wed, Oct 21, 2009 at 4:27 PM, Ayende Rahien <[email protected]> wrote: > No, that is not it. > And I did a second check. 75%(!) of the time goes to Disppose. > The problem is that I am not following why it is taking so long to manage a > single enlistment. > > > On Wed, Oct 21, 2009 at 4:22 PM, Corey Kaylor <[email protected]> wrote: > >> Straight from the MSDN documentation on Dispose for TransactionScope "This >> method is synchronous and blocks until the transaction has been committed or >> aborted." So if the same transaction DTC or otherwise is used for both the >> persisted queued send and the actual send it will block until the send is >> complete and committed. So my comment above was under the assumption that it >> is the same transaction. If it's not, then what I've described is not true. >> >> >> >> > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Rhino Tools Dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rhino-tools-dev?hl=en -~----------~----~----~----~------~----~------~--~---
