arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1506.08800cs.DB
收藏

不断发展的NoSQL数据库,无需停机

Evolving NoSQL Databases Without Downtime

Karla Saur, Tudor Dumitraş, Michael Hicks

摘要:

像Redis,Cassandra和MongoDB这样的NoSQL数据库越来越受欢迎,因为它们灵活,轻量级,易于使用。使用这些数据库的应用程序将随着时间的推移而发展,有时需要(或倾向于)更改数据的格式或组织。我们在本文中解决的问题是:我们如何支持高可用性应用程序及其NoSQL数据的在线发展,即使在存在向后不兼容的数据格式更改的情况下,也不会出现过多的延迟或中断?我们提出KVolve,流行的Redis NoSQL数据库的扩展,作为这个问题的解决方案。KVolve允许开发人员提交升级规范,定义如何将现有数据转换为最新版本。当应用程序与数据库交互时,这种转换是惰性应用的,因此避免了长时间的暂停。我们证明了KVolve的表现力足以支持大量的实际更新,包括对RedisFS(Redis支持的文件系统)的格式更改,同时在一般使用中基本上没有开销,并且在更新过程中暂停时间最少。

英文摘要:

NoSQL databases like Redis, Cassandra, and MongoDB are increasingly popular because they are flexible, lightweight, and easy to work with. Applications that use these databases will evolve over time, sometimes necessitating (or preferring) a change to the format or organization of the data. The problem we address in this paper is: How can we support the evolution of high-availability applications and their NoSQL data online, without excessive delays or interruptions, even in the presence of backward-incompatible data format changes? We present KVolve, an extension to the popular Redis NoSQL database, as a solution to this problem. KVolve permits a developer to submit an upgrade specification that defines how to transform existing data to the newest version. This transformation is applied lazily as applications interact with the database, thus avoiding long pause times. We demonstrate that KVolve is expressive enough to support substantial practical updates, including format changes to RedisFS, a Redis-backed file system, while imposing essentially no overhead in general use and minimal pause times during updates.

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

↑