Skip to content

Details

Level up your system design skills and make your users' lives better with this one weird trick.

Have you ever seen a submit button get disabled after clicking it?
Have you ever seen the same comment twice in a row on a blog?
Have you ever seen the same comment twice in a row on a blog?

It seems like some team didn't make their system idempotent.

Idempotent literally means "same power", and it's a concept that will make your APIs more robust, make it so your microservices can function at all, and provide lots of fun when trying to figure out how to pronounce it

Simply put, when an idempotent operation is called once or called a million times, the end result is exactly the same. Did you get a network failure during your API call, and you're not sure if you actually charged your customer's credit card? Not a problem if your API is idempotent. Did your autonomous microservice just encounter a message it has already handled, and you're not sure if you should wire the 10 million dollars again? Not a problem if your handlers are idempotent.

We'll go through principles of idempotence as well as looking at a way to code up idempotent operations.

Ethan is aSystems Architect at Aumni.

Links:
practicalmicroservices.com
twitch.tv/ethangarofolo

Join Online:
https://twitch.tv/coolaj86
https://www.youtube.com/@utahstackjs/streams
https://meet.jit.si/utah-stack-js (ping in the discord if this isn't up)

Join In-Person:
Vivint @ Lehi
3401 Ashton Blvd, Lehi, UT 84043

Goodies:

Digital Ocean ($100 or 60 days Free): https://m.do.co/c/18ec10e74dae
Name.com Domains: https://www.name.com/referral/13d0ac
DuckDNS: https://duckdns.org
Best Tools for Web Dev: https://webinstall.dev
Creeds of Craftsmanship: https://creedsofcraftsmanship.com

Related topics

Events in Lehi, UT
Network Engineering
Database Professionals
Web Development
Web Standards
Database Backends

You may also like