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
5 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Wapplique: Testing WebAssembly Runtime via Execution Context-Aware Bytecode Mutation;Proceedings of the 33rd ACM SIGSOFT International Symposium on Software Testing and Analysis;2024-09-11
2. Public cloud object storage auditing: Design, implementation, and analysis;Journal of Parallel and Distributed Computing;2024-07
3. Inter-camera Identity Discrimination for Unsupervised Person Re-identification;ACM Transactions on Multimedia Computing, Communications, and Applications;2024-06-13
4. OCF-HP: An Offline Compaction Framework Based on Hotspot Prediction for Data Lakehouse;2024 9th International Conference on Electronic Technology and Information Science (ICETIS);2024-05-17
5. Robust Searching-based Gradient Collaborative Management in Intelligent Transportation System;ACM Transactions on Multimedia Computing, Communications, and Applications;2022-07-21