About Me

Navigation

Transaction management in Threads spawned by u!

posted Apr 19, 2010, 1:24 AM by io Wint   [ updated Apr 19, 2010, 1:38 AM ]
Today i started to look into spawning multiple threads on the WCF Service side. The objective was to improve performance in few of the service calls. was reading through http://msdn.microsoft.com/en-us/library/ms229976.aspx
Guess BlockCommitUntilUpdate is gonna be my choice for my purpose.
On the whole they havent said anything on the outcome when an Exception happens on your child threads. My guess is when exception occurs, on TimeOut of the TransactionManager in the Mainthread rolls back stuff.. Need to check it.
 
you can also check, http://www.willydev.net/InsiteCreation/v1.0/descargas/willydev_introducingsystemtransactions.pdf section " Concurrency Management and Cloning" (page 41). its a cool writeup on the same.
Comments