ActiveMq生产者流量控制(Producer Flow Control)
/*--> */ /*--> */ 最近学习ActiveMq,昨日查看其配置文件activemq.xml的时候,被一行注释引到了 http://activemq.apache.org/producer-flow-control.html 页面,感觉挺有用,遂翻译之保存成文。作为自己的第一篇译作,必有诸多不妥之处,故附上原文作对照,欢迎拍砖。 Producer Flow Control 生产者流量控制 In ActiveMQ 4.x flow control was implemented using TCP flow control. The underlying network connection of throttled consumers was suspended to enforce flow control limits. This strategy is very efficient but can lead to deadlocks if there are multiple producers and consumers sharing the same connection. 在ActiveMQ 4.x版本中,流量控制是用TCP流量控制实现的。受节制的消费者底层的网络连接被挂起,以强制进行流量控制限制。这个策略非常高效