" A subtle difference from the cache aside strategy is that the cache always stays consistent with the database in the read-through strategy.
The cache library, or the framework, takes the onus of maintaining consistency with the backend."
What cache library does to make cache consistent with db ?
- is it periodically poll db for changes? it does not guarantee data is consistent between period.
- Cache subscribes for changes in db ? it does not guarantee data is consistent until cache has successful updated data.