Skip to content
This repository has been archived by the owner on May 26, 2022. It is now read-only.

fix: use 64bit stream/conn IDs #247

Merged
merged 1 commit into from
Mar 29, 2021
Merged

fix: use 64bit stream/conn IDs #247

merged 1 commit into from
Mar 29, 2021

Conversation

Stebalien
Copy link
Member

Given 1k requests per second (assuming one stream per request), we can easily loop around the stream ID after less than 2 months. 32bits is plenty (usually) for connection-scoped stream IDs because individual connections don't usually last that long, but isn't enough for a global stream ID.

Given that there's no reason for these to be 32bit IDs, let's just make them 64bits.

Given 1k requests per second (assuming one stream per request), we can
easily loop around the stream ID after less than 2 months. 32bits is
plenty (usually) for connection-scoped stream IDs because individual
connections don't usually last that long, but isn't enough for a
_global_ stream ID.

Given that there's no reason for these to be 32bit IDs, let's just make
them 64bits.
@Stebalien Stebalien requested a review from vyzo March 29, 2021 18:25
@Stebalien Stebalien merged commit 6357e7c into master Mar 29, 2021
@Stebalien
Copy link
Member Author

(test failure is known and being fixed)

@Stebalien Stebalien mentioned this pull request May 11, 2021
27 tasks
@aschmahmann aschmahmann mentioned this pull request May 14, 2021
71 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants