Synchronizing Many Filesystems in Near Linear Time

Author:

Csirmaz Elod P.1ORCID,Csirmaz Laszlo12ORCID

Affiliation:

1. Alfréd Rényi Institute of Mathematics, 1053 Budapest, Hungary

2. Institute of Information Theory and Automation, CZ-182 00 Prague, Czech Republic

Abstract

Finding a provably correct subquadratic synchronization algorithm for many filesystem replicas is one of the main theoretical problems in operational transformation (OT) and conflict-free replicated data types (CRDT) frameworks. Based on the algebraic theory of filesystems, which incorporates non-commutative filesystem commands natively, we developed and built a proof-of-concept implementation of an algorithm suite which synchronizes an arbitrary number of replicas. The result is provably correct, and the synchronized system is created in linear space and time after an initial sorting phase. It works by identifying conflicting command pairs and requesting one of the commands to be removed. The method can be guided to reach any of the theoretically possible synchronized states. The algorithm also allows asynchronous usage. After the client sends a synchronization request, the local replica remains available for further modifications. When the synchronization instructions arrive, they can be merged with the changes made since the synchronization request. The suite also works on filesystems with a directed acyclic graph-based path structure in place of the traditional tree-like arrangement. Consequently, our algorithms apply to filesystems with hard or soft links as long as the links create no loops.

Funder

ERC Advanced Grant ERMiD

Publisher

MDPI AG

Subject

Computer Networks and Communications

Reference28 articles.

1. Athow, D., and Turner, B. (2023, May 10). Best File Syncing Solutions of 2023. Available online: https://www.techradar.com/best/best-file-syncing-solution.

2. Cloud storage services for file synchronization and sharing in science, education and research;Mascetti;Future Gener. Comput. Syst.,2018

3. Achieving Convergence, Causality Preservation, and Intention Preservation in Real-Time Cooperative Editing Systems;Sun;ACM Trans. Comput. Hum. Interact.,1998

4. Poltrock, S.E., and Grudin, J. (1998, January 14–18). Operational Transformation in Real-Time Group Editors: Issues, Algorithms, and Achievements. Proceedings of the ACM 1998 Conference on Computer Supported Cooperative Work, Seattle, WA, USA.

5. Shao, B., Li, D., Lu, T., and Gu, N. (2011, January 19–23). An Operational Transformation Based Synchronization Protocol for Web 2.0 Applications. Proceedings of the ACM 2011 Conference on Computer Supported Cooperative Work, Hangzhou, China. CSCW ’11.

Cited by 1 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3