[
http://jira.jboss.com/jira/browse/JGRP-2?page=comments#action_12342685 ]
Bela Ban commented on JGRP-2:
-----------------------------
Memory monitoring could be done by (JDK 5 only) java.lang.management.MemoryMXBean, with
notifications.
Memory based flow control
-------------------------
Key: JGRP-2
URL:
http://jira.jboss.com/jira/browse/JGRP-2
Project: JGroups
Issue Type: Feature Request
Affects Versions: 2.2.8
Reporter: Bela Ban
Assigned To: Bela Ban
Fix For: 2.x
Original Estimate: 2 weeks
Remaining Estimate: 2 weeks
Memory and retransmission based flow control protocol. Should be much faster than the
current FC
on a fast network, we can still run out of memory because received_msgs/delivered_msgs
becomes very big.
Instead of basing FC on the speed of the network, we should also take the number of
messages processed
(a.k.a delivered_msgs/received_msgs) into account, and only send credits when that
number falls below a
certain threshold. First: look at the number of received/delivered msgs in the perf
test !
--> Look into memory-based FC: criteria for sending credits are
- available free memory
- outstanding retransmission requests (sender sends with each message number of
messages sent,
receiver keeps track of how many messages received, if diff is > threshold
--> pause)
- [optional] latency
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira