I've recently done some experimentation with Clojure and Terracotta.
I've detailed my experience at:

http://paul.stadig.name/2009/02/clojure-terracotta-yeah-baby.html

and shared my code at:

http://github.com/pjstadig/terraclojure/tree/master/

I'm the first to admit that I'm not an expert in Terracotta. This is
actually my first time working with it.

I was able to setup a permanent store, and to run a couple of
transactions against some refs shared across multiple JVMs. I ran into
two snags. The first was that Keyword did not implement hashCode,
which was a simple fix. Rich graciously added a hashCode method. :)

The other was how to point Terracotta to a var from the Java side. I
ended up using a simple Java class to hold on to my refs, since then
it was easy to point Terracotta to the right place. It works just
fine, but I'm not sure if there is a better way to do it.

I'd be interested in knowing if anyone else has experience to share
about using Terracotta with Clojure.


Paul Stadig

--~--~---------~--~----~------------~-------~--~----~
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
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to