SlideShare une entreprise Scribd logo
1  sur  44
© DataStax, All Rights Reserved.Confidential
Designing Fault-Tolerant
Applications with
DataStax Enterprise and
Apache Cassandra
1 © DataStax, All Rights Reserved. Confidential
© DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved.
Designing Fault Tolerant
Applications
1. Why does it matter?
2. What can be done about it?
3. Let’s see it.
© DataStax, All Rights Reserved.Confidential
Why does it matter?
© DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved.
Outages Happen
June 17, 2019
CEO apologizes for register outages: 'A tough weekend'
Saturday’s glitch was due to an internal technical issue that caused
registers to stop working in stores nationwide, while
Sunday’s malfunction was due to problems at its vendor’s data
center.
System was down for several hours as employees worked to sort out
the situation on the biggest shopping days of the week … confusion
and long delays at stores across the U.S.
Source: Fox Business
© DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved.
Outages Happen
More than 60 flights to and from Heathrow and Gatwick were
canceled and more than 100 were delayed, according to the
departure boards at the two airports. The problems started when people
tried to check in for the first flights of the day and lasted for about
12 hours.
Airline would not confirm how many people have been affected but
said it had experienced a “systems issue” affecting check-in
and flight departures at Heathrow, Gatwick and London City
airports.
Source: Reuters
August 7, 2019
Airline resuming services after latest IT meltdown
© DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved.
Outages Happen
August 11, 2019
Banking services across Mexico go down due to data center outage
An electronic transaction services firm responsible for processing card
payments, said an electrical fault at its data centre in Santa Fe,
Mexico, was responsible for the outage that affected customers.
Customers were unable to make purchases or withdraw cash
using their credit and debit cards for several hours on Saturday.
Several Mexican media outlets reported chaos in supermarkets as
hapless shoppers were forced to abandon shopping trolleys full of
food.
Source: Techerati
© DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved.
Outages are Expensive
“Analysts also predicted the retailer most likely lost hundreds of millions of dollars in sales
due to the glitches.” - Fox Business
“Said a power outage that led to the cancellation of hundreds of flights last month probably
cost it about 80 million pounds ($102 million) in lost revenue and the expense of
accommodating, re-booking and compensating thousands of passengers” - Bloomberg
“Uptime Institute’s 2018 Data Center Survey polled nearly 1,500 respondents and key
findings revealed that nearly a third of all reported outages cost more than $250K; 41
respondents reported a single outage cost over $1M; and one specific incident cost over
$50M”
© DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved.
What is the root cause of these outages?
© DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved.
What is the root cause of these outages?
Network
© DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved.
What is the root cause of these outages?
Network Config
change
© DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved.
What is the root cause of these outages?
Network Config
change
© DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved.
What is the root cause of these outages?
Network Config
change
Maintenance
© DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved.
What is the root cause of these outages?
Network Config
change
Maintenance
© DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved.
What is the root cause of these outages?
Network Config
change
Maintenance
Humans!
© DataStax, All Rights Reserved.Confidential
Why does it matter?
Designing fault tolerant applications matters because outages
happen and they are expensive
… and the incidents show up in the news
© DataStax, All Rights Reserved.Confidential
What can be done about it?
© DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved.
Infrastructure Terminology
Cloud
Instances
Availability Zones (AZ)
Regions
© DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved.
On-Premises
Servers
- Maps to Cloud concept of Instances
Racks
- Maps to Cloud concept of AZ
Physical Data Centers
- Maps to Cloud concept of Regions
Physical Data Center
Infrastructure Terminology
Virginia California
Physical Data Center
© DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved.
Cassandra Concepts
Logical Groupings
Nodes
Racks
- controls placement of data replicas
within a data center / region
Data Centers
- controls placement of data replicas
across data centers / regions
Clusters
- encompases one to many data centers
Configured in cassandra-rackdc.properties
dc=dc1
rack=rack1example
© DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved.
Cassandra Concepts
Masterless
© DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved.
Cassandra Concepts
Data Distribution
Replication Factor
- Defines number of replicas for a single row
- Defines the data centers in which the data
should live
- Using “tokens”, Cassandra will evenly
distribute the data replicas across the logical
racks for each data center
CREATE KEYSPACE shopping WITH REPLICATION = {'class':'NetworkTopologyStrategy','dc1': 3,'dc2': 3};
allocate_tokens_for_local_replication_factor
© DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved.
Cassandra Concepts
Data Distribution
Replication Factor
- Defines number of replicas for a single row
- Defines the data centers in which the data
should live
- Using “tokens”, Cassandra will evenly
distribute the data replicas across the logical
racks for each data center
CREATE KEYSPACE shopping WITH REPLICATION = {'class':'NetworkTopologyStrategy','dc1': 3,'dc2': 3};
allocate_tokens_for_local_replication_factor
To protect against single
node outage, have
multiple replicas
© DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved.
Cassandra Concepts
Data Distribution
Replication Factor
- Defines number of replicas for a single row
- Defines the data centers in which the data
should live
- Using “tokens”, Cassandra will evenly
distribute the data replicas across the logical
racks for each data center
CREATE KEYSPACE shopping WITH REPLICATION = {'class':'NetworkTopologyStrategy','dc1': 3,'dc2': 3};
allocate_tokens_for_local_replication_factor
To protect against
availability zone outage,
distribute data across
multiple racks or AZs
To protect against single
node outage, have
multiple replicas
© DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved.
Cassandra Concepts
Data Distribution
Replication Factor
- Defines number of replicas for a single row
- Defines the data centers in which the data
should live
- Using “tokens”, Cassandra will evenly
distribute the data replicas across the logical
racks for each data center
CREATE KEYSPACE shopping WITH REPLICATION = {'class':'NetworkTopologyStrategy','dc1': 3,'dc2': 3};
allocate_tokens_for_local_replication_factor
To protect against region
outage, distribute data
across multiple physical
data centers or regions
To protect against
availability zone outage,
distribute data across
multiple racks or AZs
To protect against single
node outage, have
multiple replicas
© DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved.
Cassandra Concepts
Consistency Levels
- The number of replicas that need to acknowledge the read or write operation success to
the coordinator of the query.
- Tunable consistency model, trade-off between availability and data consistency
© DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved.
Cassandra Concepts
Consistency Levels
- The number of replicas that need to acknowledge the read or write operation success to
the coordinator of the query.
- Tunable consistency model, trade-off between availability and data consistency
© DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved.
Cassandra Concepts
Consistency Levels
- The number of replicas that need to acknowledge the read or write operation success to
the coordinator of the query.
- Tunable consistency model, trade-off between availability and data consistency
© DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved.
Cassandra Concepts
Consistency Levels
- The number of replicas that need to acknowledge the read or write operation success to
the coordinator of the query.
- Tunable consistency model, trade-off between availability and data consistency
© DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved.
Cassandra Concepts
Consistency Levels
Local Data Center
- Best practice to pin driver instances to a single data center using the DCAwareRoundRobinPolicy
- Affects the coordinator selection and group of nodes that will need to respond for LOCAL consistency
levels ( LOCAL_ONE, LOCAL_QUORUM )
- The driver creates connection pools to each node in the local data center
DCAwareRoundRobinPolicy.builder().withLocalDc(“us-east-1”)
© DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved.
Cassandra Concepts
Consistency Levels
LOCAL_ONE
- A single replica in the local data center received the write and
only requires a single local node to be available and to confirm the
write for a request to succeed.
- The coordinator of the query will send the write request to replicas
in all data centers, the difference relies on whether the coordinator
should wait for remote replicas to acknowledge the write for the
operation to succeed.
- For RF=3 … LOCAL_ONE is 1 replica
© DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved.
Cassandra Concepts
Consistency Levels
LOCAL_QUORUM
- Majority of replicas in the local data center received the write and
only requires those local nodes to be available and to confirm the
write for a request to succeed.
- The coordinator of the query will send the write request to replicas
in all data centers, the difference relies on whether the coordinator
should wait for remote replicas to acknowledge the write for the
operation to succeed.
- For RF=3 … LOCAL_QUORUM is 2 replicas
© DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved.
Cassandra Concepts
Consistency Levels
EACH_QUORUM
- Majority of replicas in each data center received the write and
requires a quorum of nodes in each data center to be available
and to confirm the write for a request to succeed.
- For RF=3 in 2 data centers … EACH_QUORUM is 4 total replicas
© DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved.
Application Architecture
© DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved.
Application Architecture
© DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved.
Availability Zone Outage
© DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved.
Region Outage
© DataStax, All Rights Reserved.Confidential
What can be done about it?
1. Understand the failure domains
2. Prepare and design to protect against scopes of failure
3. Use DataStax and Cassandra for a fault tolerant database
© DataStax, All Rights Reserved.Confidential
Lets see it.
© DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved.
Demo
https://github.com/datastax/dc-failover-demo
● 6 EC2 instances for DataStax Distribution of Apache Cassandra nodes segregated in two
data-centers:
○ Region us-east-1: 3 EC2 m5.2xlarge instances across 3 Availability Zones (AZ).
○ Region us-west-2: 3 EC2 m5.2xlarge instances across 3 AZs.
● 6 EC2 m5.large instances to be used for application services, one in each AZ.
● 2 Elastic Load Balancers (ELB), one per region, with health checks enabled.
● 1 AWS Global Accelerator as ELBs anycast frontend, with health checks enabled.
● 2 EC2 t2.small instances to be used as clients, one in each region. ( Locust )
© DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved.
Demo
© DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved.
Demo
CREATE KEYSPACE IF NOT EXISTS shopping WITH REPLICATION =
{'class':'NetworkTopologyStrategy','us-east-1': 3,'us-west-2': 3};
CREATE TABLE IF NOT EXISTS shopping.carts (
username text,
item_id int,
date_added timestamp,
item_name text,
PRIMARY KEY (username, item_id, date_added))
SELECT * FROM shopping.carts WHERE username = ?
INSERT INTO shopping.carts (username, item_id, date_added, item_name) VALUES (?,
?, toTimestamp(now()), ?)
Uses DataStax Java Driver for Cassandra, version 4.x
Schema
Reads
Writes
© DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved.
Demo
https://locust.io - “An Open Source Load Testing Tool”
© DataStax, All Rights Reserved.Confidential
Questions?
© DataStax, All Rights Reserved.Confidential
Thank you!

Contenu connexe

Tendances

Webinar: Customer Experience in Banking - a CTO's Perspective
Webinar: Customer Experience in Banking - a CTO's PerspectiveWebinar: Customer Experience in Banking - a CTO's Perspective
Webinar: Customer Experience in Banking - a CTO's PerspectiveDataStax
 
Webinar: DataStax and Microsoft Azure: Empowering the Right-Now Enterprise wi...
Webinar: DataStax and Microsoft Azure: Empowering the Right-Now Enterprise wi...Webinar: DataStax and Microsoft Azure: Empowering the Right-Now Enterprise wi...
Webinar: DataStax and Microsoft Azure: Empowering the Right-Now Enterprise wi...DataStax
 
How to get Real-Time Value from your IoT Data - Datastax
How to get Real-Time Value from your IoT Data - DatastaxHow to get Real-Time Value from your IoT Data - Datastax
How to get Real-Time Value from your IoT Data - DatastaxDataStax
 
Webinar - Delivering Enhanced Message Processing at Scale With an Always-on D...
Webinar - Delivering Enhanced Message Processing at Scale With an Always-on D...Webinar - Delivering Enhanced Message Processing at Scale With an Always-on D...
Webinar - Delivering Enhanced Message Processing at Scale With an Always-on D...DataStax
 
Webinar - Data Management for the "Right-Now" Economy - The 5 Key Ingredients
Webinar - Data Management for the "Right-Now" Economy - The 5 Key IngredientsWebinar - Data Management for the "Right-Now" Economy - The 5 Key Ingredients
Webinar - Data Management for the "Right-Now" Economy - The 5 Key IngredientsDataStax
 
Webinar: Comparing DataStax Enterprise with Open Source Apache Cassandra
Webinar: Comparing DataStax Enterprise with Open Source Apache CassandraWebinar: Comparing DataStax Enterprise with Open Source Apache Cassandra
Webinar: Comparing DataStax Enterprise with Open Source Apache CassandraDataStax
 
Webinar - Fighting Bank Fraud with Real-time Graph Database
Webinar - Fighting Bank Fraud with Real-time Graph Database Webinar - Fighting Bank Fraud with Real-time Graph Database
Webinar - Fighting Bank Fraud with Real-time Graph Database DataStax
 
Is Your Enterprise Ready to Shine This Holiday Season?
Is Your Enterprise Ready to Shine This Holiday Season?Is Your Enterprise Ready to Shine This Holiday Season?
Is Your Enterprise Ready to Shine This Holiday Season?DataStax
 
Webinar - Case Study: ProtectWise enhances network security with DataStax alw...
Webinar - Case Study: ProtectWise enhances network security with DataStax alw...Webinar - Case Study: ProtectWise enhances network security with DataStax alw...
Webinar - Case Study: ProtectWise enhances network security with DataStax alw...DataStax
 
Introduction: Architecting for Scale
Introduction: Architecting for ScaleIntroduction: Architecting for Scale
Introduction: Architecting for ScaleDataStax
 
Webinar: DataStax Enterprise 6: 10 Ways to Multiply the Power of Apache Cassa...
Webinar: DataStax Enterprise 6: 10 Ways to Multiply the Power of Apache Cassa...Webinar: DataStax Enterprise 6: 10 Ways to Multiply the Power of Apache Cassa...
Webinar: DataStax Enterprise 6: 10 Ways to Multiply the Power of Apache Cassa...DataStax
 
Get Started with Cloudera’s Cyber Solution
Get Started with Cloudera’s Cyber SolutionGet Started with Cloudera’s Cyber Solution
Get Started with Cloudera’s Cyber SolutionCloudera, Inc.
 
How Virtual Reality and Machine Learning Are Powering the New Age of Network ...
How Virtual Reality and Machine Learning Are Powering the New Age of Network ...How Virtual Reality and Machine Learning Are Powering the New Age of Network ...
How Virtual Reality and Machine Learning Are Powering the New Age of Network ...DataStax
 
The Big Data Ecosystem for Financial Services
The Big Data Ecosystem for Financial ServicesThe Big Data Ecosystem for Financial Services
The Big Data Ecosystem for Financial ServicesDataStax
 
Webinar: DataStax Managed Cloud: focus on innovation, not administration
Webinar:  DataStax Managed Cloud: focus on innovation, not administrationWebinar:  DataStax Managed Cloud: focus on innovation, not administration
Webinar: DataStax Managed Cloud: focus on innovation, not administrationDataStax
 
Webinar: Fighting Fraud with Graph Databases
Webinar: Fighting Fraud with Graph DatabasesWebinar: Fighting Fraud with Graph Databases
Webinar: Fighting Fraud with Graph DatabasesDataStax
 
2020 Cloudera Data Impact Awards Finalists
2020 Cloudera Data Impact Awards Finalists2020 Cloudera Data Impact Awards Finalists
2020 Cloudera Data Impact Awards FinalistsCloudera, Inc.
 
Rethink Analytics with an Enterprise Data Hub
Rethink Analytics with an Enterprise Data HubRethink Analytics with an Enterprise Data Hub
Rethink Analytics with an Enterprise Data HubCloudera, Inc.
 
Webinar | How to Understand Apache Cassandra™ Performance Through Read/Writ...
Webinar  |  How to Understand Apache Cassandra™ Performance Through Read/Writ...Webinar  |  How to Understand Apache Cassandra™ Performance Through Read/Writ...
Webinar | How to Understand Apache Cassandra™ Performance Through Read/Writ...DataStax
 
Webinar: Become PSD2 ready with DataStax
Webinar: Become PSD2 ready with DataStaxWebinar: Become PSD2 ready with DataStax
Webinar: Become PSD2 ready with DataStaxDataStax
 

Tendances (20)

Webinar: Customer Experience in Banking - a CTO's Perspective
Webinar: Customer Experience in Banking - a CTO's PerspectiveWebinar: Customer Experience in Banking - a CTO's Perspective
Webinar: Customer Experience in Banking - a CTO's Perspective
 
Webinar: DataStax and Microsoft Azure: Empowering the Right-Now Enterprise wi...
Webinar: DataStax and Microsoft Azure: Empowering the Right-Now Enterprise wi...Webinar: DataStax and Microsoft Azure: Empowering the Right-Now Enterprise wi...
Webinar: DataStax and Microsoft Azure: Empowering the Right-Now Enterprise wi...
 
How to get Real-Time Value from your IoT Data - Datastax
How to get Real-Time Value from your IoT Data - DatastaxHow to get Real-Time Value from your IoT Data - Datastax
How to get Real-Time Value from your IoT Data - Datastax
 
Webinar - Delivering Enhanced Message Processing at Scale With an Always-on D...
Webinar - Delivering Enhanced Message Processing at Scale With an Always-on D...Webinar - Delivering Enhanced Message Processing at Scale With an Always-on D...
Webinar - Delivering Enhanced Message Processing at Scale With an Always-on D...
 
Webinar - Data Management for the "Right-Now" Economy - The 5 Key Ingredients
Webinar - Data Management for the "Right-Now" Economy - The 5 Key IngredientsWebinar - Data Management for the "Right-Now" Economy - The 5 Key Ingredients
Webinar - Data Management for the "Right-Now" Economy - The 5 Key Ingredients
 
Webinar: Comparing DataStax Enterprise with Open Source Apache Cassandra
Webinar: Comparing DataStax Enterprise with Open Source Apache CassandraWebinar: Comparing DataStax Enterprise with Open Source Apache Cassandra
Webinar: Comparing DataStax Enterprise with Open Source Apache Cassandra
 
Webinar - Fighting Bank Fraud with Real-time Graph Database
Webinar - Fighting Bank Fraud with Real-time Graph Database Webinar - Fighting Bank Fraud with Real-time Graph Database
Webinar - Fighting Bank Fraud with Real-time Graph Database
 
Is Your Enterprise Ready to Shine This Holiday Season?
Is Your Enterprise Ready to Shine This Holiday Season?Is Your Enterprise Ready to Shine This Holiday Season?
Is Your Enterprise Ready to Shine This Holiday Season?
 
Webinar - Case Study: ProtectWise enhances network security with DataStax alw...
Webinar - Case Study: ProtectWise enhances network security with DataStax alw...Webinar - Case Study: ProtectWise enhances network security with DataStax alw...
Webinar - Case Study: ProtectWise enhances network security with DataStax alw...
 
Introduction: Architecting for Scale
Introduction: Architecting for ScaleIntroduction: Architecting for Scale
Introduction: Architecting for Scale
 
Webinar: DataStax Enterprise 6: 10 Ways to Multiply the Power of Apache Cassa...
Webinar: DataStax Enterprise 6: 10 Ways to Multiply the Power of Apache Cassa...Webinar: DataStax Enterprise 6: 10 Ways to Multiply the Power of Apache Cassa...
Webinar: DataStax Enterprise 6: 10 Ways to Multiply the Power of Apache Cassa...
 
Get Started with Cloudera’s Cyber Solution
Get Started with Cloudera’s Cyber SolutionGet Started with Cloudera’s Cyber Solution
Get Started with Cloudera’s Cyber Solution
 
How Virtual Reality and Machine Learning Are Powering the New Age of Network ...
How Virtual Reality and Machine Learning Are Powering the New Age of Network ...How Virtual Reality and Machine Learning Are Powering the New Age of Network ...
How Virtual Reality and Machine Learning Are Powering the New Age of Network ...
 
The Big Data Ecosystem for Financial Services
The Big Data Ecosystem for Financial ServicesThe Big Data Ecosystem for Financial Services
The Big Data Ecosystem for Financial Services
 
Webinar: DataStax Managed Cloud: focus on innovation, not administration
Webinar:  DataStax Managed Cloud: focus on innovation, not administrationWebinar:  DataStax Managed Cloud: focus on innovation, not administration
Webinar: DataStax Managed Cloud: focus on innovation, not administration
 
Webinar: Fighting Fraud with Graph Databases
Webinar: Fighting Fraud with Graph DatabasesWebinar: Fighting Fraud with Graph Databases
Webinar: Fighting Fraud with Graph Databases
 
2020 Cloudera Data Impact Awards Finalists
2020 Cloudera Data Impact Awards Finalists2020 Cloudera Data Impact Awards Finalists
2020 Cloudera Data Impact Awards Finalists
 
Rethink Analytics with an Enterprise Data Hub
Rethink Analytics with an Enterprise Data HubRethink Analytics with an Enterprise Data Hub
Rethink Analytics with an Enterprise Data Hub
 
Webinar | How to Understand Apache Cassandra™ Performance Through Read/Writ...
Webinar  |  How to Understand Apache Cassandra™ Performance Through Read/Writ...Webinar  |  How to Understand Apache Cassandra™ Performance Through Read/Writ...
Webinar | How to Understand Apache Cassandra™ Performance Through Read/Writ...
 
Webinar: Become PSD2 ready with DataStax
Webinar: Become PSD2 ready with DataStaxWebinar: Become PSD2 ready with DataStax
Webinar: Become PSD2 ready with DataStax
 

Similaire à Design Fault-Tolerant Apps with Cassandra

Webinar - The Agility Challenge - Powering Cloud Apps with Multi-Model & Mixe...
Webinar - The Agility Challenge - Powering Cloud Apps with Multi-Model & Mixe...Webinar - The Agility Challenge - Powering Cloud Apps with Multi-Model & Mixe...
Webinar - The Agility Challenge - Powering Cloud Apps with Multi-Model & Mixe...DataStax
 
Slides: Relational to NoSQL Migration
Slides: Relational to NoSQL MigrationSlides: Relational to NoSQL Migration
Slides: Relational to NoSQL MigrationDATAVERSITY
 
How much money do you lose every time your ecommerce site goes down?
How much money do you lose every time your ecommerce site goes down?How much money do you lose every time your ecommerce site goes down?
How much money do you lose every time your ecommerce site goes down?DataStax
 
Webinar: The Performance Challenge: Providing an Amazing Customer Experience ...
Webinar: The Performance Challenge: Providing an Amazing Customer Experience ...Webinar: The Performance Challenge: Providing an Amazing Customer Experience ...
Webinar: The Performance Challenge: Providing an Amazing Customer Experience ...DataStax
 
Oracle Coherence: in-memory datagrid
Oracle Coherence: in-memory datagridOracle Coherence: in-memory datagrid
Oracle Coherence: in-memory datagridEmiliano Pecis
 
IT Infrastructure Through The Public Network Challenges And Solutions
IT Infrastructure Through The Public Network   Challenges And SolutionsIT Infrastructure Through The Public Network   Challenges And Solutions
IT Infrastructure Through The Public Network Challenges And SolutionsMartin Jackson
 
Enterprise Data and Analytics Architecture Overview for Electric Utility
Enterprise Data and Analytics Architecture Overview for Electric UtilityEnterprise Data and Analytics Architecture Overview for Electric Utility
Enterprise Data and Analytics Architecture Overview for Electric UtilityPrajesh Bhattacharya
 
Melbourne: Certus Data 2.0 Vault Meetup with Snowflake - Data Vault In The Cl...
Melbourne: Certus Data 2.0 Vault Meetup with Snowflake - Data Vault In The Cl...Melbourne: Certus Data 2.0 Vault Meetup with Snowflake - Data Vault In The Cl...
Melbourne: Certus Data 2.0 Vault Meetup with Snowflake - Data Vault In The Cl...Certus Solutions
 
Connecting the dots - How Amazon Neptune and Graph Databases can transform yo...
Connecting the dots - How Amazon Neptune and Graph Databases can transform yo...Connecting the dots - How Amazon Neptune and Graph Databases can transform yo...
Connecting the dots - How Amazon Neptune and Graph Databases can transform yo...Amazon Web Services
 
Automatic Data Reconciliation, Data Quality, and Data Observability.pdf
Automatic Data Reconciliation, Data Quality, and Data Observability.pdfAutomatic Data Reconciliation, Data Quality, and Data Observability.pdf
Automatic Data Reconciliation, Data Quality, and Data Observability.pdf4dalert
 
New Database and Application Development Technology
New Database and Application Development TechnologyNew Database and Application Development Technology
New Database and Application Development TechnologyMaurice Staal
 
First in Class: Optimizing the Data Lake for Tighter Integration
First in Class: Optimizing the Data Lake for Tighter IntegrationFirst in Class: Optimizing the Data Lake for Tighter Integration
First in Class: Optimizing the Data Lake for Tighter IntegrationInside Analysis
 
Webinar: How Microsoft is changing the game with Windows Azure
Webinar: How Microsoft is changing the game with Windows AzureWebinar: How Microsoft is changing the game with Windows Azure
Webinar: How Microsoft is changing the game with Windows AzureCommon Sense
 
MySQL Backed - Fraud Prevention
MySQL Backed - Fraud PreventionMySQL Backed - Fraud Prevention
MySQL Backed - Fraud PreventionRan Grushkowsky
 
Big Data Learnings from a Vendor's Perspective
Big Data Learnings from a Vendor's PerspectiveBig Data Learnings from a Vendor's Perspective
Big Data Learnings from a Vendor's PerspectiveAerospike, Inc.
 
Databases on AWS: The Right Tool for the Right Job (DAT205-R1) - AWS re:Inven...
Databases on AWS: The Right Tool for the Right Job (DAT205-R1) - AWS re:Inven...Databases on AWS: The Right Tool for the Right Job (DAT205-R1) - AWS re:Inven...
Databases on AWS: The Right Tool for the Right Job (DAT205-R1) - AWS re:Inven...Amazon Web Services
 
Non-Relational Revolution - Joseph Idziorek
Non-Relational Revolution - Joseph IdziorekNon-Relational Revolution - Joseph Idziorek
Non-Relational Revolution - Joseph IdziorekAmazon Web Services
 
Structure 2014 - Disrupting the data center - Intel sponsor workshop
Structure 2014 - Disrupting the data center - Intel sponsor workshopStructure 2014 - Disrupting the data center - Intel sponsor workshop
Structure 2014 - Disrupting the data center - Intel sponsor workshopGigaom
 
BDA306 Building a Modern Data Warehouse: Deep Dive on Amazon Redshift
BDA306 Building a Modern Data Warehouse: Deep Dive on Amazon RedshiftBDA306 Building a Modern Data Warehouse: Deep Dive on Amazon Redshift
BDA306 Building a Modern Data Warehouse: Deep Dive on Amazon RedshiftAmazon Web Services
 
Don't Let Your Shoppers Drop; 5 Rules for Today’s eCommerce
Don't Let Your Shoppers Drop; 5 Rules for Today’s eCommerceDon't Let Your Shoppers Drop; 5 Rules for Today’s eCommerce
Don't Let Your Shoppers Drop; 5 Rules for Today’s eCommerceDataStax
 

Similaire à Design Fault-Tolerant Apps with Cassandra (20)

Webinar - The Agility Challenge - Powering Cloud Apps with Multi-Model & Mixe...
Webinar - The Agility Challenge - Powering Cloud Apps with Multi-Model & Mixe...Webinar - The Agility Challenge - Powering Cloud Apps with Multi-Model & Mixe...
Webinar - The Agility Challenge - Powering Cloud Apps with Multi-Model & Mixe...
 
Slides: Relational to NoSQL Migration
Slides: Relational to NoSQL MigrationSlides: Relational to NoSQL Migration
Slides: Relational to NoSQL Migration
 
How much money do you lose every time your ecommerce site goes down?
How much money do you lose every time your ecommerce site goes down?How much money do you lose every time your ecommerce site goes down?
How much money do you lose every time your ecommerce site goes down?
 
Webinar: The Performance Challenge: Providing an Amazing Customer Experience ...
Webinar: The Performance Challenge: Providing an Amazing Customer Experience ...Webinar: The Performance Challenge: Providing an Amazing Customer Experience ...
Webinar: The Performance Challenge: Providing an Amazing Customer Experience ...
 
Oracle Coherence: in-memory datagrid
Oracle Coherence: in-memory datagridOracle Coherence: in-memory datagrid
Oracle Coherence: in-memory datagrid
 
IT Infrastructure Through The Public Network Challenges And Solutions
IT Infrastructure Through The Public Network   Challenges And SolutionsIT Infrastructure Through The Public Network   Challenges And Solutions
IT Infrastructure Through The Public Network Challenges And Solutions
 
Enterprise Data and Analytics Architecture Overview for Electric Utility
Enterprise Data and Analytics Architecture Overview for Electric UtilityEnterprise Data and Analytics Architecture Overview for Electric Utility
Enterprise Data and Analytics Architecture Overview for Electric Utility
 
Melbourne: Certus Data 2.0 Vault Meetup with Snowflake - Data Vault In The Cl...
Melbourne: Certus Data 2.0 Vault Meetup with Snowflake - Data Vault In The Cl...Melbourne: Certus Data 2.0 Vault Meetup with Snowflake - Data Vault In The Cl...
Melbourne: Certus Data 2.0 Vault Meetup with Snowflake - Data Vault In The Cl...
 
Connecting the dots - How Amazon Neptune and Graph Databases can transform yo...
Connecting the dots - How Amazon Neptune and Graph Databases can transform yo...Connecting the dots - How Amazon Neptune and Graph Databases can transform yo...
Connecting the dots - How Amazon Neptune and Graph Databases can transform yo...
 
Automatic Data Reconciliation, Data Quality, and Data Observability.pdf
Automatic Data Reconciliation, Data Quality, and Data Observability.pdfAutomatic Data Reconciliation, Data Quality, and Data Observability.pdf
Automatic Data Reconciliation, Data Quality, and Data Observability.pdf
 
New Database and Application Development Technology
New Database and Application Development TechnologyNew Database and Application Development Technology
New Database and Application Development Technology
 
First in Class: Optimizing the Data Lake for Tighter Integration
First in Class: Optimizing the Data Lake for Tighter IntegrationFirst in Class: Optimizing the Data Lake for Tighter Integration
First in Class: Optimizing the Data Lake for Tighter Integration
 
Webinar: How Microsoft is changing the game with Windows Azure
Webinar: How Microsoft is changing the game with Windows AzureWebinar: How Microsoft is changing the game with Windows Azure
Webinar: How Microsoft is changing the game with Windows Azure
 
MySQL Backed - Fraud Prevention
MySQL Backed - Fraud PreventionMySQL Backed - Fraud Prevention
MySQL Backed - Fraud Prevention
 
Big Data Learnings from a Vendor's Perspective
Big Data Learnings from a Vendor's PerspectiveBig Data Learnings from a Vendor's Perspective
Big Data Learnings from a Vendor's Perspective
 
Databases on AWS: The Right Tool for the Right Job (DAT205-R1) - AWS re:Inven...
Databases on AWS: The Right Tool for the Right Job (DAT205-R1) - AWS re:Inven...Databases on AWS: The Right Tool for the Right Job (DAT205-R1) - AWS re:Inven...
Databases on AWS: The Right Tool for the Right Job (DAT205-R1) - AWS re:Inven...
 
Non-Relational Revolution - Joseph Idziorek
Non-Relational Revolution - Joseph IdziorekNon-Relational Revolution - Joseph Idziorek
Non-Relational Revolution - Joseph Idziorek
 
Structure 2014 - Disrupting the data center - Intel sponsor workshop
Structure 2014 - Disrupting the data center - Intel sponsor workshopStructure 2014 - Disrupting the data center - Intel sponsor workshop
Structure 2014 - Disrupting the data center - Intel sponsor workshop
 
BDA306 Building a Modern Data Warehouse: Deep Dive on Amazon Redshift
BDA306 Building a Modern Data Warehouse: Deep Dive on Amazon RedshiftBDA306 Building a Modern Data Warehouse: Deep Dive on Amazon Redshift
BDA306 Building a Modern Data Warehouse: Deep Dive on Amazon Redshift
 
Don't Let Your Shoppers Drop; 5 Rules for Today’s eCommerce
Don't Let Your Shoppers Drop; 5 Rules for Today’s eCommerceDon't Let Your Shoppers Drop; 5 Rules for Today’s eCommerce
Don't Let Your Shoppers Drop; 5 Rules for Today’s eCommerce
 

Plus de DataStax

Running DataStax Enterprise in VMware Cloud and Hybrid Environments
Running DataStax Enterprise in VMware Cloud and Hybrid EnvironmentsRunning DataStax Enterprise in VMware Cloud and Hybrid Environments
Running DataStax Enterprise in VMware Cloud and Hybrid EnvironmentsDataStax
 
Webinar | Better Together: Apache Cassandra and Apache Kafka
Webinar  |  Better Together: Apache Cassandra and Apache KafkaWebinar  |  Better Together: Apache Cassandra and Apache Kafka
Webinar | Better Together: Apache Cassandra and Apache KafkaDataStax
 
Top 10 Best Practices for Apache Cassandra and DataStax Enterprise
Top 10 Best Practices for Apache Cassandra and DataStax EnterpriseTop 10 Best Practices for Apache Cassandra and DataStax Enterprise
Top 10 Best Practices for Apache Cassandra and DataStax EnterpriseDataStax
 
Introduction to Apache Cassandra™ + What’s New in 4.0
Introduction to Apache Cassandra™ + What’s New in 4.0Introduction to Apache Cassandra™ + What’s New in 4.0
Introduction to Apache Cassandra™ + What’s New in 4.0DataStax
 
Webinar - Real-Time Customer Experience for the Right-Now Enterprise featurin...
Webinar - Real-Time Customer Experience for the Right-Now Enterprise featurin...Webinar - Real-Time Customer Experience for the Right-Now Enterprise featurin...
Webinar - Real-Time Customer Experience for the Right-Now Enterprise featurin...DataStax
 
Datastax - The Architect's guide to customer experience (CX)
Datastax - The Architect's guide to customer experience (CX)Datastax - The Architect's guide to customer experience (CX)
Datastax - The Architect's guide to customer experience (CX)DataStax
 
Becoming a Customer-Centric Enterprise Via Real-Time Data and Design Thinking
Becoming a Customer-Centric Enterprise Via Real-Time Data and Design ThinkingBecoming a Customer-Centric Enterprise Via Real-Time Data and Design Thinking
Becoming a Customer-Centric Enterprise Via Real-Time Data and Design ThinkingDataStax
 
Innovation Around Data and AI for Fraud Detection
Innovation Around Data and AI for Fraud DetectionInnovation Around Data and AI for Fraud Detection
Innovation Around Data and AI for Fraud DetectionDataStax
 
Webinar: Building a Multi-Cloud Strategy with Data Autonomy featuring 451 Res...
Webinar: Building a Multi-Cloud Strategy with Data Autonomy featuring 451 Res...Webinar: Building a Multi-Cloud Strategy with Data Autonomy featuring 451 Res...
Webinar: Building a Multi-Cloud Strategy with Data Autonomy featuring 451 Res...DataStax
 
Real Time Customer Experience for today's Right-Now Economy
Real Time Customer Experience for today's Right-Now EconomyReal Time Customer Experience for today's Right-Now Economy
Real Time Customer Experience for today's Right-Now EconomyDataStax
 
Accelerating Digital Transformation using Cloud Native Solutions
Accelerating Digital Transformation using Cloud Native SolutionsAccelerating Digital Transformation using Cloud Native Solutions
Accelerating Digital Transformation using Cloud Native SolutionsDataStax
 
GDPR: The Catalyst for Customer 360
GDPR: The Catalyst for Customer 360GDPR: The Catalyst for Customer 360
GDPR: The Catalyst for Customer 360DataStax
 
Managing Smart Meter with DataStax DSE
Managing Smart Meter with DataStax DSEManaging Smart Meter with DataStax DSE
Managing Smart Meter with DataStax DSEDataStax
 

Plus de DataStax (13)

Running DataStax Enterprise in VMware Cloud and Hybrid Environments
Running DataStax Enterprise in VMware Cloud and Hybrid EnvironmentsRunning DataStax Enterprise in VMware Cloud and Hybrid Environments
Running DataStax Enterprise in VMware Cloud and Hybrid Environments
 
Webinar | Better Together: Apache Cassandra and Apache Kafka
Webinar  |  Better Together: Apache Cassandra and Apache KafkaWebinar  |  Better Together: Apache Cassandra and Apache Kafka
Webinar | Better Together: Apache Cassandra and Apache Kafka
 
Top 10 Best Practices for Apache Cassandra and DataStax Enterprise
Top 10 Best Practices for Apache Cassandra and DataStax EnterpriseTop 10 Best Practices for Apache Cassandra and DataStax Enterprise
Top 10 Best Practices for Apache Cassandra and DataStax Enterprise
 
Introduction to Apache Cassandra™ + What’s New in 4.0
Introduction to Apache Cassandra™ + What’s New in 4.0Introduction to Apache Cassandra™ + What’s New in 4.0
Introduction to Apache Cassandra™ + What’s New in 4.0
 
Webinar - Real-Time Customer Experience for the Right-Now Enterprise featurin...
Webinar - Real-Time Customer Experience for the Right-Now Enterprise featurin...Webinar - Real-Time Customer Experience for the Right-Now Enterprise featurin...
Webinar - Real-Time Customer Experience for the Right-Now Enterprise featurin...
 
Datastax - The Architect's guide to customer experience (CX)
Datastax - The Architect's guide to customer experience (CX)Datastax - The Architect's guide to customer experience (CX)
Datastax - The Architect's guide to customer experience (CX)
 
Becoming a Customer-Centric Enterprise Via Real-Time Data and Design Thinking
Becoming a Customer-Centric Enterprise Via Real-Time Data and Design ThinkingBecoming a Customer-Centric Enterprise Via Real-Time Data and Design Thinking
Becoming a Customer-Centric Enterprise Via Real-Time Data and Design Thinking
 
Innovation Around Data and AI for Fraud Detection
Innovation Around Data and AI for Fraud DetectionInnovation Around Data and AI for Fraud Detection
Innovation Around Data and AI for Fraud Detection
 
Webinar: Building a Multi-Cloud Strategy with Data Autonomy featuring 451 Res...
Webinar: Building a Multi-Cloud Strategy with Data Autonomy featuring 451 Res...Webinar: Building a Multi-Cloud Strategy with Data Autonomy featuring 451 Res...
Webinar: Building a Multi-Cloud Strategy with Data Autonomy featuring 451 Res...
 
Real Time Customer Experience for today's Right-Now Economy
Real Time Customer Experience for today's Right-Now EconomyReal Time Customer Experience for today's Right-Now Economy
Real Time Customer Experience for today's Right-Now Economy
 
Accelerating Digital Transformation using Cloud Native Solutions
Accelerating Digital Transformation using Cloud Native SolutionsAccelerating Digital Transformation using Cloud Native Solutions
Accelerating Digital Transformation using Cloud Native Solutions
 
GDPR: The Catalyst for Customer 360
GDPR: The Catalyst for Customer 360GDPR: The Catalyst for Customer 360
GDPR: The Catalyst for Customer 360
 
Managing Smart Meter with DataStax DSE
Managing Smart Meter with DataStax DSEManaging Smart Meter with DataStax DSE
Managing Smart Meter with DataStax DSE
 

Dernier

How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 

Dernier (20)

How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 

Design Fault-Tolerant Apps with Cassandra

  • 1. © DataStax, All Rights Reserved.Confidential Designing Fault-Tolerant Applications with DataStax Enterprise and Apache Cassandra 1 © DataStax, All Rights Reserved. Confidential
  • 2. © DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved. Designing Fault Tolerant Applications 1. Why does it matter? 2. What can be done about it? 3. Let’s see it.
  • 3. © DataStax, All Rights Reserved.Confidential Why does it matter?
  • 4. © DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved. Outages Happen June 17, 2019 CEO apologizes for register outages: 'A tough weekend' Saturday’s glitch was due to an internal technical issue that caused registers to stop working in stores nationwide, while Sunday’s malfunction was due to problems at its vendor’s data center. System was down for several hours as employees worked to sort out the situation on the biggest shopping days of the week … confusion and long delays at stores across the U.S. Source: Fox Business
  • 5. © DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved. Outages Happen More than 60 flights to and from Heathrow and Gatwick were canceled and more than 100 were delayed, according to the departure boards at the two airports. The problems started when people tried to check in for the first flights of the day and lasted for about 12 hours. Airline would not confirm how many people have been affected but said it had experienced a “systems issue” affecting check-in and flight departures at Heathrow, Gatwick and London City airports. Source: Reuters August 7, 2019 Airline resuming services after latest IT meltdown
  • 6. © DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved. Outages Happen August 11, 2019 Banking services across Mexico go down due to data center outage An electronic transaction services firm responsible for processing card payments, said an electrical fault at its data centre in Santa Fe, Mexico, was responsible for the outage that affected customers. Customers were unable to make purchases or withdraw cash using their credit and debit cards for several hours on Saturday. Several Mexican media outlets reported chaos in supermarkets as hapless shoppers were forced to abandon shopping trolleys full of food. Source: Techerati
  • 7. © DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved. Outages are Expensive “Analysts also predicted the retailer most likely lost hundreds of millions of dollars in sales due to the glitches.” - Fox Business “Said a power outage that led to the cancellation of hundreds of flights last month probably cost it about 80 million pounds ($102 million) in lost revenue and the expense of accommodating, re-booking and compensating thousands of passengers” - Bloomberg “Uptime Institute’s 2018 Data Center Survey polled nearly 1,500 respondents and key findings revealed that nearly a third of all reported outages cost more than $250K; 41 respondents reported a single outage cost over $1M; and one specific incident cost over $50M”
  • 8. © DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved. What is the root cause of these outages?
  • 9. © DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved. What is the root cause of these outages? Network
  • 10. © DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved. What is the root cause of these outages? Network Config change
  • 11. © DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved. What is the root cause of these outages? Network Config change
  • 12. © DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved. What is the root cause of these outages? Network Config change Maintenance
  • 13. © DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved. What is the root cause of these outages? Network Config change Maintenance
  • 14. © DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved. What is the root cause of these outages? Network Config change Maintenance Humans!
  • 15. © DataStax, All Rights Reserved.Confidential Why does it matter? Designing fault tolerant applications matters because outages happen and they are expensive … and the incidents show up in the news
  • 16. © DataStax, All Rights Reserved.Confidential What can be done about it?
  • 17. © DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved. Infrastructure Terminology Cloud Instances Availability Zones (AZ) Regions
  • 18. © DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved. On-Premises Servers - Maps to Cloud concept of Instances Racks - Maps to Cloud concept of AZ Physical Data Centers - Maps to Cloud concept of Regions Physical Data Center Infrastructure Terminology Virginia California Physical Data Center
  • 19. © DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved. Cassandra Concepts Logical Groupings Nodes Racks - controls placement of data replicas within a data center / region Data Centers - controls placement of data replicas across data centers / regions Clusters - encompases one to many data centers Configured in cassandra-rackdc.properties dc=dc1 rack=rack1example
  • 20. © DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved. Cassandra Concepts Masterless
  • 21. © DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved. Cassandra Concepts Data Distribution Replication Factor - Defines number of replicas for a single row - Defines the data centers in which the data should live - Using “tokens”, Cassandra will evenly distribute the data replicas across the logical racks for each data center CREATE KEYSPACE shopping WITH REPLICATION = {'class':'NetworkTopologyStrategy','dc1': 3,'dc2': 3}; allocate_tokens_for_local_replication_factor
  • 22. © DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved. Cassandra Concepts Data Distribution Replication Factor - Defines number of replicas for a single row - Defines the data centers in which the data should live - Using “tokens”, Cassandra will evenly distribute the data replicas across the logical racks for each data center CREATE KEYSPACE shopping WITH REPLICATION = {'class':'NetworkTopologyStrategy','dc1': 3,'dc2': 3}; allocate_tokens_for_local_replication_factor To protect against single node outage, have multiple replicas
  • 23. © DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved. Cassandra Concepts Data Distribution Replication Factor - Defines number of replicas for a single row - Defines the data centers in which the data should live - Using “tokens”, Cassandra will evenly distribute the data replicas across the logical racks for each data center CREATE KEYSPACE shopping WITH REPLICATION = {'class':'NetworkTopologyStrategy','dc1': 3,'dc2': 3}; allocate_tokens_for_local_replication_factor To protect against availability zone outage, distribute data across multiple racks or AZs To protect against single node outage, have multiple replicas
  • 24. © DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved. Cassandra Concepts Data Distribution Replication Factor - Defines number of replicas for a single row - Defines the data centers in which the data should live - Using “tokens”, Cassandra will evenly distribute the data replicas across the logical racks for each data center CREATE KEYSPACE shopping WITH REPLICATION = {'class':'NetworkTopologyStrategy','dc1': 3,'dc2': 3}; allocate_tokens_for_local_replication_factor To protect against region outage, distribute data across multiple physical data centers or regions To protect against availability zone outage, distribute data across multiple racks or AZs To protect against single node outage, have multiple replicas
  • 25. © DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved. Cassandra Concepts Consistency Levels - The number of replicas that need to acknowledge the read or write operation success to the coordinator of the query. - Tunable consistency model, trade-off between availability and data consistency
  • 26. © DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved. Cassandra Concepts Consistency Levels - The number of replicas that need to acknowledge the read or write operation success to the coordinator of the query. - Tunable consistency model, trade-off between availability and data consistency
  • 27. © DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved. Cassandra Concepts Consistency Levels - The number of replicas that need to acknowledge the read or write operation success to the coordinator of the query. - Tunable consistency model, trade-off between availability and data consistency
  • 28. © DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved. Cassandra Concepts Consistency Levels - The number of replicas that need to acknowledge the read or write operation success to the coordinator of the query. - Tunable consistency model, trade-off between availability and data consistency
  • 29. © DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved. Cassandra Concepts Consistency Levels Local Data Center - Best practice to pin driver instances to a single data center using the DCAwareRoundRobinPolicy - Affects the coordinator selection and group of nodes that will need to respond for LOCAL consistency levels ( LOCAL_ONE, LOCAL_QUORUM ) - The driver creates connection pools to each node in the local data center DCAwareRoundRobinPolicy.builder().withLocalDc(“us-east-1”)
  • 30. © DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved. Cassandra Concepts Consistency Levels LOCAL_ONE - A single replica in the local data center received the write and only requires a single local node to be available and to confirm the write for a request to succeed. - The coordinator of the query will send the write request to replicas in all data centers, the difference relies on whether the coordinator should wait for remote replicas to acknowledge the write for the operation to succeed. - For RF=3 … LOCAL_ONE is 1 replica
  • 31. © DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved. Cassandra Concepts Consistency Levels LOCAL_QUORUM - Majority of replicas in the local data center received the write and only requires those local nodes to be available and to confirm the write for a request to succeed. - The coordinator of the query will send the write request to replicas in all data centers, the difference relies on whether the coordinator should wait for remote replicas to acknowledge the write for the operation to succeed. - For RF=3 … LOCAL_QUORUM is 2 replicas
  • 32. © DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved. Cassandra Concepts Consistency Levels EACH_QUORUM - Majority of replicas in each data center received the write and requires a quorum of nodes in each data center to be available and to confirm the write for a request to succeed. - For RF=3 in 2 data centers … EACH_QUORUM is 4 total replicas
  • 33. © DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved. Application Architecture
  • 34. © DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved. Application Architecture
  • 35. © DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved. Availability Zone Outage
  • 36. © DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved. Region Outage
  • 37. © DataStax, All Rights Reserved.Confidential What can be done about it? 1. Understand the failure domains 2. Prepare and design to protect against scopes of failure 3. Use DataStax and Cassandra for a fault tolerant database
  • 38. © DataStax, All Rights Reserved.Confidential Lets see it.
  • 39. © DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved. Demo https://github.com/datastax/dc-failover-demo ● 6 EC2 instances for DataStax Distribution of Apache Cassandra nodes segregated in two data-centers: ○ Region us-east-1: 3 EC2 m5.2xlarge instances across 3 Availability Zones (AZ). ○ Region us-west-2: 3 EC2 m5.2xlarge instances across 3 AZs. ● 6 EC2 m5.large instances to be used for application services, one in each AZ. ● 2 Elastic Load Balancers (ELB), one per region, with health checks enabled. ● 1 AWS Global Accelerator as ELBs anycast frontend, with health checks enabled. ● 2 EC2 t2.small instances to be used as clients, one in each region. ( Locust )
  • 40. © DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved. Demo
  • 41. © DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved. Demo CREATE KEYSPACE IF NOT EXISTS shopping WITH REPLICATION = {'class':'NetworkTopologyStrategy','us-east-1': 3,'us-west-2': 3}; CREATE TABLE IF NOT EXISTS shopping.carts ( username text, item_id int, date_added timestamp, item_name text, PRIMARY KEY (username, item_id, date_added)) SELECT * FROM shopping.carts WHERE username = ? INSERT INTO shopping.carts (username, item_id, date_added, item_name) VALUES (?, ?, toTimestamp(now()), ?) Uses DataStax Java Driver for Cassandra, version 4.x Schema Reads Writes
  • 42. © DataStax, All Rights Reserved.ConfidentialConfidential© DataStax, All Rights Reserved. Demo https://locust.io - “An Open Source Load Testing Tool”
  • 43. © DataStax, All Rights Reserved.Confidential Questions?
  • 44. © DataStax, All Rights Reserved.Confidential Thank you!

Notes de l'éditeur

  1. Processing transactions must always read the most recent write requires stronger consistency levels Product Ratings or are using Spark for a batch job may be tolerable to have “old” reads could use looser, more eventual consistency levels
  2. Processing transactions must always read the most recent write requires stronger consistency levels Product Ratings or are using Spark for a batch job may be tolerable to have “old” reads could use looser, more eventual consistency levels
  3. Processing transactions must always read the most recent write requires stronger consistency levels Product Ratings or are using Spark for a batch job may be tolerable to have “old” reads could use looser, more eventual consistency levels
  4. Processing transactions must always read the most recent write requires stronger consistency levels Product Ratings or are using Spark for a batch job may be tolerable to have “old” reads could use looser, more eventual consistency levels
  5. The client in this diagram hits the load balancer (LB) after the domain name system (DNS) resolves the name of the host. The LB will then distribute the traffic within the region to the API gateway service instances in an availability zone. The API gateway then routes the traffic to each microservice instance, that in turn sends the database requests to the nodes in the local data center that the DataStax driver is connected to. For simplicity of the diagram, we show only a single service type “Order Service,” but the same principles apply to applications that are composed of many services.