Idempotency - What it is and How to Implement it

  Рет қаралды 11,204

Alex Hyett

Alex Hyett

Күн бұрын

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: ko-fi.com/alexhyett
📨 Join my free weekly newsletter for advice, technology and more: newsletter.alexhyett.com
📝 Video Transcript: www.alexhyett.com/idempotency
🗺️ Backend Developer Roadmap: www.alexhyett.com/backend-dev...
Subscribe for more content: / @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 - www.alexhyett.com/
🐘 Mastodon - social.alexhyett.com/@alex
💼 LinkedIn - / alexhyett
🧑🏻‍💻 Dev.to - dev.to/alexhyettdev
🧑‍💻 WHO AM I
I’m Alex, a Software Developer and KZbin 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 KZbin Channel, I also write articles on my website (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 - academy.zerotomastery.io/a/af...
The Complete Junior to Senior Web Developer Roadmap - academy.zerotomastery.io/a/af...
C#/.NET Bootcamp: The Fundamentals: academy.zerotomastery.io/a/af...
Complete SQL + Databases Bootcamp - academy.zerotomastery.io/a/af...
📚 RECOMMENDED BOOKS
Clean Code - geni.us/5AEwj2
Design Patterns - geni.us/5ncUt
Developer Hegemony - geni.us/lAXy
Pragmatic Programmer - geni.us/GfNj9
Data Structures and Algorithms Made Easy - geni.us/sqg6kJ
Refactoring - geni.us/ufAP0mE
Pragmatic Thinking and Learning - 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

Пікірлер: 23
@thathawayaerialphotos
@thathawayaerialphotos 8 ай бұрын
One of the only channels that can deliver such comprehensible stuff in 5 mins!
@alexhyettdev
@alexhyettdev 8 ай бұрын
Thanks Tom!
@testingfsqc
@testingfsqc 6 ай бұрын
Kids, this is how you explain Idempotency :). Great stuff @Alex
@alexhyettdev
@alexhyettdev 6 ай бұрын
Thanks!
@isurujn
@isurujn 6 ай бұрын
I'm a new subscriber and I'm binging the videos because the way you describe concepts, problems and solutions with animations is really helpful and drives the point home.
@alexhyettdev
@alexhyettdev 6 ай бұрын
Thanks, I am glad they help.
@yuriiboiko679
@yuriiboiko679 3 ай бұрын
Thanks for short and clear video. Animation is always helpful !
@user-rs2ll4dm2t
@user-rs2ll4dm2t 3 ай бұрын
Nice explaination , btw which tool have you used for making the diagram , looks nice
@davitavetikyan9652
@davitavetikyan9652 5 ай бұрын
Great explained.
@zeeshanwallet7724
@zeeshanwallet7724 2 ай бұрын
amazing to the point tutorial 👍
@Buddfox
@Buddfox 8 ай бұрын
Important topic for resilience and SRE
@user-lo9ih5wd1l
@user-lo9ih5wd1l 24 күн бұрын
is so cool 🎯🥇✔
@jval7
@jval7 7 ай бұрын
great
@hanzalaansari5384
@hanzalaansari5384 6 ай бұрын
Do you live in 3 different time dimensions?
@alexhyettdev
@alexhyettdev 6 ай бұрын
Yes the joys of being a time traveller! P.S. It is the time clock in the car in back to the future. It is just a cool desk light my wife bought for me.
@Lion_McLionhead
@Lion_McLionhead 2 ай бұрын
The lion kingdom was nothing but idempotent after 40 years of attainable women.
@jneves8827
@jneves8827 8 ай бұрын
Yesterday, I studied this content, and the method Gets doesn't send mensagem in the body.
@alexhyettdev
@alexhyettdev 8 ай бұрын
Yes that’s correct, you can’t send a body with a GET request but there will be a body in the response.
@maryconner8922
@maryconner8922 3 ай бұрын
How to make a fake wishing well from Styrofoam
@maryconner8922
@maryconner8922 3 ай бұрын
3:30
@maryconner8922
@maryconner8922 3 ай бұрын
7th mi
@maryconner8922
@maryconner8922 3 ай бұрын
How to carve rock patterns from Styrofoam
@cannabisanomaly
@cannabisanomaly Ай бұрын
anyone else been going through life pronouncing this is "eye-dim-puh-ten-see"?
8 DATA STRUCTURES You NEED to Know
10:50
Alex Hyett
Рет қаралды 8 М.
How to do Performance Testing with k6
9:55
Alex Hyett
Рет қаралды 21 М.
When someone reclines their seat ✈️
00:21
Adam W
Рет қаралды 28 МЛН
СНЕЖКИ ЛЕТОМ?? #shorts
00:30
Паша Осадчий
Рет қаралды 6 МЛН
She ruined my dominos! 😭 Cool train tool helps me #gadget
00:40
Go Gizmo!
Рет қаралды 48 МЛН
First Programming languages to Learn in 2024
18:04
Roman V.
Рет қаралды 9 М.
What is API Idempotency and Why Is It Important?
12:13
Be A Better Dev
Рет қаралды 37 М.
5 Design Patterns That Are ACTUALLY Used By Developers
9:27
Alex Hyett
Рет қаралды 186 М.
How To Make Your API Idempotent To Stop Duplicate Requests
14:26
Milan Jovanović
Рет қаралды 23 М.
How to (and how not to) design REST APIs
14:28
CodeOpinion
Рет қаралды 47 М.
Domain Driven Design: What You Need To Know
8:42
Alex Hyett
Рет қаралды 96 М.
Idempotency in APIs: you should be aware of this!
7:31
Software Developer Diaries
Рет қаралды 9 М.
Monolithic vs Microservice Architecture: Which To Use and When?
10:43
REST API Interview Questions (Advanced Level)
6:19
Exponent
Рет қаралды 57 М.
Cadiz smart lock official account unlocks the aesthetics of returning home
0:30
📦Он вам не медведь! Обзор FlyingBear S1
18:26
iPhone 12 socket cleaning #fixit
0:30
Tamar DB (mt)
Рет қаралды 38 МЛН
Неразрушаемый смартфон
1:00
Status
Рет қаралды 894 М.
TOP-18 ФИШЕК iOS 18
17:09
Wylsacom
Рет қаралды 738 М.