3 ms·
> false sharing Usually the "cache invalidation" remark is about correctness and knowing when to invalidate, like for example making sure all your login tokens
by tbrownaw 4y ago
> false sharing
Usually the "cache invalidation" remark is about correctness and knowing when to invalidate, like for example making sure all your login tokens get expired when you change your password. This is about performance impacts from having multiple logical entities in one shared cached entity.
- stingraycharles 4y agoYes I’d say this is more along the lines of concurrency problems than caching problems: it’s about synchronizing access to memory (cache) between multiple cores.
- tremon 4y agoMore generally, it's about making sure that no consumer uses stale data, in the presence of multiple concurrent producers and consumers.