In-memory cache VS. centralized cache in a distributed system

前端 未结 3 1677
生来不讨喜
生来不讨喜 2021-02-05 22:41

We\'re currently looking for the most suitable solution for accessing critical data on a distributed system, and we\'re considering whether to use in memory caching, versus a ce

3条回答
  •  遥遥无期
    2021-02-05 23:41

    Seems you should use centralized cache, sitting between your DB and App Layers where all DB read/writes pass through the cache with a write-through cache invalidation scheme.

提交回复
热议问题