Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add unicast semantics to RetransmitHandler #1603

Merged
merged 9 commits into from
Jun 4, 2024

Conversation

nbradac
Copy link
Contributor

@nbradac nbradac commented May 22, 2024

The RetransmitHandler now supports unicast semantics where it only keeps track of (at most) one outstanding NAK, and it immediately replaces old NAKs with new NAKs, on the assumption that a new NAK means the receiver has moved past the previous gap (i.e. the previous NAK 'worked' and the RX was received).

To test this, a new 'MultiGapLossGenerator' was created that will introduce loss across a series of regularly spaced intervals to force the condition where more than the max outstanding retransmit actions are sent in a short period of time. The previous (i.e. 'multicast') retransmit handler logic would just drop subsequent NAKs, requiring some NAKs be resent.

@nbradac nbradac changed the title [Java] add a UnicastRetransmitHandler with slightly different/simpler semantics [Java] add a unicast semantics to RetransmitHandler May 22, 2024
@nbradac nbradac changed the title [Java] add a unicast semantics to RetransmitHandler [Java] add unicast semantics to RetransmitHandler May 22, 2024
@nbradac nbradac marked this pull request as ready for review May 25, 2024 18:29
@mikeb01 mikeb01 changed the title [Java] add unicast semantics to RetransmitHandler Add unicast semantics to RetransmitHandler May 26, 2024
@mikeb01
Copy link
Contributor

mikeb01 commented Jun 3, 2024

LGTM

@nbradac nbradac merged commit c0a7fa2 into real-logic:master Jun 4, 2024
35 checks passed
@nbradac nbradac deleted the ucast_nak_pool_of_one branch June 4, 2024 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants