Skip to content

Memory cache with backplane? #272

Answered by jodydonetti
SbiCA asked this question in Q&A
Jul 17, 2024 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

And I was assume that the backplane would also send along the new data to cache

Can confirm: the backplane only sends a notification, meaning a "signal", without the actual data.
This has been a specific design decision because with multiple nodes, each of them will have its own set of data cached locally (each local memory cache is not the same as all the others, it is based on local requests received on each node), and a lot of times an updated piece of data is not present on most of the other nodes (so there's nothing to update), and/or it will not be requested again on some other nodes, so it would be a waste to update them.

Sending the data with each notification would waste a ton …

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@SbiCA
Comment options

@jodydonetti
Comment options

Answer selected by SbiCA
@jodydonetti
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
2 participants