有人使用 Hibernate 使用 Elasticache 作为二级缓存吗?
我发现一些线程说这是可行的,但没有找到具体的说明或配置信息。
我也想从 Beanstalk 执行此操作:应用程序应该部署到 beanstalk,并使用将 hibernate 指向 elasticache 实例的配置。
I found some threads saying this was doable, but did not find specific instructions or config information.
I want to do this from Beanstalk as well: the app should get deployed to beanstalk with a config that points hibernate to the elasticache instance(s).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,我们能够使用二级缓存配置 hibernate.. 但不能使用 beanstalk.. 这段代码应该可以帮助你。
您还需要 hibernate memcached jar
Yes, we were able to configure hibernate with 2nd level cache.. Not with beanstalk though.. This code should help you with it.
You would need the hibernate memcached jar as well