Skip to content

Optimize single-batch delete flushes in ActorCache#338

Merged
a-robinson merged 3 commits intomainfrom
arobinson/actorcache-flushimpl-opt
Feb 1, 2023
Merged

Optimize single-batch delete flushes in ActorCache#338
a-robinson merged 3 commits intomainfrom
arobinson/actorcache-flushimpl-opt

Conversation

@a-robinson
Copy link
Member

This is just doing the same thing for deletes (both muted and batch) that we already do for puts and alarm writes. Sorry for letting this sit for so long without finishing it up (especially since deletes should benefit the most from not needing transactions due to a quirk within cockroach transaction pipelining).


This PR is the same as #337, but this time from a branch in the main repo as opposed to a branch on my fork (so that CI will finish in a reasonable amount of time). Sorry for the noise -- I've now updated my local setup to make it much harder for me to make this mistake again.

...in advance of adding an additional case or two
This is the same thing we already do for unaccompanied put() batches and
alarm writes, but now also for unaccompanied muted delete batches.
This is the same thing we already do for unaccompanied put() batches,
alarm writes, and muted delete batches, but now also for counted deletes
that require only a single delete RPC in order to be satisfied.
@a-robinson a-robinson merged commit 441b05f into main Feb 1, 2023
@kentonv kentonv deleted the arobinson/actorcache-flushimpl-opt branch February 10, 2023 16:07
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.

2 participants