《分布式系统中的超时、重试和幂等性.pdf》由会员分享,可在线阅读,更多相关《分布式系统中的超时、重试和幂等性.pdf(181页珍藏版)》请在三个皮匠报告上搜索。
1、DEFINITION OF INSANITYTimeouts,Retries and Idempotencyhttps:/ 2025 Sam Newman&Associates LtdSam NewmanBuilding Resilient Distributed Systems Patterns and Practices for Stable SoftwareTimeouts,retries,and idempotencyhttps:/ definition of insanity is doing the same thing over and over again and expect
2、ing a different result”https:/commons.wikimedia.org/wiki/File:Albert_Einstein_1947.jpghttps:/ SystemsDistributed SystemA system which consists of two or more computers connected by networkshttps:/ distributed system is one in which the failure of a computer you didnt even know existed can render you
3、r own computer unusable.”-Leslie Lamporthttps:/ Golden Ruleshttps:/ 2025 Sam Newman&Associates LtdTHE THREE GOLDEN RULES OF DISTRIBUTED COMPUTING1.You cant beam information between two points instantlyhachyderm.io/samnewmanCopyright 2025 Sam Newman&Associates LtdTHE THREE GOLDEN RULES OF DISTRIBUTED
4、 COMPUTING1.You cant beam information between two points instantly2.Sometimes,you cant reach the thing you want to talk tohachyderm.io/samnewmanCopyright 2025 Sam Newman&Associates LtdTHE THREE GOLDEN RULES OF DISTRIBUTED COMPUTING1.You cant beam information between two points instantly2.Sometimes,y
5、ou cant reach the thing you want to talk to3.Resources are not infinitehttps:/ 2025 Sam Newman&Associates LtdTimeoutshachyderm.io/samnewmanCopyright 2025 Sam Newman&Associates LtdTimeoutsA threshold after which a request will be terminated if not completedhachyderm.io/samnewmanCopyright 2025 Sam New
6、man&Associates LtdGiving up after a certain period of timehachyderm.io/samnewmanCopyright 2025 Sam Newman&Associates LtdTHE THREE GOLDEN RULES OF DISTRIBUTED COMPUTING1.You cant beam information between two points instantly2.Sometimes,you cant reach the thing you want to talk to3.Resources are not i