paint-brush
How To Improve Your Backend By Adding Retries to Your API Callsby@corentin
19,728 reads
19,728 reads

How To Improve Your Backend By Adding Retries to Your API Calls

by Corentin9mJuly 24th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow
EN

Too Long; Didn't Read

How To Improve Your Backend By Adding Retries to Your API Calls. We'll explore adding status-code-specific retries to a request, making them incrementally longer with a technique called "back-off" This kind of remediation is crucial to ensuring your API calls are successful. Some libraries, like Node.js, support retries out of the box, while others like axios require a plugin. For example, we'll use 408, 500, 502, 503, 504, 522, and 524.

Company Mentioned

Mention Thumbnail
featured image - How To Improve Your Backend By Adding Retries to Your API Calls
Corentin HackerNoon profile picture
Corentin

Corentin

@corentin

Developer advocate at Bearer.sh - helping developers using APIs 🧸

About @corentin
LEARN MORE ABOUT @CORENTIN'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Corentin HackerNoon profile picture
Corentin@corentin
Developer advocate at Bearer.sh - helping developers using APIs 🧸

TOPICS

Languages

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite