Deploying multiple Grails instances with shared cache and sessions?

I am looking for a solution that allows me to deploy several loaded Grails instances with a shared cache (EhCache Server?) And sessions, is this possible?

I can't find documentation on this (connecting to a shared EhCache server or using Distributed EhCache and sharing sessions (using EhCache too)) ...

I am looking for something that will work as multiple instances of Rails with shared memcached and sessions / caches stored in memcached ...

+6
deployment cluster-computing grails load-balancing ehcache
source share
1 answer

I recently listened to a conversation by Dave Klein , author of Grails: A Quick Guide, and Mike Allen, Product Managemer at Terracotta on Clustering and Scaling Grails Applications .

They introduced Terracotta as an excellent tool for accurately solving your problems and showed the necessary steps for sharing a session in multiple instances of your Grails applications.

So, if you want to go with Terracotta, Grails Terracotta Plugin can be very useful to you.

EDIT
On the EHCache website, you will find a brief introduction to using EHCache with Grails .

+6
source share

All Articles