2 ms·
What he's saying is that everything should be idempotent, which may be possible for local only calls and filesystem snapshots, but anything doing a network call
by karolist 2y ago
What he's saying is that everything should be idempotent, which may be possible for local only calls and filesystem snapshots, but anything doing a network call is outside the realm of this possibility. Such a system would need to spin up a local, accurate backend for any network call, execute the call, verify the results are not catastrophic and retry with a real call, but then we also introduce time caused uncertainty as the real system may drift enough from the expected state during the local validation. A fun thought experiment but science fiction IMHO.
- mindslight 2y agonit: that's not what idempotent means
- karolist 2y agodang, I think you're right, my mind branched off somewhere it seems. I was thinking of how operations can be executed multiple times (verification + actual result run) with effect being applied only once.