[Building Sakai] Clustering a HashMap
Speelmon, Lance
lance at indiana.edu
Fri Jan 14 10:16:35 PST 2011
Adrian - it has been a long time since I looked at this, but you might check out: http://www.jgroups.org/ Best, L
Lance Speelmon
Scholarly Technologist
On Jan 14, 2011, at 7:45 AM, Adrian Fish wrote:
> Does anybody have any experience with replicating a hashmap across a
> cluster of Sakai's? The floating chat service keeps a couple of hashmaps
> in memory which store heartbeats and messages from users. In a cluster
> I'm assuming these will get out of sync so I need to work out how to
> avoid that.
>
> At the moment I'm playing with creating an EhCacheFactory bean in my
> spring config, using the MemoryService to create a Cache instance and
> then putting the hashmaps in that if they are not already there.
>
> Any tips greatly appreciated :)
>
> Cheers,
>
> Adrian.
>
> --
> ==================================
> Adrian Fish
> Software Engineer
> Centre for e-Science
> Bowland Tower South C Floor
> Lancaster University
> Lancaster
> LA1 4YW
> email: a.fish at lancaster.ac.uk
>
> http://confluence.sakaiproject.org/display/YAFT/Yaft
> http://confluence.sakaiproject.org/display/CLOG/Home
> http://confluence.sakaiproject.org/display/BBB/Home
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
More information about the sakai-dev
mailing list