架构经验
淘宝架构经验:
1、适当放弃一致性
2、备份和隔离解决稳定性问题
3、应用拆分和异步解决性能问题(HSF框架)
4、自动化降低人力成本(类似 eBay 的 Automate Everything)
5、产品化管理
6、应用无状态
7、有效使用缓存:local cache 和 remote cache、浏览器缓存、反向代理缓存、页面缓存、局部页面缓存、对象缓存等等。
8、
eBay 架构经验:
1、 Partition Everything
2、 Asynchrony Everywhere
3、 Automate Everything
4、 Remember Everything Fails
5、 Embrace Inconsistency
6、 Expect (R)evolution
7、 Dependencies Matter
8、 Be Authoritative
9、 Never Enough Data
10、Custom Infrastructure
?
关于一致性,可以延伸阅读 Amazon CTO 的大作 Eventually Consistent。
强调了"放弃集中的紧耦合处理"的原则。"备份"这里可以理解为"提供可用的副本"。"分割"是说水平拆分。
?