STRIPE SYSTEM DESIGN with MS Engineer
Article: https://andreyka26.com/payment-gateway-stripe-system-design-with-microsoft-engineer Telegram: https://t.me/programming_space Instagram: https://www.instagram.com/andreyka26_se/ X: https://x.com/andreyka26_ Tiktok: https://www.tiktok.com/@andreyka26__ Hey everyone! I’m a Software Engineer at Microsoft working on high-load distributed systems. Over the years, I’ve come across many system design solutions for Stripe aka Payment Gateway and I have seen a lot of crucial details missed there. So today we will do the most complete and details system design solution for Stripe We’ll cover: - How Cart Network (Visa, Mastercard) works, why do we need to use it - How the integration with bank and with card network works - How stripe handles 500 million payments per day (and we will design it) - How to do it highly availble, with use of replication and still linearizable (strongly consistent) 00:00 Intro 00:39 Payments Domain background 01:40 How Stripe moves funds from card to merchant 05:33 How Card Network (Visa, MC) works 07:25 Define Functional Reqs 10:06 Define Non-Functional Reqs 13:02 Satisfy Functional reqs 17:02 Avoid Double Charge (CAS) 20:28 Finishing Functional reqs 22:41 Non-Functional reqs 22:58 Scale APIs and Storages 26:53 High availability, CAP 29:07 Leader-Follower vs Leader-Leader vs RAFT 30:59 continue with High Availability 33:56 Improve architecture with Kafka 36:24 Deliver webhook at least once 37:18 Kafka scaling + availability 37:43 Handling spikes 38:36 Conclusion & Feedback
Download
1 formatsVideo Formats
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.