SlideShare a Scribd company logo
Amey Banarse @ameybanarse
Karthik Ranganathan @karthikr
YugaByte DB - A Planet-Scale DB
for Low Latency Transactional Apps
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
Introductions
2

Amey Banarse
Advisory Platform Architect, Pivotal
University of Pennsylvania
@ameybanarse
Karthik Ranganathan
Co-Founder and CTO, YugaByte DB
Nutanix ♦ Facebook ♦ Microsoft
University of Texas, Austin
@karthikr
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
What is YugaByte DB?
3

NoSQL + SQL Cloud Native
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
4

A transactional, high-performance database
for building planet-scale cloud services.
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/ 5
YugaByte Story starts
with...
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
Facebook in 2007
6

Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
Facebook in 2008-2009
7

How to scale to a billion users?
Also: how to survive the week?
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
What happens at 1 Billion users?
8

Dozens of Petabytes
Billions of IOPS
Scale out frequently
Rolling upgrades – zero downtime!
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
Transformation of Facebook
9

How to achieve scale
Few
datacenters
traditional
servers
Monolithic applications and
services
Geo-distributed
DC’s
Containers for
applications
Microservices
based design
All about developer agility
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
The database tier was difficult to transform
1
0

Application Tier (Stateless Microservices)
Custom Data Platform
Transactional, Performant, Global
No general platform for the enterprise
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/ 11
So what...?
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
Your Challenges
1
2

Your approach to solving these?
• Millions of IOPS (not billions)
• 1000s of apps (not 10s of apps)
• Want standard open APIs (not custom)
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
How Pivotal Transforms Customers
Changes that are already underway
2 corporate
datacenters
traditional
servers
monolithic apps on proprietary
app servers
Multi-region and
Multi-cloud
Multiple VM’s &
Containers
Microservices on
OSS Frameworks
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
Transformation for Data Tier
?
legacy databases
Open Source,
Cloud-native Databases
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
Use Existing DBs for Transformation?
Not Portable
Not Portable
Open Source
Not Portable
Open Source
Open Source
High Performance, Transactional, Planet-Scale High Performance, Transactional, Planet-Scale
High Performance, Transactional, Planet-Scale High Performance, Transactional, Planet-Scale
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
Transformation for Data Tier
Legacy Databases
Open Source,
Cloud-native Databases
+
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
YugaByte DB capabilities
TRANSACTIONALPLANET-SCALE
HIGH
PERFORMANCE
Distributed ACID
Transactions
Transactional Key-to-Document
Storage Engine
Low Latency, Tunable
Reads
High Throughput
OPEN
SOURCE
Apache 2.0
Popular APIs Extended
Apache Cassandra, Redis and
PostgreSQL (BETA)
Auto Sharding &
Rebalancing
Global Data
Distribution
CLOUD-NATIVE
Natively runs in
Containers
Self-Healing,
Fault-Tolerant
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
Core DB Features
SQL
Strong consistency
Secondary indexes
ACID transactions
Expressive query language
NoSQL
Tunable read latency
Write optimized for large data sets
Data expiry with TTL
Scale out and fault tolerant
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
Best of Cloud-Native Meets Open Source
ACID Transactions
Globally Consistent
SQL API only
Not Transactional
Multi-Model
High Performance
Not Globally Consistent
Lower Performance
20YugaByte Confidential © 2018 All rights reserved.
YugaByte DB Architecture
• YB-Master and
YB-TServer services
• Raft consensus
• DocDB - optimized
RocksDB storage
• Global Transactions
• Pluggable Query
Layer - CQL, Redis
21YugaByte Confidential © 2018 All rights reserved.
Ecosystem Integration
tablet 1’
tablet2-leade
r
tablet1-leade
r
…
…
tablet2-followe
r
tablet3-followe
r
tablet1-followe
r
tablet1-followe
r
• Spring Data
• Kafka
• Spark
• Presto
• Janus Graph DB
tablet 1’
tablet 1’
Raft Replication DocDB Storage
node1 node2
node3
Global Transaction Manager
Automated Sharding & Load Balancing
Cassandra REDIS
BET
A
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
2
2
On Demand YugaByte DB on PKS
Demo
http://bit.ly/yugabyte-on-pks
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
Real World Retail Marketplace
● Browse and Buy millions of products
● Determine Ratings and Review effectiveness
● Order and checkout products
● ….. Many more. Last but not the least, a highly performant,
rich and interactive UX
2
3
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
Dataset used for the demo
● 20 million+ Products
● 100 million reviews + ratings
● …. and assume newer Reviews are written to YugaByte
DB in real-time
2
4
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
2
5
Let’s take a look at the UI and
work our way back to the
underlying architecture
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
Retail Marketplace Architecture
2
6
Http
Requests
Retail App
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
Retail Marketplace Architecture
2
7
Http
Requests
Spring Boot Microservices
Web App
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
Retail Marketplace Architecture
2
8
Http
Requests
Spring Boot Microservices
Web App
YugaByte DB
on PKS
Transactions,
High Consistency,
Secondary Indexes
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
Retail Marketplace Architecture
2
9
AWS S3
Batch
Load
Http
Requests
Spring Boot Microservices
Web App
Spring Cloud Data Flow
Transactions,
High Consistency,
Secondary Indexes YugaByte DB
on PKS
High Throughput
Data Pipelines
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
Retail Marketplace Architecture
3
0
AWS S3
Batch
Load
.
Http
Requests
Spring Boot Microservices
Web App
Spring Cloud Data Flow
Transactions,
High Consistency,
Secondary Indexes YugaByte DB
on PKS
Spark on
PKS
High Throughput
Data Pipelines
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
Retail Marketplace Architecture
3
1
BOSH
AWS S3
Pivotal
Container Service
Batch
Load
.
Http
Requests
Spring Boot Microservices
Web App
Spring Cloud Data Flow
Pivotal
Application Service
Transactions,
High Consistency,
Secondary Indexes YugaByte DB
on PKS
Spark on
PKS
High Throughput
Data Pipelines
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
3
2
Dissecting the Retail App
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
Dissecting the Retail App
3
3
Secondary Indexes
for category listings
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
Secondary Indexes
Distributed Indexes for Efficient Queries
3
4
CREATE TABLE product_rankings (
asin text,
category text,
sales_rank int,
...
PRIMARY KEY (asin, category)
);
CREATE INDEX top_products_in_category
ON product_rankings (category, sales_rank, asin);
Partition by product ID for
efficient lookups
Secondary index to list
top products in a category
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
Secondary Indexes
Distributed Indexes for Efficient Queries
3
5
SELECT * FROM product_rankings
WHERE asin = '0684841363';
SELECT * FROM product_rankings
WHERE category = 'Books'
LIMIT 10
OFFSET 20;
Query by ID for product
summary data
Query by index to list top
products in a category by
sales rank (best sellers)
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
Dissecting the Retail App
3
6
Global ACID
Transactions using
Cassandra API
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
Global Transactions
Multi-Row/Multi-Shard Operations At Scale
3
7
CREATE TABLE orders (
order_id text PRIMARY KEY,
user_id uuid,
order_details jsonb,
...
) WITH transactions = {'enabled': 'true'};
Update inventory and
orders tables atomically.
Simple to enable global
transactions on any table
Use JSON type for
flexible schema objects.
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
Global Transactions
Multi-Row/Multi-Shard Operations At Scale
3
8
BEGIN TRANSACTION
UPDATE product_inventory
SET quantity = quantity - 2
WHERE asin = '0684841363';
INSERT INTO orders (order_id, user_id, order_details, … )
VALUES ('<order-id>', '<user-id>',
'{id: "0684841363", quantity: 2, … }', … );
END TRANSACTION;
Decrease inventory count
for products fulfilled.
Query and index by JSON
attributes if needed!
Add to orders table for
products purchased.
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
Dissecting the Retail App
3
9
Dynamic sets modeled as
Redis SORTED SETs
Show me the top 2 book with
the most reviews
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
Dissecting the Retail App
4
0
Pagination Support
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
UI Pagination and Offsets
41
SELECT * FROM cronos.products
WHERE category=’Music’
LIMIT 10
OFFSET 20;
Example command for
displaying page 3
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
Native JSON
Modeling product attributes & order history
4
2
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
Auto Data Expiry with TTL
Implement Discounts and Sales Offers on products
4
3
Query the key right away
Query the key after 10 seconds
Write a key with a 10 second expiry
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
Spark Integration
● Analytics and Aggregate Queries
● ML workloads - Recommendations and Rankings
● Uses pySpark, OSS Spark-Cassandra connectors
4
4
Source Tables Derived Tables
Enrichment /
pre-aggregation
Batch
Aggregates
Pivotal
Container Service
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
Spring Cloud Data Flow
● Real-time + Batch Data Ingestion into YugaByteDB
● High throughput ingestion pipeline
● Scalable Data Microservices
4
5
Scalable Data Pipelines
Data
Processor
S3
Source
Cassandra
SinkRead From Write To
AWS S3
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
YugaWare Console
Day 2 Automation and Operations
● Integrated Prometheus for monitoring
● Alerts & Health Checks
● Backup/Restore from Object Stores(ex.S3) & NFS
● Rolling Upgrades
4
6
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
4
7
Real World Use-Cases
48YugaByte Confidential © 2018 All rights reserved.
1. MySQL master-slave replication
2. Cassandra cross-DC queue for cache updates
3. Per-DC Couchbase for caching
Current State
Use Case #1 – Global User Identity
Login, change password, view profile
49YugaByte Confidential © 2018 All rights reserved.
With YugaByte DB
Use Case #1 – Global User Identity
Login, change password, view profile
Unified platform
Zero data loss
even on region failures
Add new regions with ease
1-click Deployment of Primary Cluster and Read Replicas
Read Replicas
50YugaByte Confidential © 2018 All rights reserved.
Redis cluster for low latency reads
Fragile (manually sharded & load balanced)
Expensive (entire dataset in memory)
On-premises only, need hybrid/public cloud scaling and distribution
DB
Current State
Use Case #2 - Financial Data Service
51YugaByte Confidential © 2018 All rights reserved.
With YugaByte DB
Use Case #2 - Financial Data Service
Higher release velocity
Cost-efficient storage
Faster cloud migration
1-click Deploy of Redis as a Distributed Database
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
Use Case 3: Forensic Tools for Blockchain
Industry
5
2

“YugaByte DB helped CipherTrace meet the high bar its
customers set for availability, scalability, and data consistency
while we simultaneously introduced new features. Because
YugaByte DB is Cassandra wire compatible, it was a simple
process for us to quickly migrate our application from
DataStax Enterprise and start delivering these benefits to our
customers.”
— Steve Ryan, Chief Operating Officer, CipherTrace
Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license:
http://creativecommons.org/licenses/by-nc/3.0/
Looking Forward...
● Multi-site PKS capabilities, collaborating with K8s SIG
● Spring Data YugaByte module incubation
● Distributed PostgreSQL support
● Jepsen Performance Testing and Node density
benchmarks
5
3
> Stay Connected.
<Your CTA>
<Related Session>
#springone@s1p

More Related Content

PPTX
How YugaByte DB Implements Distributed PostgreSQL
PDF
Distributed SQL Databases Deconstructed
PPTX
Scale Transactional Apps Across Multiple Regions with Low Latency
PPTX
YugaByte DB Internals - Storage Engine and Transactions
PPTX
YugaByte DB on Kubernetes - An Introduction
PPTX
Distributed Database Architecture for GDPR
PPTX
Running Stateful Apps on Kubernetes
PDF
How-To: Zero Downtime Migrations from Oracle to a Cloud-Native PostgreSQL
How YugaByte DB Implements Distributed PostgreSQL
Distributed SQL Databases Deconstructed
Scale Transactional Apps Across Multiple Regions with Low Latency
YugaByte DB Internals - Storage Engine and Transactions
YugaByte DB on Kubernetes - An Introduction
Distributed Database Architecture for GDPR
Running Stateful Apps on Kubernetes
How-To: Zero Downtime Migrations from Oracle to a Cloud-Native PostgreSQL

What's hot (20)

PPTX
YugaByte + PKS CloudFoundry Meetup 10/15/2018
PPTX
True Postgres High Availability Architecture with Industry Standard Open-Sou...
 
PPTX
Bootstrapping state in Apache Flink
PPTX
My Favorite PostgreSQL Books
 
PPTX
PostgreSQL as a Strategic Tool
 
PPTX
PostgreSQL to Accelerate Innovation
 
PPTX
Remote DBA Service: Powering your DBA needs
 
PDF
Pivotal Greenplum in Action on AWS, Azure, and GCP - Greenplum Summit 2018
PPTX
Postgres Takes Charge Around the World
 
PPTX
Optimizing your SparkML pipelines using the latest features in Spark 2.3
PPTX
How to Monitor Postgres Like a Pro!
 
PPTX
Geode Meetup Apachecon
PPTX
Automating Postgres Deployments on AWS and VMware, with Terraform and Ansible
 
PDF
Large Table Partitioning with PostgreSQL and Django
 
PDF
PostgreSQL continuous backup and PITR with Barman
 
PDF
EDB Postgres & Tools in a Smart City Project
 
PDF
Discover PostGIS: Add Spatial functions to PostgreSQL
 
PDF
NoSQL and Spatial Database Capabilities using PostgreSQL
 
PDF
Introduction to Apache Geode (Cork, Ireland)
PDF
Present & Future of Greenplum Database A massively parallel Postgres Database...
YugaByte + PKS CloudFoundry Meetup 10/15/2018
True Postgres High Availability Architecture with Industry Standard Open-Sou...
 
Bootstrapping state in Apache Flink
My Favorite PostgreSQL Books
 
PostgreSQL as a Strategic Tool
 
PostgreSQL to Accelerate Innovation
 
Remote DBA Service: Powering your DBA needs
 
Pivotal Greenplum in Action on AWS, Azure, and GCP - Greenplum Summit 2018
Postgres Takes Charge Around the World
 
Optimizing your SparkML pipelines using the latest features in Spark 2.3
How to Monitor Postgres Like a Pro!
 
Geode Meetup Apachecon
Automating Postgres Deployments on AWS and VMware, with Terraform and Ansible
 
Large Table Partitioning with PostgreSQL and Django
 
PostgreSQL continuous backup and PITR with Barman
 
EDB Postgres & Tools in a Smart City Project
 
Discover PostGIS: Add Spatial functions to PostgreSQL
 
NoSQL and Spatial Database Capabilities using PostgreSQL
 
Introduction to Apache Geode (Cork, Ireland)
Present & Future of Greenplum Database A massively parallel Postgres Database...
Ad

Similar to YugaByte DB—A Planet-Scale Database for Low Latency Transactional Apps (20)

PPTX
How to Manage Microservices and APIs with Apigee and Istio
PDF
Achieving High Throughput With Reliability In Transactional Systems
PDF
Developer Secure Containers for the Cyberspace Battlefield
PDF
Beyond Caching: Extending Redis Enterprise for Real-Time Streams Processing
PDF
P to V to C: The Value of Bringing “Everything” to Containers
PPTX
Building Highly Scalable Spring Applications using In-Memory Data Grids
PDF
Lattice: A Cloud-Native Platform for Your Spring Applications
PPTX
Migrating from Big Data Architecture to Spring Cloud
PPTX
It’s a Multi-Cloud World, But What About The Data?
PDF
Spring Cloud Gateway - Ryan Baxter
PPTX
How to Build More Secure Service Brokers
PDF
Cross-Platform Observability for Cloud Foundry
PDF
Geode is Not a Cache, it's an Analytics Engine
PDF
Living on the Edge With Spring Cloud Gateway - Cora Iberkleid
PDF
Living on the Edge With Spring Cloud Gateway - Cora Iberkleid
PPTX
Buckets, Funnels, Mobs and Cats or: How We Learned to Love Scaling Apps To Th...
PDF
Who Does What? Mapping Cloud Foundry Activities and Entitlements to IT Roles
PDF
Implementing a highly scalable stock prediction system with R, Geode, SpringX...
PPTX
Data Modernization for Spring-Based Microservices on Pivotal Platform
PPTX
Building Data Environments for Production Microservices with Geode
How to Manage Microservices and APIs with Apigee and Istio
Achieving High Throughput With Reliability In Transactional Systems
Developer Secure Containers for the Cyberspace Battlefield
Beyond Caching: Extending Redis Enterprise for Real-Time Streams Processing
P to V to C: The Value of Bringing “Everything” to Containers
Building Highly Scalable Spring Applications using In-Memory Data Grids
Lattice: A Cloud-Native Platform for Your Spring Applications
Migrating from Big Data Architecture to Spring Cloud
It’s a Multi-Cloud World, But What About The Data?
Spring Cloud Gateway - Ryan Baxter
How to Build More Secure Service Brokers
Cross-Platform Observability for Cloud Foundry
Geode is Not a Cache, it's an Analytics Engine
Living on the Edge With Spring Cloud Gateway - Cora Iberkleid
Living on the Edge With Spring Cloud Gateway - Cora Iberkleid
Buckets, Funnels, Mobs and Cats or: How We Learned to Love Scaling Apps To Th...
Who Does What? Mapping Cloud Foundry Activities and Entitlements to IT Roles
Implementing a highly scalable stock prediction system with R, Geode, SpringX...
Data Modernization for Spring-Based Microservices on Pivotal Platform
Building Data Environments for Production Microservices with Geode
Ad

More from VMware Tanzu (20)

PDF
Spring into AI presented by Dan Vega 5/14
PDF
What AI Means For Your Product Strategy And What To Do About It
PDF
Make the Right Thing the Obvious Thing at Cardinal Health 2023
PPTX
Enhancing DevEx and Simplifying Operations at Scale
PDF
Spring Update | July 2023
PPTX
Platforms, Platform Engineering, & Platform as a Product
PPTX
Building Cloud Ready Apps
PDF
Spring Boot 3 And Beyond
PDF
Spring Cloud Gateway - SpringOne Tour 2023 Charles Schwab.pdf
PDF
Simplify and Scale Enterprise Apps in the Cloud | Boston 2023
PDF
Simplify and Scale Enterprise Apps in the Cloud | Seattle 2023
PPTX
tanzu_developer_connect.pptx
PDF
Tanzu Virtual Developer Connect Workshop - French
PDF
Tanzu Developer Connect Workshop - English
PDF
Virtual Developer Connect Workshop - English
PDF
Tanzu Developer Connect - French
PDF
Simplify and Scale Enterprise Apps in the Cloud | Dallas 2023
PDF
SpringOne Tour: Deliver 15-Factor Applications on Kubernetes with Spring Boot
PDF
SpringOne Tour: The Influential Software Engineer
PDF
SpringOne Tour: Domain-Driven Design: Theory vs Practice
Spring into AI presented by Dan Vega 5/14
What AI Means For Your Product Strategy And What To Do About It
Make the Right Thing the Obvious Thing at Cardinal Health 2023
Enhancing DevEx and Simplifying Operations at Scale
Spring Update | July 2023
Platforms, Platform Engineering, & Platform as a Product
Building Cloud Ready Apps
Spring Boot 3 And Beyond
Spring Cloud Gateway - SpringOne Tour 2023 Charles Schwab.pdf
Simplify and Scale Enterprise Apps in the Cloud | Boston 2023
Simplify and Scale Enterprise Apps in the Cloud | Seattle 2023
tanzu_developer_connect.pptx
Tanzu Virtual Developer Connect Workshop - French
Tanzu Developer Connect Workshop - English
Virtual Developer Connect Workshop - English
Tanzu Developer Connect - French
Simplify and Scale Enterprise Apps in the Cloud | Dallas 2023
SpringOne Tour: Deliver 15-Factor Applications on Kubernetes with Spring Boot
SpringOne Tour: The Influential Software Engineer
SpringOne Tour: Domain-Driven Design: Theory vs Practice

Recently uploaded (20)

PPTX
L1 - Introduction to python Backend.pptx
PDF
System and Network Administration Chapter 2
PDF
Understanding Forklifts - TECH EHS Solution
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
AI in Product Development-omnex systems
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PDF
PTS Company Brochure 2025 (1).pdf.......
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
Softaken Excel to vCard Converter Software.pdf
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PPTX
Transform Your Business with a Software ERP System
PPTX
Operating system designcfffgfgggggggvggggggggg
PPTX
Reimagine Home Health with the Power of Agentic AI​
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PPTX
Essential Infomation Tech presentation.pptx
L1 - Introduction to python Backend.pptx
System and Network Administration Chapter 2
Understanding Forklifts - TECH EHS Solution
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
CHAPTER 2 - PM Management and IT Context
Design an Analysis of Algorithms I-SECS-1021-03
AI in Product Development-omnex systems
How to Choose the Right IT Partner for Your Business in Malaysia
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PTS Company Brochure 2025 (1).pdf.......
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
Softaken Excel to vCard Converter Software.pdf
Which alternative to Crystal Reports is best for small or large businesses.pdf
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Transform Your Business with a Software ERP System
Operating system designcfffgfgggggggvggggggggg
Reimagine Home Health with the Power of Agentic AI​
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Essential Infomation Tech presentation.pptx

YugaByte DB—A Planet-Scale Database for Low Latency Transactional Apps

  • 1. Amey Banarse @ameybanarse Karthik Ranganathan @karthikr YugaByte DB - A Planet-Scale DB for Low Latency Transactional Apps
  • 2. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Introductions 2  Amey Banarse Advisory Platform Architect, Pivotal University of Pennsylvania @ameybanarse Karthik Ranganathan Co-Founder and CTO, YugaByte DB Nutanix ♦ Facebook ♦ Microsoft University of Texas, Austin @karthikr
  • 3. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ What is YugaByte DB? 3  NoSQL + SQL Cloud Native
  • 4. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ 4  A transactional, high-performance database for building planet-scale cloud services.
  • 5. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ 5 YugaByte Story starts with...
  • 6. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Facebook in 2007 6 
  • 7. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Facebook in 2008-2009 7  How to scale to a billion users? Also: how to survive the week?
  • 8. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ What happens at 1 Billion users? 8  Dozens of Petabytes Billions of IOPS Scale out frequently Rolling upgrades – zero downtime!
  • 9. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Transformation of Facebook 9  How to achieve scale Few datacenters traditional servers Monolithic applications and services Geo-distributed DC’s Containers for applications Microservices based design All about developer agility
  • 10. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ The database tier was difficult to transform 1 0  Application Tier (Stateless Microservices) Custom Data Platform Transactional, Performant, Global No general platform for the enterprise
  • 11. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ 11 So what...?
  • 12. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Your Challenges 1 2  Your approach to solving these? • Millions of IOPS (not billions) • 1000s of apps (not 10s of apps) • Want standard open APIs (not custom)
  • 13. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ How Pivotal Transforms Customers Changes that are already underway 2 corporate datacenters traditional servers monolithic apps on proprietary app servers Multi-region and Multi-cloud Multiple VM’s & Containers Microservices on OSS Frameworks
  • 14. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Transformation for Data Tier ? legacy databases Open Source, Cloud-native Databases
  • 15. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Use Existing DBs for Transformation? Not Portable Not Portable Open Source Not Portable Open Source Open Source High Performance, Transactional, Planet-Scale High Performance, Transactional, Planet-Scale High Performance, Transactional, Planet-Scale High Performance, Transactional, Planet-Scale
  • 16. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Transformation for Data Tier Legacy Databases Open Source, Cloud-native Databases +
  • 17. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ YugaByte DB capabilities TRANSACTIONALPLANET-SCALE HIGH PERFORMANCE Distributed ACID Transactions Transactional Key-to-Document Storage Engine Low Latency, Tunable Reads High Throughput OPEN SOURCE Apache 2.0 Popular APIs Extended Apache Cassandra, Redis and PostgreSQL (BETA) Auto Sharding & Rebalancing Global Data Distribution CLOUD-NATIVE Natively runs in Containers Self-Healing, Fault-Tolerant
  • 18. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Core DB Features SQL Strong consistency Secondary indexes ACID transactions Expressive query language NoSQL Tunable read latency Write optimized for large data sets Data expiry with TTL Scale out and fault tolerant
  • 19. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Best of Cloud-Native Meets Open Source ACID Transactions Globally Consistent SQL API only Not Transactional Multi-Model High Performance Not Globally Consistent Lower Performance
  • 20. 20YugaByte Confidential © 2018 All rights reserved. YugaByte DB Architecture • YB-Master and YB-TServer services • Raft consensus • DocDB - optimized RocksDB storage • Global Transactions • Pluggable Query Layer - CQL, Redis
  • 21. 21YugaByte Confidential © 2018 All rights reserved. Ecosystem Integration tablet 1’ tablet2-leade r tablet1-leade r … … tablet2-followe r tablet3-followe r tablet1-followe r tablet1-followe r • Spring Data • Kafka • Spark • Presto • Janus Graph DB tablet 1’ tablet 1’ Raft Replication DocDB Storage node1 node2 node3 Global Transaction Manager Automated Sharding & Load Balancing Cassandra REDIS BET A
  • 22. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ 2 2 On Demand YugaByte DB on PKS Demo http://bit.ly/yugabyte-on-pks
  • 23. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Real World Retail Marketplace ● Browse and Buy millions of products ● Determine Ratings and Review effectiveness ● Order and checkout products ● ….. Many more. Last but not the least, a highly performant, rich and interactive UX 2 3
  • 24. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Dataset used for the demo ● 20 million+ Products ● 100 million reviews + ratings ● …. and assume newer Reviews are written to YugaByte DB in real-time 2 4
  • 25. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ 2 5 Let’s take a look at the UI and work our way back to the underlying architecture
  • 26. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Retail Marketplace Architecture 2 6 Http Requests Retail App
  • 27. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Retail Marketplace Architecture 2 7 Http Requests Spring Boot Microservices Web App
  • 28. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Retail Marketplace Architecture 2 8 Http Requests Spring Boot Microservices Web App YugaByte DB on PKS Transactions, High Consistency, Secondary Indexes
  • 29. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Retail Marketplace Architecture 2 9 AWS S3 Batch Load Http Requests Spring Boot Microservices Web App Spring Cloud Data Flow Transactions, High Consistency, Secondary Indexes YugaByte DB on PKS High Throughput Data Pipelines
  • 30. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Retail Marketplace Architecture 3 0 AWS S3 Batch Load . Http Requests Spring Boot Microservices Web App Spring Cloud Data Flow Transactions, High Consistency, Secondary Indexes YugaByte DB on PKS Spark on PKS High Throughput Data Pipelines
  • 31. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Retail Marketplace Architecture 3 1 BOSH AWS S3 Pivotal Container Service Batch Load . Http Requests Spring Boot Microservices Web App Spring Cloud Data Flow Pivotal Application Service Transactions, High Consistency, Secondary Indexes YugaByte DB on PKS Spark on PKS High Throughput Data Pipelines
  • 32. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ 3 2 Dissecting the Retail App
  • 33. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Dissecting the Retail App 3 3 Secondary Indexes for category listings
  • 34. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Secondary Indexes Distributed Indexes for Efficient Queries 3 4 CREATE TABLE product_rankings ( asin text, category text, sales_rank int, ... PRIMARY KEY (asin, category) ); CREATE INDEX top_products_in_category ON product_rankings (category, sales_rank, asin); Partition by product ID for efficient lookups Secondary index to list top products in a category
  • 35. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Secondary Indexes Distributed Indexes for Efficient Queries 3 5 SELECT * FROM product_rankings WHERE asin = '0684841363'; SELECT * FROM product_rankings WHERE category = 'Books' LIMIT 10 OFFSET 20; Query by ID for product summary data Query by index to list top products in a category by sales rank (best sellers)
  • 36. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Dissecting the Retail App 3 6 Global ACID Transactions using Cassandra API
  • 37. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Global Transactions Multi-Row/Multi-Shard Operations At Scale 3 7 CREATE TABLE orders ( order_id text PRIMARY KEY, user_id uuid, order_details jsonb, ... ) WITH transactions = {'enabled': 'true'}; Update inventory and orders tables atomically. Simple to enable global transactions on any table Use JSON type for flexible schema objects.
  • 38. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Global Transactions Multi-Row/Multi-Shard Operations At Scale 3 8 BEGIN TRANSACTION UPDATE product_inventory SET quantity = quantity - 2 WHERE asin = '0684841363'; INSERT INTO orders (order_id, user_id, order_details, … ) VALUES ('<order-id>', '<user-id>', '{id: "0684841363", quantity: 2, … }', … ); END TRANSACTION; Decrease inventory count for products fulfilled. Query and index by JSON attributes if needed! Add to orders table for products purchased.
  • 39. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Dissecting the Retail App 3 9 Dynamic sets modeled as Redis SORTED SETs Show me the top 2 book with the most reviews
  • 40. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Dissecting the Retail App 4 0 Pagination Support
  • 41. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ UI Pagination and Offsets 41 SELECT * FROM cronos.products WHERE category=’Music’ LIMIT 10 OFFSET 20; Example command for displaying page 3
  • 42. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Native JSON Modeling product attributes & order history 4 2
  • 43. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Auto Data Expiry with TTL Implement Discounts and Sales Offers on products 4 3 Query the key right away Query the key after 10 seconds Write a key with a 10 second expiry
  • 44. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Spark Integration ● Analytics and Aggregate Queries ● ML workloads - Recommendations and Rankings ● Uses pySpark, OSS Spark-Cassandra connectors 4 4 Source Tables Derived Tables Enrichment / pre-aggregation Batch Aggregates Pivotal Container Service
  • 45. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Spring Cloud Data Flow ● Real-time + Batch Data Ingestion into YugaByteDB ● High throughput ingestion pipeline ● Scalable Data Microservices 4 5 Scalable Data Pipelines Data Processor S3 Source Cassandra SinkRead From Write To AWS S3
  • 46. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ YugaWare Console Day 2 Automation and Operations ● Integrated Prometheus for monitoring ● Alerts & Health Checks ● Backup/Restore from Object Stores(ex.S3) & NFS ● Rolling Upgrades 4 6
  • 47. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ 4 7 Real World Use-Cases
  • 48. 48YugaByte Confidential © 2018 All rights reserved. 1. MySQL master-slave replication 2. Cassandra cross-DC queue for cache updates 3. Per-DC Couchbase for caching Current State Use Case #1 – Global User Identity Login, change password, view profile
  • 49. 49YugaByte Confidential © 2018 All rights reserved. With YugaByte DB Use Case #1 – Global User Identity Login, change password, view profile Unified platform Zero data loss even on region failures Add new regions with ease 1-click Deployment of Primary Cluster and Read Replicas Read Replicas
  • 50. 50YugaByte Confidential © 2018 All rights reserved. Redis cluster for low latency reads Fragile (manually sharded & load balanced) Expensive (entire dataset in memory) On-premises only, need hybrid/public cloud scaling and distribution DB Current State Use Case #2 - Financial Data Service
  • 51. 51YugaByte Confidential © 2018 All rights reserved. With YugaByte DB Use Case #2 - Financial Data Service Higher release velocity Cost-efficient storage Faster cloud migration 1-click Deploy of Redis as a Distributed Database
  • 52. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Use Case 3: Forensic Tools for Blockchain Industry 5 2  “YugaByte DB helped CipherTrace meet the high bar its customers set for availability, scalability, and data consistency while we simultaneously introduced new features. Because YugaByte DB is Cassandra wire compatible, it was a simple process for us to quickly migrate our application from DataStax Enterprise and start delivering these benefits to our customers.” — Steve Ryan, Chief Operating Officer, CipherTrace
  • 53. Unless otherwise indicated, these slides are © 2013-2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Looking Forward... ● Multi-site PKS capabilities, collaborating with K8s SIG ● Spring Data YugaByte module incubation ● Distributed PostgreSQL support ● Jepsen Performance Testing and Node density benchmarks 5 3
  • 54. > Stay Connected. <Your CTA> <Related Session> #springone@s1p