[JBoss JIRA] Created: (JGRP-487) Rewrite Retransmitter
by Bela Ban (JIRA)
Rewrite Retransmitter
---------------------
Key: JGRP-487
URL: http://jira.jboss.com/jira/browse/JGRP-487
Project: JGroups
Issue Type: Task
Affects Versions: 2.5
Reporter: Bela Ban
Assigned To: Bela Ban
Fix For: 2.6
Attachments: Retransmitter.java
The old Retransmitter is (a) too complex and (b) uses a linear list of Entries as retransmission list, which has a cost proportional to the number of messages in the retransmit buffer.
We should switch to using simple scheduled futures with the TimeScheduler for retransmissions and cancel the futures when a message has been acked.
The new Retransmitter.java is attached
--
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
18 years, 11 months
[JBoss JIRA] Created: (JGRP-510) NAKACK: adjust retransmission times based on statistics
by Bela Ban (JIRA)
NAKACK: adjust retransmission times based on statistics
-------------------------------------------------------
Key: JGRP-510
URL: http://jira.jboss.com/jira/browse/JGRP-510
Project: JGroups
Issue Type: Feature Request
Reporter: Bela Ban
Assigned To: Bela Ban
Priority: Minor
Fix For: 2.6
NAKACK can maintain a rolling average of the time it takes for a missing message to get retransmitted (time between sending the XMIT-REQ and reception of the missing message). This can be done per sender.
The retransmit_timeout values can be based on the rolling average, e.g. make this completely dynamic: instead of a set of retransmit timeouts we only define a retransmit_timeout, e.g. 30ms.
If a message is not able to get retransmitted the first time, we simply double that value (exponential backoff), until a max limit is reached.
When we discover that the rolling timeout is less than 30ms (e.g. 4ms), then we lower the retransmission timeout, e.g. to 4 ms (plus possibly a safety time, say 2ms), to a total of 6ms. This will make message retransmission faster, since we don't have to wait for 30ms to ask for retransmission.
OTOH, if the rolling average increases, we can also increase our retransmission timeout, to avoid overloading the network with spurious retransmission requests.
RESULT: message retransmission is more dynamic:
- Retransmit timeout is *per sender*
- On low retransmission ack times, we ask for retransmission sooner, therefore increasing message rates
- On high retransmission ack times, we throttle retransmission timeouts (and use exponential backoff), therefore reducing traffic
--
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
18 years, 11 months
[JBoss JIRA] Created: (JBAS-4422) org.jboss.test.util.test.TwiddleUnitTestCase can't connect to host
by Richard Achmatowicz (JIRA)
org.jboss.test.util.test.TwiddleUnitTestCase can't connect to host
------------------------------------------------------------------
Key: JBAS-4422
URL: http://jira.jboss.com/jira/browse/JBAS-4422
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Test Suite
Affects Versions: JBossAS-4.2.0.CR2
Environment: x86, Windows 2003 , Sun and BEA JVM
Reporter: Richard Achmatowicz
Priority: Trivial
1. The test testGet() in org.jboss.test.util.test.TwideleUnitTestCase builds a twiddle command line, execs the command line and checks that the output received from the server macthes the expected output. Comamnd lines are built, based on OS type: there is one for Windows and one for UNIX.
The command line built when executing on Windows is:
> cmd /C twiddle get "jboss.system:type=Server" "Started"
and the response should be
"Started=true"
It appears that twiddle had an option for specifying the server host, but this option has been commented out.
When executing the test on Windows, twiddle tries by default to connect to the server using localhost:1099.
2. When the testsuite is run using the parameters node0/node1 to specify the host IP addresses, localhost:1099 is not available
and the test fails.
(please see the linked issue JBPAPP-176 for more details)
--
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
18 years, 11 months
[JBoss JIRA] Created: (JGRP-491) Multiplexer should execute getState for all registered MuxChannel under one FLUSH phase
by Vladimir Blagojevic (JIRA)
Multiplexer should execute getState for all registered MuxChannel under one FLUSH phase
---------------------------------------------------------------------------------------
Key: JGRP-491
URL: http://jira.jboss.com/jira/browse/JGRP-491
Project: JGroups
Issue Type: Bug
Affects Versions: 2.4.1, 2.5
Reporter: Vladimir Blagojevic
Assigned To: Vladimir Blagojevic
Fix For: 2.6
The idea behind MuxChannel state transfer listeners is to trigger all state transfers together and have all or none result for all registered MuxChannels. As currently implemented underlying plumbing with will trigger each transfer under *separate* FLUSH. In order to have it done under one flush we have to do manual flushing in Multiplexer (startFlush/stopFlush) for these transfers T and we should retrofit FLUSH protocol *not to* trigger flushing for each GET_STATE from T. We have two options:
a) add requireFlush field in StateTransferInfo - that is then passed down with GET_STATE
- this requires changing signature of JChannel.getState
b) retrofit FLUSH to detect special handling of GET_STATE
- at state requester A we record that we requested GET_STATE and if another GET_STATE arrives from A while channel is already flushed do not trigger another flush
--
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
18 years, 11 months