sunisdown / note

note
1 stars 0 forks source link

Design system for predictable #7

Open sunisdown opened 2 years ago

sunisdown commented 2 years ago

今天在看 DynamoDB 论文的时候,看见这一个观点。

Designing systems for predictability over absolute efficiency improves system stability. While components such as caches can improve performance, do not allow them to hide the work that would be performed in their absence, ensuring that the system is always provisioned to handle the unexpected.

想起来之前看 Anna 论文的时候,看起来性能很牛,但是真正想实践一下的时候,感觉不靠谱。cache 的引入会导致系统的性能不好预测,系统维护也需要投入非常多的经历维护 cache 的策略,用户也琢磨不透这个系统什么时候性能好,什么时候性能坏。学术界跟工业界的做事情的风格还是不一样。工业界都是一个个坑踩出来的。