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 echo broadcast service #25

Merged
merged 7 commits into from
Oct 5, 2024
Merged

Add echo broadcast service #25

merged 7 commits into from
Oct 5, 2024

Conversation

pool2win
Copy link
Owner

@pool2win pool2win commented Oct 5, 2024

No description provided.

A single actor handles all Acks for all messages. The actor is started
once and handler is cloned for any client who wants to run echo
broadcast.

The alternative is to demux on message id, and we need a mutex
there. So for now, use an actor to serialized all Acks receives.

The only alternative is to use a demultiplexer on message id. We'll
optimise this if need be.
@pool2win pool2win changed the title Echo broadcast service Add echo broadcast service Oct 5, 2024
@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 87.70950% with 22 lines in your changes missing coverage. Please review.

Project coverage is 86.96%. Comparing base (60a2fc7) to head (e3b6478).

Files with missing lines Patch % Lines
src/node.rs 23.07% 10 Missing ⚠️
src/node/echo_broadcast/service.rs 88.00% 6 Missing ⚠️
src/node/echo_broadcast/mod.rs 96.93% 3 Missing ⚠️
src/node/reliable_sender/mod.rs 80.00% 3 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #25      +/-   ##
==========================================
+ Coverage   86.88%   86.96%   +0.07%     
==========================================
  Files          15       17       +2     
  Lines        1929     1925       -4     
==========================================
- Hits         1676     1674       -2     
+ Misses        253      251       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@pool2win pool2win merged commit dbc0f76 into main Oct 5, 2024
10 checks passed
@pool2win pool2win deleted the echo-broadcast-service branch October 5, 2024 09:53
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.

2 participants