Yes. I think it is of much interest. What if I stored a shared data structure in redis (only because its the fastest), using your memoize variant, and process (maybe even updated it) it in parallel from different Clojure nodes. Some kind of primitive map/reduce mechanism I think.
On Dec 31, 12:29 pm, Steve Purcell <st...@sanityinc.com> wrote: > Not sure if it's any help, but here's a variant of memoize I wrote, which > stores arbitrary readable/printable objects to redis: > > http://gist.github.com/266689 > > (If there's any interest, I'll wrap it up in a github project and push it to > clojars.) > > Redis isn't a hierarchical store, so its array/set operations would only > benefit the most shallow of data structures. > > -Steve > > On 30 Dec 2009, at 11:52, Gabi wrote: > > > On first look, Redis and Clojure seems to be a perfect match. They > > both handle sets and maps efficiently. If one could find an easy way > > to store and retrieve Clojure data structures to Redis (even a small > > subset- just a list or a set), a distributed clojure app could be very > > easy (and effective?) thing to do - The stateless Clojure nodes would > > share and operate on the same central data structure which is stored > > in Redis). What do you thing ? Is it worth investigating further? > > > -- > > 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