TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

2 pointsby mukguptaover 8 years ago
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)

2 comments

AznHisokaover 8 years ago
In my experience you don&#x27;t. Instead what you do is:<p>1. Make sure your services have a retry mechanism so even if it fails it keeps retrying.<p>2. Have the services write the data more than once. Have a job that runs them often.
LarryMade2over 8 years ago
Log IDs on the nodes then match them up when theres problems to work out the source, situation, etc...