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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Versioning versus Coordination

65 点作者 burntcaramel3 个月前

2 条评论

Olreich3 个月前
How do we guarantee &quot;T3 submitted at T+300ns&quot; reads the rows that are committed by T1 and T2 at T+100ns and T+200ns? I guess the answer is that the minimum transaction time for consistency is 5 minutes? At that point, don&#x27;t you lose a lot of the scalability and usefulness?<p>It feels very much like the &quot;read&quot; in the &quot;read-after-write consistency&quot; is usually forgotten, hand-waved away with &quot;eventual consistency&quot;, or is actually just a single node handling the coordination somewhere, leading us to not having nearly as scalable a system as we are promised by the database.
Willingham3 个月前
Great article, allowed me to learn about multi version concurrency control which I had never heard of, and in researching the topic I learned about optimistic concurrency control which I found even more interesting. It seems these two could be used in conjunction; OCC for efficient updates. MVCC for clean reads. Excited to play with these patterns in future projects (: