paint-brush
What is Eventual Consistency and How Do You Deal with It?by@olvrng
471 reads
471 reads

What is Eventual Consistency and How Do You Deal with It?

by Oliver Nguyen2mFebruary 22nd, 2022
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Eventually consistency is a fancy name of doing something and only expecting the changed state after a while. When querying for a list of message templates from WhatsApp, we’ll cache the response for use later. It’s because message templates are not something that changes so frequently. Just cache it to reduce unnecessary API calls. After creating a template, we won’t see it for a while if we call the listing API. That's because of, you guessed it, eventually consistency.

Company Mentioned

Mention Thumbnail
featured image - What is Eventual Consistency and How Do You Deal with It?
Oliver Nguyen HackerNoon profile picture
Oliver Nguyen

Oliver Nguyen

@olvrng

I’m a software maker working mostly in Go and JavaScript. Share knowledge and thoughts during my journey.

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

About Author

Oliver Nguyen HackerNoon profile picture
Oliver Nguyen@olvrng
I’m a software maker working mostly in Go and JavaScript. Share knowledge and thoughts during my journey.

TOPICS

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
Also published here
Buzzsumo
Newsbreak
Moomoo
Learnrepo
Coffee-web
Olivernguyen
Leftic