Hi, Andre, Danny's first approach is about "syncing" only on the root object, so that every piece of data is behind one deref:
(def root (ref {:persons [ ... no other refs here... ])) This approach is simpler to code but can lead to a lot of retried transactions under heavy concurrent load, as I understand. What about making all derefs that you need inside one transaction? There are words somewhere in docs that you need dosync if you perform a few reads that must be consistent. I think this is what you need. -- 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