48

分布式系统接口幂等性 - 简书

 6 years ago
source link: https://www.jianshu.com/p/e99500b67e6b?
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
1.幂等性定义 1.1 数学定义 在数学里,幂等有两种主要的定义: 在某二元运算下,幂等元素是指被自己重复运算(或对于函数是为复合)的结果等于它自己的元素。例如,乘法下唯一两个幂等实数为0和1。 即 s *s = s某一元运算为幂等的时,其作用在任一元素两次后会和其作用一次的结果相同。例如,高斯符号便是幂等的,即f(f(x)) = f(x)。 1.2 HTTP规范的定义 在HTTP/1.1规...

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK