|
|
|
|
|
by omtinez
3206 days ago
|
|
I fail to understand the need to re-use terms from other fields in a completely twisted way. For those like me wondering what an "idempotent API" is: making multiple identical requests has the same effect as making a single request[1]. Then you have other people using the exact same term to refer to a (seemingly) totally different concept: An idempotent operation completes no more than one time[2]. Maybe I'm thicker than the average web developer, but I think that there must be a simpler way to explain this concept. Specially without reusing a term that, formally, means something completely different[3] than any of the possible interpretations that I have come up with so far. [1] http://www.restapitutorial.com/lessons/idempotency.html
[2] http://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_In...
[3] https://en.wikipedia.org/wiki/Idempotence |
|
> If you launch your instance using run-instances (AWS CLI), ec2-run-instances (Amazon EC2 CLI), or RunInstances, you can optionally provide a client token to ensure that the request is idempotent. If you repeat a request, the same response is returned for each repeated request. The only information that might vary in the response is the state of the instance.
These are also both the same as the original mathematical definition. You're right about term overloading in the general case, but this isn't really an example of that.