Restricted Insertion Priority Queue (RIPQ)
RIPQ is a flash-cache framework that approximates priority ordering through a limited set of buffered insertion points.
Virtual blocks record priority increases in memory; selected objects are copied later when their physical block is reclaimed. This coalesces updates but can still cause host writes. [1]
Flashield's later comparison used a simulation of RIPQ with eight SLRU queues because the original implementation was unavailable. Its Memcachier results are not measurements of the original photo-cache implementation; cache-level and device-level amplification remain separate. [3]
Relations
- related
- Write amplification, Write combining, GreedyDual-Size, Kangaroo, Single Insertion Priority Queue (SIPQ)
Limitations
- The original design targets static objects: arbitrary object deletion and overwrite are unsupported. Historical photo-trace results are not predictions for a different device or workload. [1]
Citations
- Tang et al. RIPQ: Advanced Photo Caching on Flash for Facebook. FAST 2015, pp. 373-386; sections 4.2-4.4 and 6.1-6.2.
- Eisenman et al. Flashield: a Hybrid Key-value Cache that Controls Flash Write Amplification. NSDI 2019, section 2.2 and Table 3.
Further reading
Sources & caveats
- Primary-source synthesis; no RIPQ implementation or trace replay performed.