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

RedisCache: port to MessageId invariants #1516

Merged
merged 5 commits into from
Mar 8, 2024

Conversation

rukai
Copy link
Member

@rukai rukai commented Mar 6, 2024

This one was a bit tricky since the transform sends requests down a redis chain and waits for the responses before sending anything to cassandra.
So in order to fit the the new invariants we need to seperately keep track of what responses we are waiting for from both redis and cassandra.
However in the end it didnt add too much more complexity.
Once shotover reaches the point where it can send without waiting for responses, this transform will benefit from it greatly since it can respond to any cached requests immediately even if there are uncached requests in the same batch, before this PR that was impossible.

Additionally this is the final transform that required porting, so I've now removed the Deprecated invariants from the transform invariants documentation.
We can now proceed with making use of the lack of those invariants to improve shotover throughput.

@rukai rukai enabled auto-merge (squash) March 8, 2024 02:40
@rukai rukai merged commit 1ba1c48 into shotover:main Mar 8, 2024
40 checks passed
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.

3 participants