Repository navigation
apollo_network_benchmark: add ReversedSqmr receiver and registration - #11555
Conversation
This was referenced Jan 8, 2026
Contributor
Author
This was referenced Jan 8, 2026
sirandreww-starkware
marked this pull request as ready for review
January 8, 2026 17:43
|
There hasn't been any activity on this pull request recently, and in order to prioritize active work, it has been marked as stale. |
| ); | ||
| } | ||
| } | ||
| }, |
There was a problem hiding this comment.
Tight busy-loop on repeated connection failure
Medium Severity
The ReveresedSqmr receiver's outer loop has no delay or backoff in the Err(e) arm. Since send_new_query fails immediately (the underlying mpsc::SendError is non-blocking), a persistent failure will cause a tight CPU-spinning loop that also floods logs with error messages. A small sleep or backoff in the error branch would prevent this.
Additional Locations (1)
sirandreww-starkware
force-pushed
the
01-08-apollo_network_benchmark_add_reveresedsqmrsender_struct_and_implementation
branch
from
February 16, 2026 09:10
471fd3f to
a929882
Compare
sirandreww-starkware
force-pushed
the
01-08-apollo_network_benchmark_add_reveresedsqmr_receiver_and_registration
branch
from
February 16, 2026 09:10
0192b6d to
a024e8b
Compare
sirandreww-starkware
force-pushed
the
01-08-apollo_network_benchmark_add_reveresedsqmrsender_struct_and_implementation
branch
from
February 19, 2026 07:24
a929882 to
a354cd2
Compare
sirandreww-starkware
force-pushed
the
01-08-apollo_network_benchmark_add_reveresedsqmr_receiver_and_registration
branch
from
February 19, 2026 07:24
a024e8b to
31afa17
Compare
This was referenced Feb 19, 2026
sirandreww-starkware
force-pushed
the
01-08-apollo_network_benchmark_add_reveresedsqmrsender_struct_and_implementation
branch
from
February 19, 2026 08:04
a354cd2 to
a153019
Compare
sirandreww-starkware
force-pushed
the
01-08-apollo_network_benchmark_add_reveresedsqmr_receiver_and_registration
branch
from
February 19, 2026 08:04
31afa17 to
5436db8
Compare
sirandreww-starkware
force-pushed
the
01-08-apollo_network_benchmark_add_reveresedsqmrsender_struct_and_implementation
branch
from
March 16, 2026 15:13
a153019 to
4541183
Compare
sirandreww-starkware
force-pushed
the
01-08-apollo_network_benchmark_add_reveresedsqmr_receiver_and_registration
branch
from
March 16, 2026 15:13
5436db8 to
3bd9208
Compare
sirandreww-starkware
force-pushed
the
01-08-apollo_network_benchmark_add_reveresedsqmrsender_struct_and_implementation
branch
from
March 22, 2026 17:09
4541183 to
7c93416
Compare
sirandreww-starkware
force-pushed
the
01-08-apollo_network_benchmark_add_reveresedsqmr_receiver_and_registration
branch
from
March 22, 2026 17:09
3bd9208 to
6d96e8c
Compare
sirandreww-starkware
force-pushed
the
01-08-apollo_network_benchmark_add_reveresedsqmrsender_struct_and_implementation
branch
from
March 30, 2026 11:08
7c93416 to
a45019b
Compare
sirandreww-starkware
force-pushed
the
01-08-apollo_network_benchmark_add_reveresedsqmr_receiver_and_registration
branch
from
March 30, 2026 11:08
6d96e8c to
87d3238
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Note
Medium Risk
Adds new async loops and query/response handling in the benchmark node; mistakes could cause hangs, hot loops, or misleading benchmark results, but it’s isolated to benchmarking code.
Overview
Implements the previously
todo!()NetworkProtocol::ReveresedSqmrpath in the broadcast network stress test node by registering SQMR client/server channels and wiring them into newMessageSender::ReveresedSqmrandMessageReceiver::ReveresedSqmrvariants.Adds a
ReveresedSqmrSenderwrapper that tracks the latest incoming server query and replies with broadcast messages, and adds a receiver loop that continuously opens client queries and streams responses into the benchmark’s message callback with basic error logging.Written by Cursor Bugbot for commit 87d3238. This will update automatically on new commits. Configure here.