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

AutoShard--以声明方式管理NoSQL文档存储中的热点数据对象

AutoShard -- Declaratively Managing Hot Spot Data Objects in NoSQL Document Stores

Stefanie Scherzinger, Andreas Thor

摘要:

NoSQL文档存储作为Web开发的后端越来越受欢迎。它们不仅可以扩展到大量的数据,许多系统甚至可以为这个领域定制:像Google Cloud Datastore这样的NoSQL文档存储被设计为支持大规模并行读取,甚至可以保证更新单个数据对象时的高度一致性。然而,强一致性更新不能在大规模分布式系统中任意快速地实现。因此,经历高频率写入的数据对象可能会变成严重的性能瓶颈。在本文中,我们介绍了AutoShard,这是一个针对NoSQL文档存储运行的Java应用程序的现成对象映射器。AutoShard的独特功能是它能够优雅地分割热点数据对象以避免写入争用。使用AutoShard,开发人员可以通过向其应用程序代码添加最小干扰的注释来轻松处理热点数据对象。我们的实验表明,分片的写吞吐量和执行时间的显着影响。

英文摘要:

NoSQL document stores are becoming increasingly popular as backends in web development. Not only do they scale out to large volumes of data, many systems are even custom-tailored for this domain: NoSQL document stores like Google Cloud Datastore have been designed to support massively parallel reads, and even guarantee strong consistency in updating single data objects. However, strongly consistent updates cannot be implemented arbitrarily fast in large-scale distributed systems. Consequently, data objects that experience high-frequent writes can turn into severe performance bottlenecks. In this paper, we present AutoShard, a ready-to-use object mapper for Java applications running against NoSQL document stores. AutoShard's unique feature is its capability to gracefully shard hot spot data objects to avoid write contention. Using AutoShard, developers can easily handle hot spot data objects by adding minimally intrusive annotations to their application code. Our experiments show the significant impact of sharding on both the write throughput and the execution time.

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

↑