Publication:

Anti-Hero: Pairing Distributed System Shards for More Efficient Fault Tolerance

Loading...
Thumbnail Image

Files

SCAGGS-ROOSEVELT-THESIS.pdf (2.86 MB)

Date

2024-07-18

Journal Title

Journal ISSN

Volume Title

Publisher

Research Projects

Organizational Units

Journal Issue

Access Restrictions

Abstract

In theoretical terms, more servers are always better for fault tolerance. But from a practical perspective, businesses that run these (high traffic) mission critical services like Ticketmaster do not always opt for these highly fortified distributed system architectures for a variety of reasons primarily including cost. With this goal at the forefront of this project, Anti-Hero sets out to leverage existing server infrastructure while still providing fault tolerance. A well-known technique for increasing total system throughput is sharding. When sharding is used as a technique, in scenarios where data would typically be stored on a single server, the data is instead split up and placed on multiple servers with the arrangement of the data typically depending on an attribute of the data, for instance the primary key. While on its own the standard practice of sharding only increases throughput, typical systems pair the sharding technique with 1:1 replication schemes in order to provide both increased redundancy and throughput. Anti-Hero attempts to extend this concept by introducing an additional partnering system in order to also provide redundancy while keeping the increase in resource usage to a minimum. While Anti-Hero utilizes a combination of techniques to provide its features, the most important of them are those that make Anti-Hero a fail-stop system. One of the crucial goals when it comes to high stakes online sales is not double selling a ticket, and so like many other fail-stop systems Anti-Hero is designed to embrace potential failures and handle them gracefully while also ensuring that these failures are contained and don’t affect the correctness of the system’s data. Throughout the course of this project, we were able to implement Anti-Hero, which is a fully featured distributed system with a variety of advanced features that make it flexible and customizable while also providing fault tolerance. We also test Anti-Hero’s performance experimentally and measure how its various features and protocols affect the throughput and latency of the system.

Description

Type of resource

Princeton University Senior Theses

Keywords

Location

Citation