Hi Paul, If it isn't too late to change your chapter title, I would encourage emphasizing Clojure's model of references and values in general, and the option of implementing a variety of different reference semantics that all conform to the same basic API shape.
That general approach has been game-changing for me, and the STM occupies a rather small niche in the overall space. Datomic stores the entire database in an atom (not an STM ref), and updates it with a call to swap! It is literally no more complex than a trivial hackneyed book example. :-) Cheers, Stu On Sun, Dec 2, 2012 at 11:03 AM, Paul Butcher <p...@paulbutcher.com> wrote: > All, > > I have a request which I hope the members of this group are uniquely > positioned to help with. I have recently started working on a new book for > The Pragmatic Programmers with the working title "Seven Concurrency Models > in Seven Weeks" (it follows on from their existing "Seven Languages" and > "Seven Databases" titles). > > One of the approaches that I'll be covering is STM, and I'll be presenting > it in Clojure. > > What I'd like to solicit are "war stories" about problems you've solved > using STM, which demonstrate the strengths of the technique over and above > (say) threads and locks. > > I'm looking for real-world examples instead of presenting yet another > hackneyed atomically-make-a-bank-account-withdrawal :-) > > Very many thanks in advance for your help! > > -- > paul.butcher->msgCount++ > > Snetterton, Castle Combe, Cadwell Park... > Who says I have a one track mind? > > http://www.paulbutcher.com/ > LinkedIn: http://www.linkedin.com/in/paulbutcher > MSN: p...@paulbutcher.com > AIM: paulrabutcher > Skype: paulrabutcher > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en