Reactors: A Case for Predictable, Virtualized Actor Database Systems
Research output: Chapter in Book/Report/Conference proceeding › Article in proceedings › Research › peer-review
The requirements for OLTP database systems are becoming ever
more demanding. Domains such as finance and computer games
increasingly mandate that developers be able to encode complex
application logic and control transaction latencies in in-memory
databases. At the same time, infrastructure engineers in these domains
need to experiment with and deploy OLTP database architectures
that ensure application scalability and maximize resource utilization
in modern machines. In this paper, we propose a relational
actor programming model for in-memory databases as a novel,
holistic approach towards fulfilling these challenging requirements.
Conceptually, relational actors, or reactors for short, are applicationdefined,
isolated logical actors that encapsulate relations and process
function calls asynchronously. Reactors ease reasoning about
correctness by guaranteeing serializability of application-level function
calls. In contrast to classic transactional models, however, reactors
allow developers to take advantage of intra-transaction parallelism
and state encapsulation in their applications to reduce latency
and improve locality. Moreover, reactors enable a new degree of
flexibility in database deployment. We present ReactDB, a system
design exposing reactors that allows for flexible virtualization of
database architecture between the extremes of shared-nothing and
shared-everything without changes to application code. Our experiments
illustrate latency control, low overhead, and asynchronicity
trade-offs with ReactDB in OLTP benchmarks
more demanding. Domains such as finance and computer games
increasingly mandate that developers be able to encode complex
application logic and control transaction latencies in in-memory
databases. At the same time, infrastructure engineers in these domains
need to experiment with and deploy OLTP database architectures
that ensure application scalability and maximize resource utilization
in modern machines. In this paper, we propose a relational
actor programming model for in-memory databases as a novel,
holistic approach towards fulfilling these challenging requirements.
Conceptually, relational actors, or reactors for short, are applicationdefined,
isolated logical actors that encapsulate relations and process
function calls asynchronously. Reactors ease reasoning about
correctness by guaranteeing serializability of application-level function
calls. In contrast to classic transactional models, however, reactors
allow developers to take advantage of intra-transaction parallelism
and state encapsulation in their applications to reduce latency
and improve locality. Moreover, reactors enable a new degree of
flexibility in database deployment. We present ReactDB, a system
design exposing reactors that allows for flexible virtualization of
database architecture between the extremes of shared-nothing and
shared-everything without changes to application code. Our experiments
illustrate latency control, low overhead, and asynchronicity
trade-offs with ReactDB in OLTP benchmarks
Original language | English |
---|---|
Title of host publication | SIGMOD 2018 - Proceedings of the 2018 International Conference on Management of Data |
Editors | Gautam Das, Christopher Jermaine, Ahmed Eldawy, Philip Bernstein |
Publisher | Association for Computing Machinery |
Publication date | 2018 |
Pages | 259-274 |
ISBN (Print) | 978-450347037 |
ISBN (Electronic) | 9781450317436 |
DOIs | |
Publication status | Published - 2018 |
Event | 2018 ACM SIGMOD/PODS International Conference on Management of Data - Houston, United States Duration: 10 Jun 2018 → 15 Jun 2018 |
Conference
Conference | 2018 ACM SIGMOD/PODS International Conference on Management of Data |
---|---|
Land | United States |
By | Houston |
Periode | 10/06/2018 → 15/06/2018 |
ID: 195257251