系统设计学习笔记

系统设计学习笔记

各公司系统架构github资料

据说看完这篇推文需要花费一年的时间

https://mp.weixin.qq.com/s?__biz=MzkwOTIxNDQ3OA==&mid=2247533367&idx=1&sn=53658678cf674fef6dadd8e8505f642d&source=41#wechat_redirect

免费的编程中文书籍索引

https://github.com/justjavac/free-programming-books-zh_CN#分布式系统

互联网公司经典技术架构

https://github.com/davideuler/architecture.of.internet-product

《后端架构师技术图谱》

https://github.com/xingshaocheng/architect-awesome

缓存更新方案

缓存更新-定时轮询

主要说明: 保存两份缓存 一个读 一个构建写 可以确保构建时不阻塞写

缓存加分桶设计解决高并发

一般使用缓存方式:

  1. 查询走缓存
  2. 一定策略构建缓存key
  3. 缓存的更新策略 任务轮询或查询自动触发
  4. 设置缓存的延时

由于缓存在写入时会阻塞读,因此设计多个桶

image-20210621131019016

缓存一致性确定

rocketMQ保证

原文地址:https://www.cnblogs.com/albertXe/p/14960165.html