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

balancer: reduce lock contention when processing inbound client messages #1178

Merged
merged 9 commits into from
Dec 18, 2023

Conversation

dyc3
Copy link
Owner

@dyc3 dyc3 commented Dec 14, 2023

  • makes clients to have a more direct communication channel with the monolith they are connected to
  • use a broadcast channel for broadcasted room messages

requires #1151 to be merged first, need the tests it adds
cc @cjrkoa

Copy link

codecov bot commented Dec 14, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (4e8432e) 61.3205% compared to head (a6276b4) 61.6883%.
Report is 3 commits behind head on master.

❗ Current head a6276b4 differs from pull request most recent head 9635e00. Consider uploading reports for the commit 9635e00 to get more accurate results

Additional details and impacted files
@@               Coverage Diff                @@
##             master      #1178        +/-   ##
================================================
+ Coverage   61.3205%   61.6883%   +0.3677%     
================================================
  Files           115        115                
  Lines          9390       9394         +4     
  Branches       1135       1136         +1     
================================================
+ Hits           5758       5795        +37     
+ Misses         3632       3599        -33     

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

Copy link

cypress bot commented Dec 14, 2023

Passing run #747 ↗︎

0 19 0 0 Flakiness 0

Details:

Merge a6276b4 into 4e8432e...
Project: OpenTogetherTube Commit: 2fc37be396 ℹ️
Status: Passed Duration: 02:07 💡
Started: Dec 15, 2023 10:19 PM Ended: Dec 15, 2023 10:22 PM

Review all test suite changes for PR #1178 ↗︎

@dyc3 dyc3 enabled auto-merge (squash) December 18, 2023 18:16
@dyc3 dyc3 merged commit 82d5b6f into master Dec 18, 2023
12 of 14 checks passed
@dyc3 dyc3 deleted the balancer-rework branch December 18, 2023 18:18
cjrkoa pushed a commit to cjrkoa/opentogethertube that referenced this pull request Jan 26, 2024
…ges (dyc3#1178)

* set up clients so that they can have a unicast channel and a broadcast channel

* set up clients to have all the right channels

* rename some vars

* fix incorrect serialization

* fix lints

* fix lints

* uncomment a line

* rename some stuff to be clearer
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