Techniques and Efficiencies from Building a Real-Time DBMS

Author:

Srinivasan V.1,Gooding Andrew1,Sayyaparaju Sunil2,Lopatic Thomas3,Porter Kevin1,Shinde Ashish2,Narendran B.4

Affiliation:

1. Aerospike, Mountain View, U.S.A.

2. Aerospike, Bengaluru, India

3. Aerospike, Berlin, Germany

4. Aerospike, Berkeley Heights, U.S.A.

Abstract

This paper describes a variety of techniques from over a decade of developing Aerospike (formerly Citrusleaf), a real-time DBMS that is being used in some of the world's largest mission-critical systems that require the highest levels of performance and availability. Such mission-critical systems have many requirements including the ability to make decisions within a strict real-time SLA (milliseconds) with no downtime, predictable performance so that the first and billionth customer gets the same experience, ability to scale up 10X (or even 100X) with no downtime, support strong consistency for applications that need it, synchronous and asynchronous replication with global transactional capabilities, and the ability to deploy in any public and private cloud environments. We describe how using efficient algorithms to optimize every area of the DBMS helps the system achieve these stringent requirements. Specifically, we describe, effective ways to shard, place and locate data across a set of nodes, efficient identification of cluster membership and cluster changes, efficiencies generated by using a 'smart' client, how to effectively use replications with two copies replication instead of three-copy, how to reduce the cost of the realtime data footprint by combining the use of memory with flash storage, self-managing clusters for ease of operation including elastic scaling, networking and CPU optimizations including NUMA pinning with multi-threading. The techniques and efficiencies described here have enabled hundreds of deployments to grow by many orders of magnitude with near complete uptime.

Publisher

Association for Computing Machinery (ACM)

Subject

General Earth and Planetary Sciences,Water Science and Technology,Geography, Planning and Development

Reference42 articles.

1. Leslie Lamport . Lower Bounds for Asynchronous Consensus. Microsoft Research , Microsoft Corporation , MSR-TR- 2004 -72 (2006). Leslie Lamport. Lower Bounds for Asynchronous Consensus. Microsoft Research, Microsoft Corporation, MSR-TR-2004-72 (2006).

2. SQL databases v. NoSQL databases

3. Mikhail Kourjanski . ML Data Pipelines for Real-Time Fraud Prevention @ PayPal. QCon 2018 . https://www.infoq.com/presentations/paypal-ml-fraud-prevention-2018/ Mikhail Kourjanski. ML Data Pipelines for Real-Time Fraud Prevention @ PayPal. QCon 2018. https://www.infoq.com/presentations/paypal-ml-fraud-prevention-2018/

4. New opportunities for New SQL

5. TIPS. European Central Bank Website. https://www.ecb.europa.eu/paym/target/tips/html/index.en.html TIPS. European Central Bank Website. https://www.ecb.europa.eu/paym/target/tips/html/index.en.html

Cited by 1 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3