AlfieriChou / alfierichou.github.io

AlfieriChou的博客
https://alfierichou.com
4 stars 0 forks source link

缓存规则 #8

Open AlfieriChou opened 3 years ago

AlfieriChou commented 3 years ago
  1. 从分布式系统层面考虑
    • 集群缓存 (多服务只需要执行一次逻辑)
    • 系统缓存 (如果多服务同时访问,则会执行多次逻辑)
  2. 从机器内存层面考虑
    • 内存缓存 memory cache
    • 第三方服务缓存 例如:Redis