如何实现某种Play集群管理器?
Play是一个真正的“Share Nothing”系统,像PHP一样的无状态模型。 在集群方面,Zend 提供了一个名为 Zend Cluster Manager 的解决方案。
- 白皮书 => http://static.zend.com/topics /Session-Clustering-ZSCM-WP-0610-EN-A4.pdf
- ESCHRADE 文章 => http://www.eschrade.com/page/zend-server-cluster -manager-4c2a2f38 加上本文的评论
您知道现有的 Java 开源资源可以补充 Play 框架以实现完全相同的事情或其中有趣的部分吗?
这个问题针对以下几点:
Zend 集群管理器中描述的配置、部署和监控管理
Zend 集群管理器的工作方式,因为它不是基于在Db中存储会话信息,既不nfs共享会话,也不进行会话持久负载平衡,并且无需更改任何源代码即可工作。这并不是那么糟糕的方法。
如果 Play 版本 2 中某些服务于该目的的内容发生了变化(例如,我不知道未来版本中包含的 Akka 这一领域的最终附加值),那么我的问题更适合此版本。毕竟,Play 是作为一个整体平台呈现的,不遵循 servlet 方法,因此像 php + zend 集群管理器这样的整体平台作为整体解决方案将是一个杀手平台:)
Play is a real "Share nothing" system, Stateless model like PHP.
When it comes to clustering, Zend delivered a solution called Zend Cluster Manager.
- WhitePaper => http://static.zend.com/topics/Session-Clustering-ZSCM-WP-0610-EN-A4.pdf
- ESCHRADE article => http://www.eschrade.com/page/zend-server-cluster-manager-4c2a2f38 plus the comments on this article
Do you know existing Java opensource resources than could complement Play framework to achieve quite the same thing or an interesting part of it ?
This question targets the following points :
Configuration, deployment and monitoring management as described for Zend cluster manager
The way Zend Cluster manager works as it's not based on storing session information in a Db, neither nfs sharing session, neither session-persistent load balancing and works without changing any source code. It's not that bad approach.
If some things serving that purpose change for Play release 2 (for example i don't know the eventual added values in this area of Akka included in this future relase), then my question is more oriented for this release. After all, Play is presented as a whole platform not following servlet approach so a whole platform as a whole solution like php + zend cluster manager would be a killing platform :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
任何 Java 分布式缓存解决方案(或任何具有 Java 客户端的缓存解决方案)都可能会提供您正在寻找的内容。这是与java缓存替代方案相关的问题:分布式缓存
Any java distributed caching solution (or any caching solution that has a java client) would probably delivery what you are looking for. Here is a related questions to java cache alternatives: Distributed Caching