Skip to content

Allow block cache to have a 'handle' concept#1412

Merged
blt merged 3 commits intographite-base/1412from
blt/allow_block_cache_to_have_a_handle_concept
Jul 9, 2025
Merged

Allow block cache to have a 'handle' concept#1412
blt merged 3 commits intographite-base/1412from
blt/allow_block_cache_to_have_a_handle_concept

Conversation

@blt
Copy link
Copy Markdown
Collaborator

@blt blt commented Jul 7, 2025

What does this PR do?

With the parallel_connection addition to unix_stream we now must solve
the problem of high connection count causing non-trivial cache duplication.
This is done by allowing for a 'handle' on the cache which maintains a separate
index per handle, meaning we do not need to synchronize the cache indexes between
peers and peers are able to reference the singular cache.

Copy link
Copy Markdown
Collaborator Author

blt commented Jul 7, 2025

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@blt blt added the no-changelog label Jul 7, 2025 — with Graphite App
@blt blt marked this pull request as ready for review July 7, 2025 21:20
@blt blt requested a review from a team as a code owner July 7, 2025 21:20
@blt blt changed the base branch from blt/add_parallel_connections_to_unix_stream to graphite-base/1412 July 7, 2025 23:09
@blt blt force-pushed the blt/allow_block_cache_to_have_a_handle_concept branch from 4f4df98 to f92461d Compare July 7, 2025 23:09
@blt blt changed the base branch from graphite-base/1412 to blt/fix_dogstatsd_regression_test July 7, 2025 23:09
@blt blt mentioned this pull request Jul 7, 2025
@blt blt force-pushed the blt/allow_block_cache_to_have_a_handle_concept branch 2 times, most recently from 69cb9ee to 053d52d Compare July 7, 2025 23:23
@blt blt force-pushed the blt/fix_dogstatsd_regression_test branch from 8910efb to e3c2a59 Compare July 7, 2025 23:23
@blt blt changed the base branch from blt/fix_dogstatsd_regression_test to graphite-base/1412 July 7, 2025 23:24
@blt blt force-pushed the graphite-base/1412 branch from e3c2a59 to 432f76e Compare July 7, 2025 23:46
@blt blt force-pushed the blt/allow_block_cache_to_have_a_handle_concept branch from 053d52d to 34e9e22 Compare July 7, 2025 23:46
@blt blt changed the base branch from graphite-base/1412 to blt/add_parallel_connections_to_unix_stream July 7, 2025 23:47
@blt blt force-pushed the blt/allow_block_cache_to_have_a_handle_concept branch from 34e9e22 to 18c009e Compare July 8, 2025 00:02
blt added 3 commits July 7, 2025 17:03
With the parallel_connection addition to unix_stream we now must solve
the problem of high connection count causing non-trivial cache duplication.
This is done by allowing for a 'handle' on the cache which maintains a separate
index per handle, meaning we do not need to synchronize the cache indexes between
peers and peers are able to reference the singular cache.

Signed-off-by: Brian L. Troutwine <brian.troutwine@datadoghq.com>
Signed-off-by: Brian L. Troutwine <brian.troutwine@datadoghq.com>
Signed-off-by: Brian L. Troutwine <brian.troutwine@datadoghq.com>
@blt blt force-pushed the blt/add_parallel_connections_to_unix_stream branch from 2975308 to 2dc22d6 Compare July 8, 2025 00:04
@blt blt force-pushed the blt/allow_block_cache_to_have_a_handle_concept branch from 18c009e to 1846283 Compare July 8, 2025 00:04
@blt blt changed the base branch from blt/add_parallel_connections_to_unix_stream to graphite-base/1412 July 9, 2025 15:31
@blt blt merged commit 738d6ad into graphite-base/1412 Jul 9, 2025
39 of 40 checks passed
@blt blt deleted the blt/allow_block_cache_to_have_a_handle_concept branch July 9, 2025 15:52
blt added a commit that referenced this pull request Jul 14, 2025
This commit is a rescue of #1408
without the accidental merge-in of #1412.
The goal is to reach configuration pairity with unix_datagram.

Signed-off-by: Brian L. Troutwine <brian.troutwine@datadoghq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant