Idempotency - What it is and How to Implement it

  Рет қаралды 9,372

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

Пікірлер: 22
@thathawayaerialphotos
@thathawayaerialphotos 7 ай бұрын
One of the only channels that can deliver such comprehensible stuff in 5 mins!
@alexhyettdev
@alexhyettdev 7 ай бұрын
Thanks Tom!
@isurujn
@isurujn 5 ай бұрын
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 5 ай бұрын
Thanks, I am glad they help.
@Buddfox
@Buddfox 7 ай бұрын
Important topic for resilience and SRE
@yuriiboiko679
@yuriiboiko679 2 ай бұрын
Thanks for short and clear video. Animation is always helpful !
@zeeshanwallet7724
@zeeshanwallet7724 Ай бұрын
amazing to the point tutorial 👍
@davitavetikyan9652
@davitavetikyan9652 4 ай бұрын
Great explained.
@testingfsqc
@testingfsqc 5 ай бұрын
Kids, this is how you explain Idempotency :). Great stuff @Alex
@alexhyettdev
@alexhyettdev 5 ай бұрын
Thanks!
@user-rs2ll4dm2t
@user-rs2ll4dm2t 2 ай бұрын
Nice explaination , btw which tool have you used for making the diagram , looks nice
@hanzalaansari5384
@hanzalaansari5384 5 ай бұрын
Do you live in 3 different time dimensions?
@alexhyettdev
@alexhyettdev 5 ай бұрын
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.
@jval7
@jval7 6 ай бұрын
great
@jneves8827
@jneves8827 7 ай бұрын
Yesterday, I studied this content, and the method Gets doesn't send mensagem in the body.
@alexhyettdev
@alexhyettdev 7 ай бұрын
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 2 ай бұрын
How to make a fake wishing well from Styrofoam
@maryconner8922
@maryconner8922 2 ай бұрын
3:30
@maryconner8922
@maryconner8922 2 ай бұрын
7th mi
@maryconner8922
@maryconner8922 2 ай бұрын
How to carve rock patterns from Styrofoam
@Lion_McLionhead
@Lion_McLionhead Ай бұрын
The lion kingdom was nothing but idempotent after 40 years of attainable women.
@cannabisanomaly
@cannabisanomaly 18 күн бұрын
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
Рет қаралды 7 М.
The World's Fastest Cleaners
00:35
MrBeast
Рет қаралды 135 МЛН
Мама забыла взять трубочку для колы
00:25
Даша Боровик
Рет қаралды 1,3 МЛН
одни дома // EVA mash @TweetvilleCartoon
01:00
EVA mash
Рет қаралды 6 МЛН
Balloon Pop Racing Is INTENSE!!!
01:00
A4
Рет қаралды 15 МЛН
Problem with event
1:35
Adam Zakaria
Рет қаралды 8
What is API Idempotency and Why Is It Important?
12:13
Be A Better Dev
Рет қаралды 37 М.
8 Design Patterns EVERY Developer Should Know
9:47
NeetCode
Рет қаралды 975 М.
How Hackers Hack WiFi using OSINT
7:27
CyberSudo
Рет қаралды 4,2 М.
Event-Driven Architecture: Explained in 7 Minutes!
7:18
Alex Hyett
Рет қаралды 73 М.
20 System Design Concepts Explained in 10 Minutes
11:41
NeetCode
Рет қаралды 836 М.
Domain Driven Design: What You Need To Know
8:42
Alex Hyett
Рет қаралды 86 М.
Handling Duplicate Messages (Idempotent Consumers)
12:08
CodeOpinion
Рет қаралды 22 М.
Idempotency and Ordering
6:17
CockroachDB
Рет қаралды 2,3 М.
СЛОМАЛСЯ ПК ЗА 2000$🤬
0:59
Корнеич
Рет қаралды 2,3 МЛН
Он Отказался от БЕСПЛАТНОЙ видеокарты
0:40
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 1,8 МЛН
СЛОМАЛСЯ ПК ЗА 2000$🤬
0:59
Корнеич
Рет қаралды 2,3 МЛН