开发者

Deploying multiple Grails instances with shared cache and sessions?

I am looking for a solution that allows me to d开发者_开发技巧eploy 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...


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜