Загрузка видео...

Не удалось загрузить видео

На главную

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.

Похожие видео