Add new 100qps-40klogs staging list#37
Merged
Merged
Conversation
We use non-overlapping lists, asking witness operators to configure the union of all lists they can accommodate (starting from lower performance profiles and moving upwards). As maintainers we allocate logs to the most appropriate lists based on performance profile, so that the list in question doesn't fill up too quickly (i.e., to ensure that it is a good spending of witness resources when adding a log to a list). The alternative would have been to have overlapping lists, e.g., where the 100qps list has a 10qps list as a sublist; and the 10qps list might in turn have a 1qps list as a sublist. A participating witness would then choose the highest performance profile they can accommodate, as opposed to having to configure the union of the three different lists. Both should work and it's mostly a matter of documentation. But a nice property of non-overlapping lists is that they compose well as unions. No questions about committed capacity given a list of lists. The property of "any witness which commits to reading list X is compatible with my log" is also nice for non-overlapping lists. The equivalent of this property with overlapping lists would have been "any witness which commits to reading list X or higher is compatible with my witness", which seems slightly more complex to explain and maintain. We might want a higher performance profile in the future, but we're starting with 100qps-40klogs now in staging to see how it is received. These additions were co-authored with Al, thanks!
This was referenced Mar 26, 2026
AlCutter
approved these changes
Mar 26, 2026
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
We use non-overlapping lists, asking witness operators to configure the union of all lists they can accommodate (starting from lower performance profiles and moving upwards). As maintainers we allocate logs to the most appropriate lists based on performance profile, so that the list in question doesn't fill up too quickly (i.e., to ensure that it is a good spending of witness resources when adding a log to a list).
The alternative would have been to have overlapping lists, e.g., where the 100qps list has a 10qps list as a sublist; and the 10qps list might in turn have a 1qps list as a sublist. A participating witness would then choose the highest performance profile they can accommodate, as opposed to having to configure the union of the three different lists.
Both should work and it's mostly a matter of documentation. But a nice property of non-overlapping lists is that they compose well as unions. No questions about committed capacity given a list of lists.
The property of "any witness which commits to reading list X is compatible with my log" is also nice for non-overlapping lists. The equivalent of this property with overlapping lists would have been "any witness which commits to reading list X or higher is compatible with my witness", which seems slightly more complex to explain and maintain.
We might want a higher performance profile in the future, but we're starting with 100qps-40klogs now in staging to see how it is received.
These additions were co-authored with Al, thanks!