Idempotency - What it is and How to Implement it
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.
☕️ I don’t accept paid sponsorships and I have turned off mid-video ads. You’re welcome! If you would like to support my channel see: https://ko-fi.com/alexhyett
? Join my free weekly newsletter for advice, technology and more: https://newsletter.alexhyett.com
? Video Transcript: https://www.alexhyett.com/idempotency
?️ Backend Developer Roadmap: https://www.alexhyett.com/backend-developer-roadmap/
Subscribe for more content: https://youtube.com/@alexhyettdev
⏳ 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
? MY KEY LINKS
? Blog - https://www.alexhyett.com/
? Mastodon - https://social.alexhyett.com/@alex
? LinkedIn - https://www.linkedin.com/in/alexhyett/
??? Dev.to - https://dev.to/alexhyettdev
?? 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.
? RECOMMENDED COURSES (Use code FRIENDS10 for 10% off)
The Complete Web Developer Course - https://academy.zerotomastery.io/a/aff_r1613hhr/external?affcode=441520_ijj9itwx
The Complete Junior to Senior Web Developer Roadmap - https://academy.zerotomastery.io/a/aff_hpwn5xy9/external?affcode=441520_ijj9itwx
C#/.NET Bootcamp: The Fundamentals: https://academy.zerotomastery.io/a/aff_1478fv7q/external?affcode=441520_ijj9itwx
Complete SQL + Databases Bootcamp - https://academy.zerotomastery.io/a/aff_fd1vc7n6/external?affcode=441520_ijj9itwx
? RECOMMENDED BOOKS
Clean Code - https://geni.us/5AEwj2
Design Patterns - https://geni.us/5ncUt
Developer Hegemony - https://geni.us/lAXy
Pragmatic Programmer - https://geni.us/GfNj9
Data Structures and Algorithms Made Easy - https://geni.us/sqg6kJ
Refactoring - https://geni.us/ufAP0mE
Pragmatic Thinking and Learning - https://geni.us/x81A
‼️ DISCLAIMERS
Some of the links in this description are affiliate links, for which I get a small commission, at no extra cost to you ?. I appreciate you supporting my channel so I can continue providing you with free software development content!
#coding #programming #developer
☕️ I don’t accept paid sponsorships and I have turned off mid-video ads. You’re welcome! If you would like to support my channel see: https://ko-fi.com/alexhyett
? Join my free weekly newsletter for advice, technology and more: https://newsletter.alexhyett.com
? Video Transcript: https://www.alexhyett.com/idempotency
?️ Backend Developer Roadmap: https://www.alexhyett.com/backend-developer-roadmap/
Subscribe for more content: https://youtube.com/@alexhyettdev
⏳ 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
? MY KEY LINKS
? Blog - https://www.alexhyett.com/
? Mastodon - https://social.alexhyett.com/@alex
? LinkedIn - https://www.linkedin.com/in/alexhyett/
??? Dev.to - https://dev.to/alexhyettdev
?? 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.
? RECOMMENDED COURSES (Use code FRIENDS10 for 10% off)
The Complete Web Developer Course - https://academy.zerotomastery.io/a/aff_r1613hhr/external?affcode=441520_ijj9itwx
The Complete Junior to Senior Web Developer Roadmap - https://academy.zerotomastery.io/a/aff_hpwn5xy9/external?affcode=441520_ijj9itwx
C#/.NET Bootcamp: The Fundamentals: https://academy.zerotomastery.io/a/aff_1478fv7q/external?affcode=441520_ijj9itwx
Complete SQL + Databases Bootcamp - https://academy.zerotomastery.io/a/aff_fd1vc7n6/external?affcode=441520_ijj9itwx
? RECOMMENDED BOOKS
Clean Code - https://geni.us/5AEwj2
Design Patterns - https://geni.us/5ncUt
Developer Hegemony - https://geni.us/lAXy
Pragmatic Programmer - https://geni.us/GfNj9
Data Structures and Algorithms Made Easy - https://geni.us/sqg6kJ
Refactoring - https://geni.us/ufAP0mE
Pragmatic Thinking and Learning - https://geni.us/x81A
‼️ DISCLAIMERS
Some of the links in this description are affiliate links, for which I get a small commission, at no extra cost to you ?. I appreciate you supporting my channel so I can continue providing you with free software development content!
#coding #programming #developer
Alex Hyett
Software Engineering Made Simple.
Hi I am Alex, a professional software developer who has been writing code for over 25 years. My goal for this channel is to help developers learn the skills they need to get a job and progress in their careers. I believ...