Designing a Passively Safe API
danealbaugh.com
Designing a Passively Safe API
1–10 of 29 posts
Re: Designing a Passively Safe API
#2I thought that was what 'idempotent' meant.
Re: Designing a Passively Safe API
#3> In APIs, passively safe means failures (crashes, timeouts, retries, partial outages) can't produce duplicate work, surprise side effects, or unrecoverable state. I thought that was what 'idempotent' meant.
Re: Designing a Passively Safe API
#4Re: Designing a Passively Safe API
#5Re: Designing a Passively Safe API
#6That sounds like a lot of over engineering and a good way to never complete the project. Perfect is the enemy of good.
I am particularly not a fan of doing unnecessary work/over engineering, e.g. see https://charemza.name/blog/posts/agile/over-engineering/not-..., but even I think that sometimes things _are_ worth it
Re: Designing a Passively Safe API
#7That sounds like a lot of over engineering and a good way to never complete the project. Perfect is the enemy of good.
Being prepared for these things to happen and having code in place to automatically prevent, recognize and resolve these errors will keep you, the customers and everyone in between sane and happy.
Re: Designing a Passively Safe API
#8Didn't we get to the point where we realized that microservices cause too much trouble down the road?
Re: Designing a Passively Safe API
#9I have bad news for everyone. Nothing in computing is synchronous. Every instance we pretend it’s not and call it something else you have a potential failure under the right circumstances.
The more your design admits this the safer it will be. There are practical limits to this which you have to determine for yourself.