正在加载视频...

视频加载失败

A backend practice that might crash your system.

33,065 次观看 • 7 个月前 •via X (Twitter)

19 条评论

Abioye_E.?T 的头像
Abioye_E.?T7 个月前

Bro, just let your Db handle the unique constrain on create before debit.

thedefiprof 的头像
thedefiprof7 个月前

This is quite safe but can still easily be hacked 🥲.

👾 的头像
👾7 个月前

Hmm

F.O.L.A 的头像
F.O.L.A7 个月前

🎥/tk: @tobio133

Designer 的头像
Designer7 个月前

This code sef isn’t safe enough

Shettimax 的头像
Shettimax7 个月前

skill issue , your database design should handle this !

F.O.L.A 的头像
F.O.L.A7 个月前

How

John Doe 的头像
John Doe7 个月前

Good stuff. I recently wrote something on the same. Let us talk about idempotency.

MEGAMIND 的头像
MEGAMIND7 个月前

He didn't explain this well enough. But okay.

Greatness 的头像
Greatness7 个月前

Fintech engineers, i greet una😂😂

Odera 的头像
Odera7 个月前

I nearly got wrecked by this. Thank God my user reported the bug on time.

Elchapi 的头像
Elchapi7 个月前

Everything is pay pay pay pay pay can’t you guys ever code anything else ?

John A 的头像
John A7 个月前

More of that waiting for me tomorrow morning 🥺

Mr. Kenny 的头像
Mr. Kenny7 个月前

I'd recommend 2-phase commit

Vencedor Zest 的头像
Vencedor Zest7 个月前

🙏

NickieNickie 的头像
NickieNickie7 个月前

Let's connect

The Tech Prophet (Amospikins) 的头像
The Tech Prophet (Amospikins)6 个月前

Sharrrrppppp

Novha 21012 的头像
Novha 210127 个月前

The principle of idempotency when dealing with payments or checkout: Your system must return the same result when given the same input. So here a payment exists just return 200 or 201. This useful for situations where a payment request is sent more than once.

Leeu 的头像
Leeu7 个月前

This is not idempotency. You are simply returning everything response to the caller. That is not what idempotency is about.

相关视频