Skip to content

Increase quic heartbeat interval to 45 second to reduce overhead#201

Merged
lijunwangs merged 1 commit intomasterfrom
increase_quic_keep_alive_interval
Jun 20, 2025
Merged

Increase quic heartbeat interval to 45 second to reduce overhead#201
lijunwangs merged 1 commit intomasterfrom
increase_quic_keep_alive_interval

Conversation

@lijunwangs
Copy link
Copy Markdown
Contributor

@lijunwangs lijunwangs commented Jun 19, 2025

As the change to increase QUIC connection timeout has been released. Now we can afford to reduce the frequency to send QUIC keep-alive messages.

The interval is changed from 1 s to 45 seconds

This to follow up on #29.

@alexpyattaev
Copy link
Copy Markdown
Contributor

alexpyattaev commented Jun 19, 2025

Generally this is a good idea, just for the record, in which version did the increased value for the timeouts on the streamer side land?

@lijunwangs
Copy link
Copy Markdown
Contributor Author

Generally this is a good idea, just for the record, in which version did the increased value for the timeouts on the streamer side land?

it is released in solana-quic-definitions 2.3.0. -- which I will update our validator to take in another PR in agave repo. After this PR lands we will release solana-quic-definitions with another version 2.3.1 or whatever number.

@alessandrod
Copy link
Copy Markdown
Contributor

why 45s and not 60s or another number?

@lijunwangs
Copy link
Copy Markdown
Contributor Author

why 45s and not 60s or another number?

60s could cause timeout due to latency in scheduling and on the wire. 45 s is a heuristic value to ensure with 60 second we see at least 1 timeout and no more than 2.

@lijunwangs lijunwangs merged commit cdeecff into master Jun 20, 2025
24 checks passed
febo pushed a commit to febo/solana-sdk that referenced this pull request Sep 21, 2025
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.

3 participants