TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

2 点作者 mukgupta超过 8 年前
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 条评论

AznHisoka超过 8 年前
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.
LarryMade2超过 8 年前
Log IDs on the nodes then match them up when theres problems to work out the source, situation, etc...