SlideShare a Scribd company logo
Denis Magda
DoK Day Europe 2022 @ KubeCon
“Weathering The Cloud Storm: Modern Data
Management Patterns for Reliability and
Availability”
DoK Day Europe 2022 @ KubeCon
Storms in the Cloud
DoK Day Europe 2022 @ KubeCon
Going cloud native?
Fasten your seat belts!
○ Zone-level outages are commonplace
○ Region-level outages become the new
normal
○ Starting 2011, AWS had a region-wide
incident at least once a year:
○ It can take 4+ hours to recover
https://aws.amazon.com/premiumsupport/tec
hnology/pes/
DoK Day Europe 2022 @ KubeCon
Stuff that is NOT
under your control
○ Or what causes major cloud outages
○ Hardware & networking failures
○ Bugs or outages in cloud services:
○ Amazon Kinesis outage that cascaded to
dependent services
○ Human errors:
○ S3 outage caused by a wrong command
executed by an AWS team member
DoK Day Europe 2022 @ KubeCon
Stuff that is under
YOUR control
1. Accept the fact that a cloud storm can happen to you
2. Design multi-AZ (at least) and multi-region (better) solutions
DoK Day Europe 2022 @ KubeCon
What about speed and
latency?
○ Zones are interconnected through a high-performance network:
○ GCP: round-trip network latency is under 5 milliseconds on the 95th
percentile
○ Regions are interconnected through a regional network (~latencies for
GCP):
○ US West (Oregon)->US East (North Virginia): 60ms
○ US West (Oregon)->London: 130ms
○ US West (Oregon)->Mumbai: 220ms
○ US West (Oregon)->Tokyo: 90ms
DoK Day Europe 2022 @ KubeCon
Data Management Patterns for
Reliability and Availability
DoK Day Europe 2022 @ KubeCon
Geo-distributed apps
require HA data layer
Applications that span multiple geographic locations for
high-availability, compliance and performance needs
DoK Day Europe 2022 @ KubeCon
Multi-Region Database
Deployment
With Read Replicas
○ Primary database instance is in one
geography:
○ Spans multiple zones or local regions
○ Handles both reads and writes
○ Read replicas are in other distant locations:
○ Takes over in case of a primary instance failure
○ Serve reads faster for local users
DoK Day Europe 2022 @ KubeCon
Multiple Standalone
Databases
With Async Replication
○ Each distant geography has its own
distributed database instance
○ Async replication between standalone
databases:
○ Bidirectional and unidirectional
○ But synchronously within a single database
instance
DoK Day Europe 2022 @ KubeCon
Geo-Partitioned
Multi-Region
Database Deployment
○ Single database instance that spans various
geographies
○ Data is pinned to a group of nodes from a
specific location (NA, EMEA, APAC)
○ Low latency for queries within a single
geography
○ High latency for cross-region queries
DoK Day Europe 2022 @ KubeCon
Learn More?!
○ Architecting for Scale by O’Reilly
○ Designing Data-Intensive Applications by O’Reilly
○ Deep dive into a multi-region DBs deployment
options
DoK Day Europe 2022 @ KubeCon
Thank You!
Join our community
yugabyte.com/slack
Try for yourself
cloud.yugabyte.com
@denismagda

More Related Content

More from DoKC

Run PostgreSQL in Warp Speed Using NVMe/TCP in the Cloud
Run PostgreSQL in Warp Speed Using NVMe/TCP in the CloudRun PostgreSQL in Warp Speed Using NVMe/TCP in the Cloud
Run PostgreSQL in Warp Speed Using NVMe/TCP in the CloudDoKC
 
The Kubernetes Native Database
The Kubernetes Native DatabaseThe Kubernetes Native Database
The Kubernetes Native DatabaseDoKC
 
ING Data Services hosted on ICHP DoK Amsterdam 2023
ING Data Services hosted on ICHP DoK Amsterdam 2023ING Data Services hosted on ICHP DoK Amsterdam 2023
ING Data Services hosted on ICHP DoK Amsterdam 2023DoKC
 
Implementing data and databases on K8s within the Dutch government
Implementing data and databases on K8s within the Dutch governmentImplementing data and databases on K8s within the Dutch government
Implementing data and databases on K8s within the Dutch governmentDoKC
 
StatefulSets in K8s - DoK Talks #154
StatefulSets in K8s - DoK Talks #154StatefulSets in K8s - DoK Talks #154
StatefulSets in K8s - DoK Talks #154DoKC
 
Running PostgreSQL in Kubernetes: from day 0 to day 2 with CloudNativePG - Do...
Running PostgreSQL in Kubernetes: from day 0 to day 2 with CloudNativePG - Do...Running PostgreSQL in Kubernetes: from day 0 to day 2 with CloudNativePG - Do...
Running PostgreSQL in Kubernetes: from day 0 to day 2 with CloudNativePG - Do...DoKC
 
Analytics with Apache Superset and ClickHouse - DoK Talks #151
Analytics with Apache Superset and ClickHouse - DoK Talks #151Analytics with Apache Superset and ClickHouse - DoK Talks #151
Analytics with Apache Superset and ClickHouse - DoK Talks #151DoKC
 
Overcoming challenges with protecting and migrating data in multi-cloud K8s e...
Overcoming challenges with protecting and migrating data in multi-cloud K8s e...Overcoming challenges with protecting and migrating data in multi-cloud K8s e...
Overcoming challenges with protecting and migrating data in multi-cloud K8s e...DoKC
 
Evaluating Cloud Native Storage Vendors - DoK Talks #147
Evaluating Cloud Native Storage Vendors - DoK Talks #147Evaluating Cloud Native Storage Vendors - DoK Talks #147
Evaluating Cloud Native Storage Vendors - DoK Talks #147DoKC
 
Kubernetes Cluster Upgrade Strategies and Data: Best Practices for your State...
Kubernetes Cluster Upgrade Strategies and Data: Best Practices for your State...Kubernetes Cluster Upgrade Strategies and Data: Best Practices for your State...
Kubernetes Cluster Upgrade Strategies and Data: Best Practices for your State...DoKC
 
We will Dok You! - The journey to adopt stateful workloads on k8s
We will Dok You! - The journey to adopt stateful workloads on k8sWe will Dok You! - The journey to adopt stateful workloads on k8s
We will Dok You! - The journey to adopt stateful workloads on k8sDoKC
 
Mastering MongoDB on Kubernetes, the power of operators
Mastering MongoDB on Kubernetes, the power of operators Mastering MongoDB on Kubernetes, the power of operators
Mastering MongoDB on Kubernetes, the power of operators DoKC
 
Leveraging Running Stateful Workloads on Kubernetes for the Benefit of Develo...
Leveraging Running Stateful Workloads on Kubernetes for the Benefit of Develo...Leveraging Running Stateful Workloads on Kubernetes for the Benefit of Develo...
Leveraging Running Stateful Workloads on Kubernetes for the Benefit of Develo...DoKC
 
Why run Postgres in Kubernetes?
Why run Postgres in Kubernetes?Why run Postgres in Kubernetes?
Why run Postgres in Kubernetes?DoKC
 
What's New in Kubernetes Storage
What's New in Kubernetes StorageWhat's New in Kubernetes Storage
What's New in Kubernetes StorageDoKC
 
What we've learned from running a PostgreSQL managed service on Kubernetes
What we've learned from running a PostgreSQL managed service on KubernetesWhat we've learned from running a PostgreSQL managed service on Kubernetes
What we've learned from running a PostgreSQL managed service on KubernetesDoKC
 
Using Kubernetes to deliver a “serverless” service
Using Kubernetes to deliver a “serverless” serviceUsing Kubernetes to deliver a “serverless” service
Using Kubernetes to deliver a “serverless” serviceDoKC
 
The many uses of Kubernetes cross cluster migration of persistent data
The many uses of Kubernetes cross cluster migration of persistent dataThe many uses of Kubernetes cross cluster migration of persistent data
The many uses of Kubernetes cross cluster migration of persistent dataDoKC
 
The Data on Kubernetes Landscape
The Data on Kubernetes LandscapeThe Data on Kubernetes Landscape
The Data on Kubernetes LandscapeDoKC
 
Testing the Mettle: Evaluating data solutions for large-scale production to c...
Testing the Mettle: Evaluating data solutions for large-scale production to c...Testing the Mettle: Evaluating data solutions for large-scale production to c...
Testing the Mettle: Evaluating data solutions for large-scale production to c...DoKC
 

More from DoKC (20)

Run PostgreSQL in Warp Speed Using NVMe/TCP in the Cloud
Run PostgreSQL in Warp Speed Using NVMe/TCP in the CloudRun PostgreSQL in Warp Speed Using NVMe/TCP in the Cloud
Run PostgreSQL in Warp Speed Using NVMe/TCP in the Cloud
 
The Kubernetes Native Database
The Kubernetes Native DatabaseThe Kubernetes Native Database
The Kubernetes Native Database
 
ING Data Services hosted on ICHP DoK Amsterdam 2023
ING Data Services hosted on ICHP DoK Amsterdam 2023ING Data Services hosted on ICHP DoK Amsterdam 2023
ING Data Services hosted on ICHP DoK Amsterdam 2023
 
Implementing data and databases on K8s within the Dutch government
Implementing data and databases on K8s within the Dutch governmentImplementing data and databases on K8s within the Dutch government
Implementing data and databases on K8s within the Dutch government
 
StatefulSets in K8s - DoK Talks #154
StatefulSets in K8s - DoK Talks #154StatefulSets in K8s - DoK Talks #154
StatefulSets in K8s - DoK Talks #154
 
Running PostgreSQL in Kubernetes: from day 0 to day 2 with CloudNativePG - Do...
Running PostgreSQL in Kubernetes: from day 0 to day 2 with CloudNativePG - Do...Running PostgreSQL in Kubernetes: from day 0 to day 2 with CloudNativePG - Do...
Running PostgreSQL in Kubernetes: from day 0 to day 2 with CloudNativePG - Do...
 
Analytics with Apache Superset and ClickHouse - DoK Talks #151
Analytics with Apache Superset and ClickHouse - DoK Talks #151Analytics with Apache Superset and ClickHouse - DoK Talks #151
Analytics with Apache Superset and ClickHouse - DoK Talks #151
 
Overcoming challenges with protecting and migrating data in multi-cloud K8s e...
Overcoming challenges with protecting and migrating data in multi-cloud K8s e...Overcoming challenges with protecting and migrating data in multi-cloud K8s e...
Overcoming challenges with protecting and migrating data in multi-cloud K8s e...
 
Evaluating Cloud Native Storage Vendors - DoK Talks #147
Evaluating Cloud Native Storage Vendors - DoK Talks #147Evaluating Cloud Native Storage Vendors - DoK Talks #147
Evaluating Cloud Native Storage Vendors - DoK Talks #147
 
Kubernetes Cluster Upgrade Strategies and Data: Best Practices for your State...
Kubernetes Cluster Upgrade Strategies and Data: Best Practices for your State...Kubernetes Cluster Upgrade Strategies and Data: Best Practices for your State...
Kubernetes Cluster Upgrade Strategies and Data: Best Practices for your State...
 
We will Dok You! - The journey to adopt stateful workloads on k8s
We will Dok You! - The journey to adopt stateful workloads on k8sWe will Dok You! - The journey to adopt stateful workloads on k8s
We will Dok You! - The journey to adopt stateful workloads on k8s
 
Mastering MongoDB on Kubernetes, the power of operators
Mastering MongoDB on Kubernetes, the power of operators Mastering MongoDB on Kubernetes, the power of operators
Mastering MongoDB on Kubernetes, the power of operators
 
Leveraging Running Stateful Workloads on Kubernetes for the Benefit of Develo...
Leveraging Running Stateful Workloads on Kubernetes for the Benefit of Develo...Leveraging Running Stateful Workloads on Kubernetes for the Benefit of Develo...
Leveraging Running Stateful Workloads on Kubernetes for the Benefit of Develo...
 
Why run Postgres in Kubernetes?
Why run Postgres in Kubernetes?Why run Postgres in Kubernetes?
Why run Postgres in Kubernetes?
 
What's New in Kubernetes Storage
What's New in Kubernetes StorageWhat's New in Kubernetes Storage
What's New in Kubernetes Storage
 
What we've learned from running a PostgreSQL managed service on Kubernetes
What we've learned from running a PostgreSQL managed service on KubernetesWhat we've learned from running a PostgreSQL managed service on Kubernetes
What we've learned from running a PostgreSQL managed service on Kubernetes
 
Using Kubernetes to deliver a “serverless” service
Using Kubernetes to deliver a “serverless” serviceUsing Kubernetes to deliver a “serverless” service
Using Kubernetes to deliver a “serverless” service
 
The many uses of Kubernetes cross cluster migration of persistent data
The many uses of Kubernetes cross cluster migration of persistent dataThe many uses of Kubernetes cross cluster migration of persistent data
The many uses of Kubernetes cross cluster migration of persistent data
 
The Data on Kubernetes Landscape
The Data on Kubernetes LandscapeThe Data on Kubernetes Landscape
The Data on Kubernetes Landscape
 
Testing the Mettle: Evaluating data solutions for large-scale production to c...
Testing the Mettle: Evaluating data solutions for large-scale production to c...Testing the Mettle: Evaluating data solutions for large-scale production to c...
Testing the Mettle: Evaluating data solutions for large-scale production to c...
 

Weathering The Cloud Storm: Modern Data Management Patterns for Reliability and Availability

  • 1. Denis Magda DoK Day Europe 2022 @ KubeCon “Weathering The Cloud Storm: Modern Data Management Patterns for Reliability and Availability”
  • 2. DoK Day Europe 2022 @ KubeCon Storms in the Cloud
  • 3. DoK Day Europe 2022 @ KubeCon Going cloud native? Fasten your seat belts! ○ Zone-level outages are commonplace ○ Region-level outages become the new normal ○ Starting 2011, AWS had a region-wide incident at least once a year: ○ It can take 4+ hours to recover https://aws.amazon.com/premiumsupport/tec hnology/pes/
  • 4. DoK Day Europe 2022 @ KubeCon Stuff that is NOT under your control ○ Or what causes major cloud outages ○ Hardware & networking failures ○ Bugs or outages in cloud services: ○ Amazon Kinesis outage that cascaded to dependent services ○ Human errors: ○ S3 outage caused by a wrong command executed by an AWS team member
  • 5. DoK Day Europe 2022 @ KubeCon Stuff that is under YOUR control 1. Accept the fact that a cloud storm can happen to you 2. Design multi-AZ (at least) and multi-region (better) solutions
  • 6. DoK Day Europe 2022 @ KubeCon What about speed and latency? ○ Zones are interconnected through a high-performance network: ○ GCP: round-trip network latency is under 5 milliseconds on the 95th percentile ○ Regions are interconnected through a regional network (~latencies for GCP): ○ US West (Oregon)->US East (North Virginia): 60ms ○ US West (Oregon)->London: 130ms ○ US West (Oregon)->Mumbai: 220ms ○ US West (Oregon)->Tokyo: 90ms
  • 7. DoK Day Europe 2022 @ KubeCon Data Management Patterns for Reliability and Availability
  • 8. DoK Day Europe 2022 @ KubeCon Geo-distributed apps require HA data layer Applications that span multiple geographic locations for high-availability, compliance and performance needs
  • 9. DoK Day Europe 2022 @ KubeCon Multi-Region Database Deployment With Read Replicas ○ Primary database instance is in one geography: ○ Spans multiple zones or local regions ○ Handles both reads and writes ○ Read replicas are in other distant locations: ○ Takes over in case of a primary instance failure ○ Serve reads faster for local users
  • 10. DoK Day Europe 2022 @ KubeCon Multiple Standalone Databases With Async Replication ○ Each distant geography has its own distributed database instance ○ Async replication between standalone databases: ○ Bidirectional and unidirectional ○ But synchronously within a single database instance
  • 11. DoK Day Europe 2022 @ KubeCon Geo-Partitioned Multi-Region Database Deployment ○ Single database instance that spans various geographies ○ Data is pinned to a group of nodes from a specific location (NA, EMEA, APAC) ○ Low latency for queries within a single geography ○ High latency for cross-region queries
  • 12. DoK Day Europe 2022 @ KubeCon Learn More?! ○ Architecting for Scale by O’Reilly ○ Designing Data-Intensive Applications by O’Reilly ○ Deep dive into a multi-region DBs deployment options
  • 13. DoK Day Europe 2022 @ KubeCon Thank You! Join our community yugabyte.com/slack Try for yourself cloud.yugabyte.com @denismagda