Questions tagged [eventual-consistency]

75 questions
28
votes
6 answers

Microservices: Handling eventual consistency

Assume we have a function that updates a User's password. Once the 'Update Password' button is clicked, an UpdatePasswordEvent is sent to a topic where 3 other services are subscribed: A service that actually updates the User's password A service…
mpmp
  • 801
6
votes
2 answers

Is the C in ACID is not the C in CAP?

We know that for Database Systems - the Consistency in ACID properties is part of the acronym: A - Atomicity C - Consistency I - Isolation D - Durability We know that for NoSQL Systems, the Consistency in the CAP Theorem is part of the acronym: C -…
hawkeye
  • 4,819
1
vote
3 answers

Be sure to send email only once

I'm thinking about "simple" problem. I have database with messages and email adresses to send: emailAddress string message string Sent bool Is it possible to write a system in which I can be sure whatever happens that email will be sent only once?…
Snorlax
  • 117