Skip to content

Add fault injection and sender-side metrics for reliability testing#1

Open
only-komal wants to merge 1 commit intoRootSprout:masterfrom
only-komal:feature/fault-injection
Open

Add fault injection and sender-side metrics for reliability testing#1
only-komal wants to merge 1 commit intoRootSprout:masterfrom
only-komal:feature/fault-injection

Conversation

@only-komal
Copy link
Copy Markdown

This PR adds configurable packet loss fault injection to the CTP sender,
allowing simulation of unreliable links.

It also introduces sender-side metrics to quantify:

  • total frames sent
  • retransmissions triggered by packet loss

Usage:
./sender
Drops approximately 1 in N frames and reports transmission behavior.

This helps evaluate protocol reliability under controlled fault conditions.

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.

1 participant