stm Questions

3

Solved

I'm aware that it is generally bad practice to put functions with side-effects within STM transactions, as they can potentially be retried and called multiple times. It occurs to me however that y...
Iapetus asked 22/1, 2011 at 15:11

3

Solved

How can I see the number of rollbacks in my STM in Clojure?
Unlade asked 25/1, 2011 at 10:12

2

Solved

I need to make a decision about whether to use STM in a Clojure system I am involved with for a system which needs several GB to be stored in a single STM ref. I would like to hear from anyone wh...
Constituent asked 30/12, 2010 at 13:1

3

Solved

I am trying to find the differences between what Clojure calls an STM and what is implemented in Haskell as STM. Taking the actual language semantic differences aside I am a little confused as Rich...

4

Solved

I am writing a clojure program which uses the STM. At the moment I am populating the STM (using refs) at startup from a database, and then asynchronously updating the database whenever a dosync tra...
Sanborn asked 23/12, 2010 at 22:6

3

Solved

As I understand there are several different algorithms for implementing Software Transactional Memory (and this is a quite active research area). Where can I find (without having to dive into sourc...
Ratafia asked 27/11, 2010 at 17:19

1

Solved

What happens when you create nested dosync calls? Will sub-transactions be completed in the parent scope? Are these sub-transactions reversible if the parent transaction fails?
Fatherly asked 15/5, 2010 at 21:4

5

Solved

In terms of actual low level atomic instructions and memory fences (I assume they're used), how do you implement STM? The part that's mysterious to me is that given some arbitrary chunk of code, ...
Bilicki asked 26/10, 2009 at 22:5

© 2022 - 2024 — McMap. All rights reserved.