What is Eventual Consistency and How Do You Deal with It?by@olvrng
339 reads

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

tldt arrow
Read on Terminal Reader🖨️

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

@olvrng

Oliver Nguyen

About @olvrng
LEARN MORE ABOUT @OLVRNG'S EXPERTISE AND PLACE ON THE INTERNET.
react to story with heart
Oliver Nguyen HackerNoon profile picture
by Oliver Nguyen @olvrng.I’m a software maker working mostly in Go and JavaScript. Share knowledge and thoughts during my journey.
Read more on my blog

RELATED STORIES

L O A D I N G
. . . comments & more!
Hackernoon hq - po box 2206, edwards, colorado 81632, usa