4 ms·
"The processes end up with incorrect states pretty much immediately." Concurrency failure.
by dedward 16y ago
"The processes end up with incorrect states pretty much immediately."
Concurrency failure.
- pjscott 16y agoIf you consider the multi-server case, this is a consensus problem. To solve it, you need to either use an algorithm like Paxos, or use some central synchronization point like a Redis or memcached server. Yes, node.js fails compared to Clojure when it comes to taking advantage of multiple cores on this example. Clojure's concurrency primitives are really slick. But that's not the whole story.
- jules 16y agoIt would be interesting to see Clojure's transaction support extended across multiple machines.