Skip to content

How smart is readyset in deciding when to recalculate the cache? #10

Answered by alanamarzoev
selforganized asked this question in Q&A
Discussion options

You must be logged in to vote

Nope! The updated row gets sent to the TopK node, and the TopK node realizes that the value is outside the TopK node and discards it without requiring an expensive TopK calculation. In general, we only have to recalculate the TopK state if an element that was previously in the TopK is deleted. @dfwilbanks395 can go into greater depth if need be :)

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by jbensal
Comment options

You must be logged in to vote
1 reply
@glittershark
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants