09 2016 档案

摘要:Coherence的架构参考 在极端压力之下,有时候代理节点会忙于处理请求而不响应其他的心跳,同步,导致其他节点传输的报文没有回应,而被认为是离开集群,从而影响业务。 写了一段代码,能让进程在监听到有节点离开时关闭节点,同时通过命令自动重起,实现恢复功能。 其中有几个要点问题解决如下: 1.Cohe 阅读全文
posted @ 2016-09-28 12:48 ericnie 阅读(388) 评论(0) 推荐(0) 编辑
摘要:此文非原创,转自 http://www.cnblogs.com/ggjucheng/archive/2013/01/13/2858923.html 介绍 ifstat工具是个网络接口监测工具,比较简单看网络流量 实例 默认使用 默认ifstat不监控回环接口,显示的流量单位是KB。 监控所有网络接口 阅读全文
posted @ 2016-09-25 20:01 ericnie 阅读(482) 评论(0) 推荐(0) 编辑
摘要:Coherence*Extend模式下客户端需要连接一个或多个proxy Server从而接入集群,在一些比较大型的环境中,Proxy Server往往比较多,一旦修改起来需要修改每个配置文件,在Coherence 12.1.2中推出了NameService的功能,原理如下: 启动Coherence 阅读全文
posted @ 2016-09-18 10:08 ericnie 阅读(434) 评论(0) 推荐(0) 编辑
摘要:对server事件的监控主要是实现MemberListener类,对Cache事件的监控主要通过MapListener 参考代码 package coherencetest; import com.tangosol.net.CacheFactory;import com.tangosol.net.M 阅读全文
posted @ 2016-09-14 14:47 ericnie 阅读(478) 评论(0) 推荐(0) 编辑
摘要:最近在客户那里环境中coherence集群不稳定,所以找出一些文档,需要搞清楚Coherence内部的一些机制 1.集群成员的离开 关于状态的检测,官方的说法是: Death detection is a cluster mechanism that quickly detects when a c 阅读全文
posted @ 2016-09-13 20:33 ericnie 阅读(569) 评论(0) 推荐(0) 编辑
摘要:1.通过util.zip带的gzip压缩程序 Coherence对象压缩程序如下 package coherencetest; import com.tangosol.net.CacheFactory; import java.util.zip.*; import java.io.*; import 阅读全文
posted @ 2016-09-11 10:46 ericnie 阅读(565) 评论(0) 推荐(0) 编辑
摘要:Coherence在extend模式下,proxy的负载均衡机制官方解释是 Extend client connections are load balanced across proxy service members. By default, a proxy-based strategy is 阅读全文
posted @ 2016-09-10 22:06 ericnie 阅读(1037) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示