Lake-CRDT: 面向跨域多主湖仓的数据同步策略
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

TP311

基金项目:

国家自然科学基金 (U23B2019, 62572108)


Lake-CRDT: Data Synchronization Strategy for Cross-domain Multi-master Lakehouses
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    跨域多主写入场景下, 湖仓系统需要在高时延、弱连接环境中实现多副本最终收敛, 同时保持与开放表格式事务语义兼容, 并抑制高频更新带来的小文件膨胀. 现有方案多分别侧重事务协调、变更流处理或存储层复制, 难以在不修改湖仓内核的前提下同时兼顾收敛、稳定判定与低代价写回. 为此, 提出面向跨域多主湖仓的数据同步策略Lake-CRDT. 该策略以支持Set-Add混合语义的操作型键值CRDT统一表示覆盖写入与增量更新, 利用HLC-Trie判定键前缀粒度的稳定前缀, 并通过兼容 Delta Lake原生提交接口的冷热分流写回机制, 将高频更新逐步归并为稳定状态. 阿里云跨区域环境与本地集群实验结果表明, 与Flink和Spark Streaming两类常见工程路径相比, 该策略在高并发与异构网络条件下表现出更高的吞吐、更好的扩展性以及更稳定的活跃文件控制能力. 在不修改Delta Lake内核的前提下, 所提策略为跨域多主湖仓提供了一种兼顾最终收敛、同步效率与存储代价的数据同步方案.

    Abstract:

    In cross-domain multi-master write scenarios, lakehouse systems must achieve eventual convergence across replicas in high-latency environments with limited connectivity while remaining compatible with the transaction semantics of open table formats and mitigating the small-file problem caused by frequent updates. Existing solutions typically focus on transaction coordination, change-stream processing, or storage-level replication, making it difficult to simultaneously achieve convergence, determine stable prefixes, and support low-cost write-back without modifying the lakehouse kernel. To address this problem, this study proposes Lake-CRDT, a data synchronization strategy for cross-domain multi-master lakehouses. Lake-CRDT uses an operation-based key-value CRDT with hybrid Set-Add semantics to provide a unified representation of overwrite and incremental updates, employs HLC-Trie to determine stable prefixes at the key-prefix level, and adopts a hot-cold write-back mechanism compatible with Delta Lake’s native commit interface to gradually consolidate high-frequency updates into stable states. Experimental results in an Alibaba Cloud cross-region environment and a local cluster show that, compared with two common engineering paths based on Flink and Spark Streaming, Lake-CRDT achieves higher throughput, better scalability, and more stable control over active files under high concurrency and heterogeneous network conditions. Without modifying the Delta Lake kernel, the proposed strategy provides a synchronization solution for cross-domain multi-master lakehouses that balances eventual convergence, synchronization efficiency, and storage cost.

    参考文献
    相似文献
    引证文献
引用本文

韦雍俊,谷峪,张志威,于戈. Lake-CRDT: 面向跨域多主湖仓的数据同步策略.软件学报,,():1-20

复制
相关视频

分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2026-04-18
  • 最后修改日期:2026-07-08
  • 录用日期:
  • 在线发布日期: 2026-11-18
  • 出版日期:
文章二维码
您是第位访问者
版权所有:中国科学院软件研究所 京ICP备05046678号-3
地址:北京市海淀区中关村南四街4号,邮政编码:100190
电话:010-62562563 传真:010-62562533 Email:jos@iscas.ac.cn
技术支持:北京勤云科技发展有限公司

京公网安备 11040202500063号