使用共享缓存和会话部署多个Grails实例? [英] Deploying multiple Grails instances with shared cache and sessions?

查看:127
本文介绍了使用共享缓存和会话部署多个Grails实例?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一种解决方案,让我可以部署具有共享缓存(EhCache Server?)和会话的多个负载平衡Grails实例,这是可能的吗?

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 ?

我找不到任何文档(连接到常见的EhCache服务器或使用分布式EhCache,并且共享会话(也使用EhCache?))...

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

我正在寻找一些可以像多个Rails实例一样工作的东西,通常是memcached,存储在memcached中的会话/缓存...

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

推荐答案

我最近听过 Dave Klein ,Grails:A Quick Start Guide一书的作者,Terracotta的产品管理员Mike Allen,关于集群和缩放Grails应用程序

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.

他们介绍了Terracotta作为一个很好的工具来解决您的问题,并显示了在Grails应用程序的多个实例中共享会话所需的步骤。

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.

所以如果你想和Terr to一起去, Grails Terracotta Plugin 可能会对你非常有用

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

编辑

在EHCache网站上,您将找到一个简短的使用EHCache与Grails的介绍

这篇关于使用共享缓存和会话部署多个Grails实例?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆