Settings

Theme

Ask HN: Best way to monitor data incosistency in a distributed system

2 points by mukgupta 9 years ago · 2 comments · 1 min read


We have a distributed system where multiple services interact with each other, and we often run into inconsistent data states due to one or more services failing. What sort of methodologies can we use to identify such inconsistencies (e.g. anomaly detection systems)

AznHisoka 9 years ago

In my experience you don't. Instead what you do is:

1. Make sure your services have a retry mechanism so even if it fails it keeps retrying.

2. Have the services write the data more than once. Have a job that runs them often.

LarryMade2 9 years ago

Log IDs on the nodes then match them up when theres problems to work out the source, situation, etc...

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection