FoundationDB记录层:多租户结构化数据存储
FoundationDB Record Layer: A Multi-Tenant Structured Datastore
摘要:
FoundationDB记录层是一个开源库,它提供面向记录的数据存储,其语义类似于在FoundationDB之上实现的关系数据库,FoundationDB是一个有序的事务性键值存储。记录层提供了一种轻量级的、高度可扩展的方式来存储结构化数据。它提供了模式管理和一组丰富的查询和索引功能,其中一些功能通常在传统的关系数据库中找不到,例如嵌套记录类型、提交版本的索引以及跨多个记录类型的索引。记录层是无状态的,并为大规模多租户而构建,将租户的所有状态(包括索引)封装和隔离到单独的逻辑数据库中。我们演示了记录层是如何被苹果的云后端服务CloudKit使用的,为服务于数亿用户的应用程序提供强大的抽象。CloudKit使用记录层来托管数十亿个独立的数据库,其中许多数据库具有共同的模式。记录层提供的功能使CloudKit能够提供更丰富的API和更强大的语义,同时减少维护开销并提高可扩展性。
英文摘要:
The FoundationDB Record Layer is an open source library that provides a record-oriented data store with semantics similar to a relational database implemented on top of FoundationDB, an ordered, transactional key-value store. The Record Layer provides a lightweight, highly extensible way to store structured data. It offers schema management and a rich set of query and indexing facilities, some of which are not usually found in traditional relational databases, such as nested record types, indexes on commit versions, and indexes that span multiple record types. The Record Layer is stateless and built for massive multi-tenancy, encapsulating and isolating all of a tenant's state, including indexes, into a separate logical database. We demonstrate how the Record Layer is used by CloudKit, Apple's cloud backend service, to provide powerful abstractions to applications serving hundreds of millions of users. CloudKit uses the Record Layer to host billions of independent databases, many with a common schema. Features provided by the Record Layer enable CloudKit to provide richer APIs and stronger semantics with reduced maintenance overhead and improved scalability.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。