WebAssembly-based Delta Sync for Cloud Storage Services

Author:

Zheng Jianwei1,Li Zhenhua1,Qiu Yuanhui1,Lin Hao1,Xiao He1,Li Yang1,Liu Yunhao1

Affiliation:

1. Tsinghua University, Beijing

Abstract

Delta synchronization (sync) is crucial to the network-level efficiency of cloud storage services, especially when handling large files with small increments. Practical delta sync techniques are, however, only available for PC clients and mobile apps, but not web browsers—the most pervasive and OS-independent access method. To bridge this gap, prior work concentrates on either reversing the delta sync protocol or utilizing the native client, all striving around the tradeoffs among efficiency, applicability, and usability and thus forming an “impossible triangle.” Recently, we note the advent of WebAssembly (WASM) , a portable binary instruction format that is efficient in both encoding size and load time. In principle, the unique advantages of WASM can make web-based applications enjoy near-native runtime speed without significant cloud-side or client-side changes. Thus, we implement a straightforward WASM-based delta sync solution, WASMrsync, finding its quasi-asynchronous working manner and conventional In-situ Separate Memory Allocation greatly increase sync time and memory usage. To address them, we strategically devise sync-async code decoupling and streaming compilation, together with Informed In-place File Construction. The resulting solution, WASMrsync+, achieves comparable sync time as the state-of-the-art (most efficient) solution with nearly only half of memory usage, letting the “impossible triangle” reach a reconciliation.

Funder

National Natural Science Foundation of China

Publisher

Association for Computing Machinery (ACM)

Subject

Hardware and Architecture

Reference64 articles.

1. Google. 2021. An introduction to the Chrome 61. Retrieved from https://developer.chrome.com/blog/new-in-chrome-61/.

2. Wikipedia. 2021. An introduction to the V8 (JavaScript) engine. Retrieved from https://en.wikipedia.org/wiki/V8_(JavaScript_engine.

3. Aappleby. 2021. Murmur3 Hash Function). Retrieved from https://github.com/aappleby/smhashe.

4. Fast keyed hash/pseudo-random function using SIMD multiply and permute;Alakuijala J.;arXiv preprint arXiv:1612.06257,2016

5. Aliyun.com. 2021. Aliyun ECS (Elastic Compute Service). Retrieved from https://www.aliyun.com/product/EC.

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

1. Robust Searching-based Gradient Collaborative Management in Intelligent Transportation System;ACM Transactions on Multimedia Computing, Communications, and Applications;2022-07-21

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

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

www.globalauthorid.com

TOP

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