arrow
Return

FastCache: A write-optimized edge storage system via concurrent merging cache for IoT applications

delete2022-10-01
delete5
PRE
AI
Q
Qian Lin
屈志昊 cover
屈志昊 (Zhihao Qu) *
M
Miao Cai
B
Baoliu Ye
X
Xiaoliang Wang *
W
Weiguo Duan
赵明 (Ming Zhao)
Q
Qiang Lin
DOI:10.1016/j.sysarc.2022.102718delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
To tackle the microwrite issue in Internet-of-Things (IoT) applications, i.e., massive small size and concurrent random write requests, a straightforward approach is to establish cache mechanisms at the edge to reconstruct writing operations and flush data efficiently. In spite of recent research efforts on cache mechanisms, existing approaches still face unsolvable problems like frequent competition on cache blocks, massive fragments caused by merging, and cache pollution due to cache updating, especially in IoT scenarios with highly concurrent microwrites. To address these problems, we design and implement FastCache, a write-optimized edge storage system via concurrent microwrites merging. By leveraging an optimistic lock scheme, we implement a two-level cache structure that dispatches the concurrent write threads efficiently and significantly mitigates the cache block competition problem. Further, we propose a flexible merging scheme to avoid excessive fragments and the corresponding cache updating policy based on a throughput-aware threshold and a Poisson Distribution Sampling scheme. Extensive experiments on both synthetic workloads and a real-world trace from 20 million power meters with highly concurrent microwrites demonstrate that FastCache outperforms the state-of-the-art approaches, e.g., up to 14.6x and 5x improvement in terms of IOPS on synthetic and real-world workloads, respectively.
Keywords:
Internet of Things
Edge storage system
Write-optimized
Cache
Optimistic lock

Journal

Journal of Systems Architecture cover
Journal of Systems Architecture
IF:
4.1
Papers:
3.0K
Citations:
4.2K

Organization

N
nanjing university
Scholars:
7.8W
Papers: 5.6W
Citations: 87