当前位置: 技术问答>java相关
pool data in multi servers,need data consistent
来源: 互联网 发布时间:2017-03-18
本文导语: Hi Gurus & Mentors, I meet a problem.That requires: 1.cluster environment 2.cache(or pool) data for performance consideration 3.data in cache could be changed by client(and then will update database) 4.all changed data should be notified in different h...
Hi Gurus & Mentors,
I meet a problem.That requires:
1.cluster environment
2.cache(or pool) data for performance consideration
3.data in cache could be changed by client(and then will update database)
4.all changed data should be notified in different host computers to make data consistent
if I employ EntityBean,the data consistency issue is sovled by the application server cluster feature.But I need data caching for better performance,so that simple EnityBean is not enough.
if I use RMI(or socket) to self-implement the data consistency,it is very complicated.and also concern about the transaction issue.
In a word,I need a good solution for observer pattern in a distributed environment.
I have thought many ways,not quite good,hope your professional suggestion.thanks a lot in advance
I meet a problem.That requires:
1.cluster environment
2.cache(or pool) data for performance consideration
3.data in cache could be changed by client(and then will update database)
4.all changed data should be notified in different host computers to make data consistent
if I employ EntityBean,the data consistency issue is sovled by the application server cluster feature.But I need data caching for better performance,so that simple EnityBean is not enough.
if I use RMI(or socket) to self-implement the data consistency,it is very complicated.and also concern about the transaction issue.
In a word,I need a good solution for observer pattern in a distributed environment.
I have thought many ways,not quite good,hope your professional suggestion.thanks a lot in advance
|
up一把再说
|
up
|
我觉得容器管理持久性应该性能还可以吧
您可能感兴趣的文章:
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。