arXivDaily arXiv每日学术速递 周一至周五更新
北美退伍军人节(Veterans Day),12 日无更新
arXiv 1701.05397cs.DB
收藏

Reactors:可预测的虚拟化Actor数据库系统

Reactors: A Case for Predictable, Virtualized Actor Database Systems

Vivek Shah, Marcos Antonio Vaz Salles

摘要:

对OLTP数据库系统的要求变得越来越苛刻。金融和计算机游戏等领域越来越多地要求开发人员能够在内存数据库中编码复杂的应用程序逻辑和控制事务延迟。同时,这些领域的基础设施工程师需要试验和部署OLTP数据库体系结构,以确保应用程序的可扩展性并最大限度地提高现代机器的资源利用率。在本文中,我们提出了一个关系演员编程模型内存数据库作为一种新颖的,全面的方法来满足这些具有挑战性的要求。从概念上讲,关系参与者(或简称为反应器)是应用程序定义的、隔离的逻辑参与者,它们封装关系并异步处理函数调用。反应器通过保证应用程序级函数调用的可序列化来简化正确性的推理。然而,与传统的事务模型相比,反应器允许开发人员在其应用程序中利用事务内并行性和状态封装来减少延迟并提高局部性。此外,反应器在数据库部署中实现了新的灵活性。我们提出了ReactDB,一个系统设计,暴露反应器,允许在不改变应用程序代码的情况下,在无共享和共享的极端之间灵活地虚拟化数据库架构。我们的实验说明了在OLTP基准测试中使用ReactDB的延迟控制,低开销和重复性权衡。

英文摘要:

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 application-defined, 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑