Deploying multiple Grails instances with shared ca

2019-03-28 15:44发布

I am looking for a solution that allows me to deploy multiple load balanced Grails instances that have shared cache (EhCache Server ?) and sessions, is this possible ?

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

I'm looking for something that will work like multiple Rails instances with a common memcached and sessions/caches stored in the memcached...

1条回答
我想做一个坏孩纸
2楼-- · 2019-03-28 16:10

I was recently listening to a talk by Dave Klein, author of the book "Grails: A Quick Start Guide", and Mike Allen, Product Managemer at Terracotta about Clustering and Scaling Grails applications.

They introduced Terracotta as a great tool for exactly solving your issues and showed needed steps to share session within multiple instances of your Grails applicatons.

So if you want to go with Terracotta the Grails Terracotta Plugin might be very useful for you.

EDIT
On the EHCache website you will now find a short introduction to using EHCache with Grails.

查看更多
登录 后发表回答