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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: What is the best time to introduce eventual consistency into a system?

1 点作者 merrinkurian将近 8 年前
Let us say, there is a relational db intensive SaaS application that is being tested for its capabilities. As more and more data is saved by customers, the operations become slower and slower, because the use case needs to go back to some of the data stored earlier(need to select, sort on some fields) and update some values. So the longer the customer has used the product, the slower the application becomes.<p>Is this the right time to introduce eventual consistency to the application so the newer saves can be done faster so the user experience is better? All operations are done on a single db txn, because we need ACID properties of the relational database. So in case something fails, rectifying it outside the context of the user request is going to be difficult for user.<p>This is the classic case of users outgrowing the capabilities of the application. Could anyone speak from experience or provide pointers to examples of what worked for others?

2 条评论

merrinkurian将近 8 年前
To clarify, is this a valid usecase to introduce streaming architecture to the system?
itamarhaber将近 8 年前
&#x2F;me can&#x27;t resist<p>Eventually.