Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reacquire SQS shards only if they are stale #5338

Merged
merged 1 commit into from
Sep 2, 2024
Merged

Conversation

rdettai
Copy link
Contributor

@rdettai rdettai commented Aug 22, 2024

Description

Currently, shards are always reaquired when they re-appear in the SQS queue. We can limit this process to shards that are obviously stale based on their update timestamp.

How was this PR tested?

Added unit tests

@rdettai rdettai self-assigned this Aug 22, 2024
Copy link

github-actions bot commented Aug 22, 2024

On SSD:

Average search latency is 0.999x that of the reference (lower is better).
Ref run id: 3170, ref commit: 34a162f
Link

On GCS:

Average search latency is 1.01x that of the reference (lower is better).
Ref run id: 3171, ref commit: 34a162f
Link

@fulmicoton fulmicoton changed the title Reaquire SQS shards only if they are stale Reacquire SQS shards only if they are stale Aug 29, 2024
Base automatically changed from shard-pruning to main September 2, 2024 14:13
@rdettai rdettai enabled auto-merge (squash) September 2, 2024 14:17
@rdettai rdettai merged commit fc5ef16 into main Sep 2, 2024
5 checks passed
@rdettai rdettai deleted the sqs-stale-shards branch September 2, 2024 14:29
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