Skip to main navigation Skip to search Skip to main content

Rolis: A software approach to efciently replicating multi-core transactions

  • Weihai Shen
  • , Ansh Khanna
  • , Sebastian Angel
  • , Siddhartha Sen
  • , Shuai Mu
  • Stony Brook University
  • University of Pennsylvania
  • Microsoft USA

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

10 Scopus citations

Abstract

This paper presents Rolis, a new speedy and fault-tolerant replicated multi-core transactional database system. Rolis's aim is to mask the high cost of replication by ensuring that cores are always doing useful work and not waiting for each other or for other replicas. Rolis achieves this by not mixing the multi-core concurrency control with multi-machine replication, as is traditionally done by systems that use Paxos to replicate the transaction commit protocol. Instead, Rolis takes an "execute-replicate-replay"approach. Rolis first speculatively executes the transaction on the leader machine, and then replicates the per-thread transaction log to the followers using a novel protocol that leverages independent Paxos instances to avoid coordination, while still allowing followers to safely replay. The execution, replication, and replay are carefully designed to be scalable and have nearly zero coordination overhead across cores. Our evaluation shows that Rolis can achieve 1.03M TPS (transactions per second) on the TPC-C workload, using a 3-replica setup where each server has 32 cores. This throughput result is orders of magnitude higher than traditional software approaches we tested (e.g., 2PL), and is comparable to state-of-the-art, fault-tolerant, in-memory storage systems built using kernel bypass and advanced networking hardware, even though Rolis runs on commodity machines.

Original languageEnglish
Title of host publicationEuroSys 2022 - Proceedings of the 17th European Conference on Computer Systems
PublisherAssociation for Computing Machinery, Inc
Pages69-84
Number of pages16
ISBN (Electronic)9781450391627
DOIs
StatePublished - Mar 28 2022
Event17th European Conference on Computer Systems, EuroSys 2022 - Rennes, France
Duration: Apr 5 2022 → …

Publication series

NameEuroSys 2022 - Proceedings of the 17th European Conference on Computer Systems

Conference

Conference17th European Conference on Computer Systems, EuroSys 2022
Country/TerritoryFrance
CityRennes
Period04/5/22 → …

Keywords

  • Concurrency
  • Distributed systems
  • Multicore

Fingerprint

Dive into the research topics of 'Rolis: A software approach to efciently replicating multi-core transactions'. Together they form a unique fingerprint.

Cite this