Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] STM (was: Re: work times & accommodation @tokyo)
- Date: Sun, 03 Aug 2008 05:25:53 +0900
- From: "Stephen J. Turnbull" <stephen@example.com>
- Subject: Re: [tlug] STM (was: Re: work times & accommodation @tokyo)
- References: <20080718055807.GC18016@lucky.cynic.net> <82c89d700807180109l6b922486mc4d9027c096bc21@mail.gmail.com> <4883F362.3050100@sun.com> <b6c67a3d0807202032m5ed3843fu9eb6c2e851e26a0e@mail.gmail.com> <48844B78.9080505@sun.com> <87iquyh5pb.fsf@uwakimon.sk.tsukuba.ac.jp> <20080722093518.GC450@lucky.cynic.net> <873am1hlq5.fsf@uwakimon.sk.tsukuba.ac.jp> <20080724041853.GM2936@lucky.cynic.net> <87iquvyc7y.fsf@uwakimon.sk.tsukuba.ac.jp> <20080724112711.GB7891@lucky.cynic.net> <87fxpzx9mt.fsf@uwakimon.sk.tsukuba.ac.jp> <20080727120405.752622d9.attila@kinali.ch> <87abg3dxxu.fsf@uwakimon.sk.tsukuba.ac.jp> <20080802131000.e84bea64.attila@kinali.ch>
Attila Kinali writes: > For any given solution, you only have to pick the right > problem to make it look good. And with enough solutions, you can solve lots of problems. STM, especially as implemented in Haskell, is a very elegant solution to a useful class of concurrency problems. > I've read it, though not completely understood. But IMHO > STM is not the silver bullet to solve all concurency problems. Well, that's what I said. Nor has Curt made any claims to the contrary that I can detect. > Actually, i think STM has more problems under the hood than > does conventional locking have. But it does serve as a different > abstraction to see problems in a different light. You're referring to stuff like Patrick Logan's blog post? http://patricklogan.blogspot.com/2007/02/misguided-road-not-to-be-travelled.html While Patrick is obviously both smart and experienced in the field, he's also responding to the "seeing nails through the eye of a hammer" attitude of so many recent grads who majored in Java (or Haskell) rather than software engineering. I mean, this cracked me up: In practice banking systems do this with asynchronous messaging and post-hoc reconciliation. Well, no sheeyit, Sherlock, but what else do you think the optimistic transaction implementation does? So you push the problem to a higher level, it's still there. Transactions are the right way to solve the problem, and the questions are at what level do you do it and how much ACID do you have to drop? David Hopwood almost explicitly calls him on it: STM (at least as normally proposed) is shared-state, optimistic transactions. Its complexity and performance problems come from the shared state and the optimistic scheduling, not the transactions. It's possible to support transactions in a shared-nothing model, and that still provides the same (actually better) composability.
- Follow-Ups:
- Re: [tlug] STM (was: Re: work times & accommodation @tokyo)
- From: Attila Kinali
- References:
- Re: [tlug] STM (was: Re: work times & accommodation @tokyo)
- From: Attila Kinali
Home | Main Index | Thread Index
- Prev by Date: Re: work times & accommodation @tokyo, WAS: Re: [tlug] Embedded linux dev wanting to find work in Tokyo.. Seeking advice.
- Next by Date: Re: [tlug] STM (was: Re: work times & accommodation @tokyo)
- Previous by thread: Re: [tlug] STM (was: Re: work times & accommodation @tokyo)
- Next by thread: Re: [tlug] STM (was: Re: work times & accommodation @tokyo)
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links