调整TCMP行为
本章提供了指令本章包含以下各节:概述TCMP数据传输节流数据传输减少负载的捆绑包更改数据包重传行为配置传输数据包池大小配置的数据包缓冲区的大小调整数据包的最大尺寸更改分组扬声器音量阈值的更改消息处理行为更改TCMP插座供应商实施
10.1
集群成员使用TCMP
TCMP
10.2节流数据传输
使用的在本节包括以下主题:调整分组流量控制行为禁用分组流量控制调整包交通堵塞行为
10.2.1调整数据包的流量控制行为
用于动态流量控制油门包传输到一个给定的群集成员基于点对点传输统计数据,衡量集群成员的响应率。流量控制停止群集成员从充斥着包,而这是无法回应。流量控制配置内<flow-control>元素。有两种设置用于调节流量控制行为:<pause-detection>-<outstanding-packets>-要调整流量控制行为,编辑业务覆盖文件,并添加的<?xmlversion=’1.0′?>
<coherencexmlns:xsi=""
xmlns=""
xsi:schemaLocation="
coherence-operational-configcoherence-operational-config.xsd">
<cluster-config>
<packet-publisher>
<packet-delivery>
<flow-control>
<pause-detection>
<maximum-packets>32</maximum-packets>
</pause-detection>
<outstanding-packets>
<maximum-packets>2048</maximum-packets>
<minimum-packets>128</minimum-packets>
</outstanding-packets>
</flow-control>
</packet-delivery>
</packet-publisher>
</cluster-config>
</coherence>
10.2.2禁用分组流量控制
要禁用流量控制,编辑业务覆盖文件,并添加一个
<?xmlversion=’1.0′?>
<coherencexmlns:xsi=""
xmlns=""
xsi:schemaLocation="
coherence-operational-configcoherence-operational-config.xsd">
<cluster-config>
<packet-publisher>
<packet-delivery>
<flow-control>
<enabled>false</enabled>
</flow-control>
</packet-delivery>
</packet-publisher>
</cluster-config>
</coherence>
10.2.3调整分组交通堵塞行为
一包堵车时长分组出版商认为不能容忍的水平,待处理的数据包的数量,由客户端线程排队,在网络上传输的数据包出版商。堵车的行为是配置内<traffic-jam>元素。有两种设置是用来调整堵车行为:<maximum-packets>-<pause-milliseconds>-指定这是一个数据包限制到低电平或者暂停是长,可能会导致所有待处理的数据包发送,并没有要发送的报文的发布者。定期记录一个警告,如果这种情况被检测。理想值确保发布者没有工作做,从来没有离开过,但在同一时间防止队列无限制地增长。应设定得短的暂停(当的要调整的排队率行为,编辑业务覆盖文件,并添加
<?xmlversion=’1.0′?>
<coherencexmlns:xsi=""
xmlns=""
xsi:schemaLocation="
coherence-operational-configcoherence-operational-config.xsd">
<cluster-config>
<packet-publisher>
<traffic-jam>
<maximum-packets>8192</maximum-packets>
<pause-milliseconds>10</pause-milliseconds>
</traffic-jam>
</packet-publisher>
</cluster-config>
</coherence>
10.3捆绑包,以减少负载问:一只小狗在沙漠中旅行,结果死了,问他是怎么死的?