4 ms·
Event-driven architecture going haywire, think S3 --> Lambda recursion
by zoover2020 4y ago
Event-driven architecture going haywire, think S3 --> Lambda recursion
- zmgsabst 4y agoRight — I understand why idempotency is a good idea. What makes this “serverless” rather than just good design, even if your API is on a traditional server?
- ldoughty 4y agoFailure rate is higher in cloud severless than on transitional machines or in VMs... Especially since many people do not do the extra steps necessary to skip going too the edge of the cloud provider and back in.. do they often go through additional services that can break that make never would when the requests are on the same box. We see something like .0001% failure rate with API gateway behind custom DNS, and supports response was "this is in SLA, try adding retry code" (which needs idempotency). So we have to do extra engineering, including idempotency and bypassing API gateway in some cases, to mitigate the issue.