MENU

Fun & Interesting

Idempotency - What it is and How to Implement it

Alex Hyett 26,213 lượt xem 1 year ago
Video Not Working? Fix It Now

It is important to understand idempotency if you are going to be building APIs that are open to the public. Idempotency is especially useful when you have operations that must only occur once like making in a payment. In this video I give an overview of what idempotency is, why we use it and how to implement it.

📝 Video Transcript: https://www.alexhyett.com/idempotency/
👨‍💻 Code: https://code.alexhyett.com/alexhyett/idempotency

📨 Free Newsletter: https://www.alexhyett.com/newsletter/ — Join my free weekly newsletter for advice, technology and more
❤️ Support my channel: https://www.alexhyett.com/supporters/ — Say thanks by buying me a coffee or becoming a loyal supporter.
🎓 Courses: https://www.alexhyett.com/courses/ — Like the way I teach? You might like my courses too!
👨‍💻 All Code: https://code.alexhyett.com/alexhyett/youtube-code —Links to all the code for my YouTube videos can be found here.

⏳ CHAPTERS
00:00 - Introduction
01:05 - Idempotency Definition
01:27 - Idempotency in HTTP methods
03:37 - Making POST and PATCH Idempotent
04:44 - Globally Unique Keys
05:05 - Idempotency Storage
05:51 - Idempotency Workflow
06:11 - How long to store Idempotency Keys
06:47 - Idempotency Validation
07:21 - Idempotency in .Net Core
07:40 - Support the Channel

🔗 SOCIAL LINKS
🐘 Mastodon — https://social.alexhyett.com/@alex
💼 LinkedIn — https://www.linkedin.com/in/alexhyett/
☁️ Bluesky — https://bsky.app/profile/alexhyett.com

🧑‍💻 WHO AM I
I’m Alex, a Software Developer and YouTube working in the UK. I make videos about software development to help developers with the skills they need to be senior developers.

As well as this YouTube Channel, I also write articles on my website (https://alexhyett.com) as well as write a regular newsletter that contains some thoughts to help aspiring developers.

#coding #programming #develope

Comment