3 ms·
The idempotent operation is usually "Ensure that a VM exists with this name and spec". An advantage of this style is that if the client dies or times out durin
by tlb 7y ago
The idempotent operation is usually "Ensure that a VM exists with this name and spec".
An advantage of this style is that if the client dies or times out during the (long) operation, it can retry and get the same answer instantly.
- MadWombat 7y agoWhat happens if some other process has already created a VM with this name and spec? Under most realistic scenarios I would rather VM creation failed than silently clobber someone else's VM.