Back to Search Start Over

WebAssembly-based Delta Sync for Cloud Storage Services.

Authors :
JIANWEI ZHENG
ZHENHUA LI
YUANHUI QIU
HAO LIN
HE XIAO
YANG LI
YUNHAO LIU
Source :
ACM Transactions on Storage; Sep2022, Vol. 18 Issue 3, p1-31, 31p
Publication Year :
2022

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 clientside 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. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
15533077
Volume :
18
Issue :
3
Database :
Complementary Index
Journal :
ACM Transactions on Storage
Publication Type :
Academic Journal
Accession number :
159312377
Full Text :
https://doi.org/10.1145/3502847