Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

A backend practice that might crash your system.

33,065 Aufrufe • vor 7 Monaten •via X (Twitter)

19 Kommentare

Profilbild von Abioye_E.?T
Abioye_E.?Tvor 7 Monaten

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

Profilbild von thedefiprof
thedefiprofvor 7 Monaten

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

Profilbild von 👾
👾vor 7 Monaten

Hmm

Profilbild von F.O.L.A
F.O.L.Avor 7 Monaten

🎥/tk: @tobio133

Profilbild von Designer
Designervor 7 Monaten

This code sef isn’t safe enough

Profilbild von Shettimax
Shettimaxvor 7 Monaten

skill issue , your database design should handle this !

Profilbild von F.O.L.A
F.O.L.Avor 7 Monaten

How

Profilbild von John Doe
John Doevor 7 Monaten

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

Profilbild von MEGAMIND
MEGAMINDvor 7 Monaten

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

Profilbild von Greatness
Greatnessvor 7 Monaten

Fintech engineers, i greet una😂😂

Profilbild von Odera
Oderavor 7 Monaten

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

Profilbild von Elchapi
Elchapivor 7 Monaten

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

Profilbild von John A
John Avor 7 Monaten

More of that waiting for me tomorrow morning 🥺

Profilbild von Mr. Kenny
Mr. Kennyvor 7 Monaten

I'd recommend 2-phase commit

Profilbild von Vencedor Zest
Vencedor Zestvor 7 Monaten

🙏

Profilbild von NickieNickie
NickieNickievor 7 Monaten

Let's connect

Profilbild von The Tech Prophet (Amospikins)
The Tech Prophet (Amospikins)vor 6 Monaten

Sharrrrppppp

Profilbild von Novha 21012
Novha 21012vor 7 Monaten

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.

Profilbild von Leeu
Leeuvor 7 Monaten

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

Ähnliche Videos