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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Thoughts on the current state of sync

1 点作者 blahedo大约 12 年前

1 comment

chetanahuja大约 12 年前
I'm surprised the obvious solution is not mentioned. That is, the apps should queue up their changes in a system-wide log (the format of this log is left as an exercise for the reader) and the OS must play this log as and when it finds opportunity and/or driven by user defined rules (like the "midnight sync" rule mentioned in the post). This means that only one process (the system sync'r process) will ever do the syncs. This scheme also allows for more advanced features like user-defined priorities on which syncs are most critical (e.g, my calender entries take precedence over the "read it later" list I might have created in my browser).