No video

Here's why implementing a Payment System can be so hard

  Рет қаралды 4,478

Software Developer Diaries

Software Developer Diaries

4 ай бұрын

Check out Cryptomus: cryptomus.com/...
Cryptomus on Telegram - t.me/+eo6zMdge...
======⚡⚡⚡======
Designing and building an in-house Payment System is not trivial. In includes many components that communicate asynchronously in an event-driven manner, usually with Kafka, meaning there are many different ways the system can malfunction. We're going to cover the major components of a system, what reconciliation is, how to process slow requests with long-polling and web hooks, as well as talk about idempotency.
☕ Buy me a coffee: www.buymeacoff...
🙌 Become my Patreon and get exclusive perks: / softdevdiaries
💼 Follow me on LinkedIn and drop me a message if you'd like: / gadirovgs
💻 Also, let's connect on GitHub: github.com/gusgad
And don't forget to subscribe for more videos like this 😊

Пікірлер: 13
@SoftwareDeveloperDiaries
@SoftwareDeveloperDiaries 4 ай бұрын
Have you already tried working with payments? What was your experience? 🤓 And don't forget to try out Cryptomus: cryptomus.com/? 💫
@Finn-jp6pn
@Finn-jp6pn 4 ай бұрын
Thanks. Learned a new concept today... reconciliation
@SoftwareDeveloperDiaries
@SoftwareDeveloperDiaries 4 ай бұрын
I'm so glad!
@kdrenski2471
@kdrenski2471 4 ай бұрын
Cool video! Thanks for sharing! 🎉 Just one notice - what about having API gateways in front of the core services, like the payments service, the transaction service, etc.? I think they are necessary for filtering the requests and for auth when your internal services communicate with 3rd party providers like the PSP. What do you think about that?
@SoftwareDeveloperDiaries
@SoftwareDeveloperDiaries 4 ай бұрын
Thank you! Yes, you’re totally right. I’ve covered that in my videos too, but left it out in this one just for the sake if simplicity 😉
@the-unspectd
@the-unspectd Ай бұрын
It doesn't really feel idempotent to return 429 instead of the actual previous operation result - 200
@ShujaatAli-sx1ou
@ShujaatAli-sx1ou Ай бұрын
Can you explain a bit more about the ledger and user wallet? First question: Are we going to store user credit/debit card information in the ledger? In the user wallet, we will store the user transactions (amount, discounts, etc.). Second question: How do we reconcile between these two modules, the ledger and the user wallet?
@Aleks-fp1kq
@Aleks-fp1kq 4 ай бұрын
A bit confused with the reconciliation process. If I understand it correctly, this is basically eventual consistency, because eventually all of these individual DB will be consistent. But in the example, I think it would not be advisable to go down that road, as in, what to do if the DBs are not in sync, how much money does the user have, should he be allowed to purchase?
@SoftwareDeveloperDiaries
@SoftwareDeveloperDiaries 4 ай бұрын
Good question. If a user’s balance is inconsistent across replicas, decisions like allowing a purchase become critical. Systems must handle such scenarios gracefully, perhaps by blocking transactions until consistency is restored
@cse9003
@cse9003 4 ай бұрын
love it,what is the program name you're using for the sketching and diagrams
@SoftwareDeveloperDiaries
@SoftwareDeveloperDiaries 4 ай бұрын
Eraser :)
@blackrock2222
@blackrock2222 4 ай бұрын
Very Nice video! ❤
@SoftwareDeveloperDiaries
@SoftwareDeveloperDiaries 4 ай бұрын
Thanks mate!
A better alternative to plain Microservices (Self-Contained Systems)
15:22
Software Developer Diaries
Рет қаралды 3,3 М.
WHO CAN RUN FASTER?
00:23
Zhong
Рет қаралды 24 МЛН
Spot The Fake Animal For $10,000
00:40
MrBeast
Рет қаралды 209 МЛН
Finger Heart - Fancy Refill (Inside Out Animation)
00:30
FASH
Рет қаралды 32 МЛН
黑天使遇到什么了?#short #angel #clown
00:34
Super Beauty team
Рет қаралды 35 МЛН
Payment Gateway - All you need to know! - Yadvendra Tyagi, PayU
46:47
A Beginner's Guide to Event-Driven Architecture
37:28
Software Developer Diaries
Рет қаралды 9 М.
Is HTMX a Joke??
32:15
Syntax
Рет қаралды 20 М.
How does Caching on the Backend work? (System Design Fundamentals)
22:45
Software Developer Diaries
Рет қаралды 34 М.
System Design Interview: Design Amazon Kindle Payments
33:50
Exponent
Рет қаралды 19 М.
Microservices with Databases can be challenging...
20:52
Software Developer Diaries
Рет қаралды 23 М.
Event Driven Architecture EXPLAINED in 15 Minutes
14:55
Continuous Delivery
Рет қаралды 28 М.
Deep Dive into REST API Design and Implementation Best Practices
12:02
Software Developer Diaries
Рет қаралды 45 М.
API Gateway vs Load Balancer vs Reverse Proxy: when to use what?
9:06
Software Developer Diaries
Рет қаралды 12 М.
WHO CAN RUN FASTER?
00:23
Zhong
Рет қаралды 24 МЛН