Back to search

Rice University

Reducing fate sharing in software systems via fine-grained checkpoint and restore

Abstract

dc:description.abstract

The client-server architecture is used widely throughout complex software systems, but is susceptible to the problem of fate sharing between its various internal components. Fate sharing is bad because the malfunction of the server can lead to incorrect behavior of the client. We have narrowed down the primary cause of such fate sharing to state spill, a phenomenon in which a server entity holds client-specific state after serving the client’s request, tightly binding the two entities’ fates. The problem is exacerbated when multiple clients utilized the same server, because it effectively binds all clients’ fates together as well. In this work, we propose DRILL, a solution that mitigates the effects of fate sharing in server-like entities by using fine-grained checkpoint and restore (C/R) techniques to reduce state spill. We describe the design of DRILL within the context of Android system services — entities that control most system resources and act as middlemen between the kernel and applications — because they are a representative example of server entities that suffer from fate sharing due to state spill. DRILL attaches its C/R module to the system service to checkpoint and restore internal clients’ states in a per-object fashion. This module is service-agnostic and non-intrusive, which is generic and can be used for many system services without much modification. A special bookkeeping service preserves each service’s checkpointed states in an external storage area so that it can resend the states to a new service instance post-crash. To demonstrate the effectiveness of our approach, we implement DRILL on a Google Nexus 5 phone running Android 6.0.1 and apply our C/R technique to two different classes of Android system services. We show that DRILL can successfully restore a failed system service to its pre-crash state, keeping the application blissfully unaware of any service crashes because its fate is decoupled from that of the service. Our results indicate that the performance overhead and service downtime of our approach are affordable and that the limitations of the DRILL design do not restrict it from being applied to other systems beyond Android.

Degree

thesis:*
Name thesis:degree_name
Master of Science
Level thesis:degree_level
Masters
Discipline thesis:degree_discipline
Engineering
Department thesis:degree_department
Electrical and Computer Engineering
Grantor
Rice University
Year dc:date.issued
2017

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Dong, Pu
Advisor dc:contributor.advisor
  • Zhong, Lin

Subjects

dc:subject × 4

Rights

dc:rights
Statement dc:rights
  • Copyright is held by the author, unless otherwise indicated. Permission to reuse, publish, or reproduce the work beyond the bounds of fair use or other exemptions to copyright law must be obtained from the copyright holder.
Language dc:language.iso
eng

Identifiers

dc:identifier.*
Dc Identifier Citation
Dong, Pu. "Reducing fate sharing in software systems via fine-grained checkpoint and restore." (2017) Master’s Thesis, Rice University. https://hdl.handle.net/1911/96004

Chain of custody

source
Harvested from
Rice University
Base URL
repository.rice.edu/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Dong, Pu. Reducing fate sharing in software systems via fine-grained checkpoint and restore. Masters thesis, Rice University, 2017. https://hdl.handle.net/1911/96004