Idempotency - What it is and How to Implement it

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 มิ.ย. 2024
  • 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 TH-cam 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 TH-cam 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 7 หลายเดือนก่อน +6

    One of the only channels that can deliver such comprehensible stuff in 5 mins!

  • @isurujn
    @isurujn 6 หลายเดือนก่อน +7

    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.

  • @user-rs2ll4dm2t
    @user-rs2ll4dm2t 2 หลายเดือนก่อน +2

    Nice explaination , btw which tool have you used for making the diagram , looks nice

  • @testingfsqc
    @testingfsqc 5 หลายเดือนก่อน +2

    Kids, this is how you explain Idempotency :). Great stuff @Alex

  • @yuriiboiko679
    @yuriiboiko679 3 หลายเดือนก่อน +1

    Thanks for short and clear video. Animation is always helpful !

  • @davitavetikyan9652
    @davitavetikyan9652 4 หลายเดือนก่อน +2

    Great explained.

  • @zeeshanwallet7724
    @zeeshanwallet7724 2 หลายเดือนก่อน +1

    amazing to the point tutorial 👍

  • @Buddfox
    @Buddfox 8 หลายเดือนก่อน +1

    Important topic for resilience and SRE

  • @user-lo9ih5wd1l
    @user-lo9ih5wd1l 14 วันที่ผ่านมา

    is so cool 🎯🥇✔

  • @jval7
    @jval7 7 หลายเดือนก่อน

    great

  • @hanzalaansari5384
    @hanzalaansari5384 5 หลายเดือนก่อน +2

    Do you live in 3 different time dimensions?

    • @alexhyettdev
      @alexhyettdev  5 หลายเดือนก่อน +3

      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 หลายเดือนก่อน +1

    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 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

  • @cannabisanomaly
    @cannabisanomaly หลายเดือนก่อน

    anyone else been going through life pronouncing this is "eye-dim-puh-ten-see"?