Efficient Reboot-Based Recovery of In-Memory Databases
- 1 December 2021
- journal article
- research article
- Published by Institute of Electronics, Information and Communications Engineers (IEICE) in IEICE Transactions on Information and Systems
- Vol. E104.D (12), 2164-2172
- https://doi.org/10.1587/transinf.2020zdp7501
Abstract
Reboot-based recovery is a simple but powerful method to recover applications from failures and unstable states. Reboot-based recovery faces a challenge to apply it to a new type of applications, in-memory databases (DBs). Unlike legacy applications, since rebooting in-memory DBs loses memory objects including key-value pairs and DB blocks, it is required to restore them, causing severe performance degradation after the reboot. This paper presents an approach that allows us to perform reboot-based recovery of in-memory DBs with lower performance degradation. Our key insight is to decouple data content objects from all the memory objects. Our approach treats data items as data content objects, preserves data content objects on memory across reboots, and enforces restarted in-memory DBs to attach them. To show the effectiveness of our approach, we elaborate the idea into two real-world DBs, MyRocks and memcached. The prototypes successfully mitigate performance degradation after their reboot-based recovery.Keywords
This publication has 21 references indexed in Scilit:
- Memory Partitioning and Management in MemcachedIEEE Transactions on Services Computing, 2016
- Dwarf: Shortening Downtime of Reboot-Based Kernel UpdatesPublished by Institute of Electrical and Electronics Engineers (IEEE) ,2016
- NVMcachedPublished by Association for Computing Machinery (ACM) ,2016
- A survey of software aging and rejuvenation studiesACM Journal on Emerging Technologies in Computing Systems, 2014
- Towards fast OS rejuvenation: An experimental evaluation of fast OS reboot techniquesPublished by Institute of Electrical and Electronics Engineers (IEEE) ,2013
- Workload analysis of a large-scale key-value storeACM SIGMETRICS Performance Evaluation Review, 2012
- Software Aging and Rejuvenation: Where We Are and Where We Are GoingPublished by Institute of Electrical and Electronics Engineers (IEEE) ,2011
- ReHypeACM SIGPLAN Notices, 2011
- The Rio file cacheACM SIGPLAN Notices, 1996
- The log-structured merge-tree (LSM-tree)Acta Informatica, 1996