Suggestion box

I've had some good suggestions for posts come on the comments so far.  It struck me that I should encourage that, so here's my suggestion box topic.

Please post comments on some topic that you'd like me to discuss.  There no guarantee that I'll get to any or all of them, but I am interested in what would interest you.

Right now I have 3 suggestions that I want to pull together:

  • Show how to use DependendentTransaction in a multi-threaded environment.
  • Show how to implement support for promotable single phase enlistments.
  • Show how to build a volatile compensator that is able to run user code at rollback.

So, what else would be useful?

Jim.


Posted Apr 28 2005, 08:06 PM by jim-johnson

Comments

Sahil Malik wrote re: Suggestion box
on 04-29-2005 3:57 AM
In order of priority :)

#1. Show how to implement support for promotable single phase enlistments.

#2. Show how to build a volatile compensator that is able to run user code at rollback.

#3. Show how to use DependendentTransaction in a multi-threaded environment.

I got another one to add - Something that clearly explains nested transaction scopes.

Okay one more - Something that explains Serialization level setting in TransactionScopeOptions in a non-database setting.

BTW I got a Q 4 U which I have gotten conflicting answers to. In Sql Server 2005, with two databases involved, what is the serialization level that the transactions are run on? (Assuming that the suggested serialization level using TransactionScopeOptions was ReadCommitted).

Thanks for all your help :)

- SM
PS: I wrote this up - http://www.codebetter.com/blogs/sahil.malik/archive/2005/04/28/62604.aspx - might be incorrect, but would love comments, or maybe the suggestion #1 above will subsume it.
Florin Lazar wrote re: Suggestion box
on 05-17-2005 11:04 PM
Sahil, for #1 you can take a look at http://blogs.msdn.com/florinlazar/archive/2005/05/17/418595.aspx
A fan wrote re: Suggestion box
on 06-03-2005 12:31 PM
Jim-- could you spin up a post explaining System.Environment.FailFast and when it is appropriate to use this mechanism? I'm particularly curious about its usage with respect to building reliable systems.
Sahil Malik wrote re: Suggestion box
on 06-07-2005 8:44 PM
Thanks Florin. I saw that, you have a fantastic blog I must add.
Jim Johnson's Blog wrote Understanding nested transaction scopes
on 06-19-2005 1:17 AM
Jared Nuzzolillo wrote re: Suggestion box
on 07-20-2005 12:40 PM
http://pluralsight.com/blogs/dbox/archive/2005/04/30/7880.aspx said that I should file my grievance with you. We wish that more of the API would provide delegate based extension (eg, like Ruby blocks).

Thanks!
Jim Johnson wrote re: Suggestion box
on 08-02-2005 6:31 AM
Jared,

As Don pointed out, that set of choices was one that we agonized over repeatedly when building System.Transactions. It's a great topic to dive into. I'll plan to do up an entry on this -- what we were balancing, what an ideal answer might look like, and generally how we thought about it.

Jim.

Add a Comment

(required)  
(optional)
(required)  
Remember Me?