SlideShare a Scribd company logo
Designing Data Intensive
Cloud Native Applications
July 10th, 2019
Samir Behara, System Architect, EBSCO
SAMIR BEHARA
System Architect, EBSCO
Samir Behara builds software solutions
using cutting edge technologies.
Has a Bachelor Degree in Computer
Science with 13 years of IT experience.
Frequent Speaker at Technical
Conferences.
Author of www.dotnetvibes.com
• Monolith vs Microservices
• Design Principles of Microservice Architecture
• How to break a Monolithic Database
• Cloud Migration Strategy
• Cloud Native Architecture
• Polyglot Persistence
• Database Scaling – Horizontal and Vertical
• Event Driven Architecture
• Circuit Breaker Design Pattern
• Serverless Database
Monolithic Architecture
Order
Management
Service
Monolithic
Database
Large Codebase
Difficult to Scale
Longer Development Cycle
Complicated Deployments
Fixed Technology stack
Performance Issues
Tight Coupling
Applying Domain Driven Design
Monolith Architecture – Centralized Database
Databases are private to each Microservice
Emergence of Microservices
Shorter Development Cycle
Faster Deployments
Highly Scalable
Right Technology Stack
Business Domain Driven
Resiliency & Observability
High Cohesion & Loose Coupling
Order
Service
Title
Service
Customer
Service
Monolithic
Legacy
Application
Order
Service
Customer
Service
Title
Service
Monolithic to Service Oriented to Microservices Journey
Shared Database Independent DatabasesMonolithic Database
Automated CI/CD Pipelines
Cloud Native Architecture
DevOps
Microservices
Containers
Continuous
Delivery
Cloud Native is a
combination of various
patterns like DevOps,
CI/CD, Containers,
Orchestration,
Microservices and Cloud
Infrastructure
Cloud Migration Strategy
Migrate Modernize
Lift and Shift
No Code Changes required
Fast Deployment
Can’t leverage the true potential of Cloud
Expensive on long run
Containers and Microservice Architecture
Requires application refactoring
Time Consuming
Leverage benefits of Cloud Native
Cost Optimized solution in Cloud
6 R’s of Cloud Migration
RETIRE
Time to Migrate --- >
CostandEffort--->
RETAIN
REHOST
REPLATFORM
REFACTOR
REPURCHASE
Polyglot Persistence
Service A Service B Service C Service D
Service E Service F Service G
Relational Time Series Document Key-Value
Graph Search In-Memory
Leverage multiple data storage technologies to handle the varied requirements of your services
Polyglot
Persistence
Selecting the Right Database technology for the workload
CAP Theorem
Consistency
Availability
Partition
Tolerance
A distributed database system can
only have 2 of the 3 properties –
• Consistency
• Availability
• Partition Tolerance
Horizontal Scaling
VerticalScaling
Primary DB
Instance
Read
Replicas
Handling Read-Heavy Workloads using Read Replicas
Read Write
Read
Read
Read
Application
Auto Scaling Replication Lag
Load Balancer
Multi AZ Deployments for High Availability
Availability Zone 1 Availability Zone 2
Standby ReplicaPrimary Instance
Data
Replication
Master
Instance
Read
Replica
Read
Replica
Read
Replica
Read
Replica
Read
Replica
Availability Zone 1 Availability Zone 2 Availability Zone 3
Multi AZ Deployments for Read Replicas
Cust A-D Cust E-J
Cust K-N Cust O-S Cust T-Z
Database Sharding based on Range Strategy
Database Sharding
Shards
Shard A
Database Sharding based on Hash Strategy
Shard B
Shard C
Hash
Strategy
Order
Service
Hash_Key % 3
Caching to Improve Database Performance
Order
Service CACHE
1. Is data in
Cache?
2. If Yes, Read it
3. If No, fetch from DB,
Save in Cache
and Read it
• Keep frequently accessed data in Memory
• Memory is faster than disk
• Reduced load on Database
Geek Sync | Designing Data Intensive Cloud Native Applications
Geek Sync | Designing Data Intensive Cloud Native Applications
Geek Sync | Designing Data Intensive Cloud Native Applications
Geek Sync | Designing Data Intensive Cloud Native Applications
Geek Sync | Designing Data Intensive Cloud Native Applications
Circuit Breaker Design Pattern
Design for Failures
Handle Failures gracefully
Avoid Cascading failures
Avoid single point of failure
Design Resilient and Fault Tolerant Microservices
Event Driven Architecture
Tight Coupling between components in your architecture
Loose Coupling between components for better performance
Design for Scalability
Order
Service
Web Server
Order
Service
Order
Service
Order
Service
Order
Service
Web Server
Evolution of Serverless Architecture
Moving from legacy monolithic on-premise infrastructure
to microservices based in public cloud
Serverless Database
• Resolves capacity issues with Over Provisioning
or Under Provisioning of Databases
• Serverless Computing for your databases
• Do not pay for unused resources
• Automatically starts the database, scales based
on usage and shuts down when not in use.
Use Cases of Serverless Databases
Test Databases
Variable
Workloads
New Database
Development
Infrequently
Used Databases
Cost Effective
Solution
Unpredictable
Workloads
Serverless Database in action
Seamlessly Scale capacity
up or down based on
application usage
Automatic Start up
and Shut Down
@samirbehara www.dotnetvibes.com
Thank You

More Related Content

PPTX
Relational databases vs Non-relational databases
PPTX
Geek Sync | Azure Cloud & You: First Steps for the DBA
PDF
Geek Sync | Successfully Migrating Existing Databases to Azure SQL Database
PDF
Scaing databases on the cloud
PPTX
HBase Vs Cassandra Vs MongoDB - Choosing the right NoSQL database
PDF
Polyglot Persistence - Two Great Tastes That Taste Great Together
PDF
2013 CPM Conference, Nov 6th, NoSQL Capacity Planning
PDF
Scalability Design Principles - Internal Session
Relational databases vs Non-relational databases
Geek Sync | Azure Cloud & You: First Steps for the DBA
Geek Sync | Successfully Migrating Existing Databases to Azure SQL Database
Scaing databases on the cloud
HBase Vs Cassandra Vs MongoDB - Choosing the right NoSQL database
Polyglot Persistence - Two Great Tastes That Taste Great Together
2013 CPM Conference, Nov 6th, NoSQL Capacity Planning
Scalability Design Principles - Internal Session

What's hot (19)

PPTX
OVERVIEW OF FACEBOOK SCALABLE ARCHITECTURE.
PPTX
1. SQL Server forSharePoint geeksA gentle introductionThomas Vochten • Septem...
PPTX
Rdbms vs. no sql
PDF
Storage Systems For Scalable systems
PDF
Optimize MySQL performance for developers
PDF
NoSQL Now! NoSQL Architecture Patterns
PPTX
NoSQL in Real-time Architectures
PPTX
Microsoft Openness Mongo DB
PDF
Scaling the Web: Databases & NoSQL
PPTX
How_To_Soup_Up_Your_Farm
PDF
An Elastic Metadata Store for eBay’s Media Platform
PPTX
DB multi tenancy with Rails 6
PPTX
Sql over hadoop ver 3
PPTX
NoSQL
PPTX
Introduction to couchbase
KEY
North Bay Ruby Meetup 101911
PPTX
GWAB 2015 - Data Plaraform
PPT
LinkedIn - A highly scalable Architecture on Java!
PDF
Introduction to Databases
OVERVIEW OF FACEBOOK SCALABLE ARCHITECTURE.
1. SQL Server forSharePoint geeksA gentle introductionThomas Vochten • Septem...
Rdbms vs. no sql
Storage Systems For Scalable systems
Optimize MySQL performance for developers
NoSQL Now! NoSQL Architecture Patterns
NoSQL in Real-time Architectures
Microsoft Openness Mongo DB
Scaling the Web: Databases & NoSQL
How_To_Soup_Up_Your_Farm
An Elastic Metadata Store for eBay’s Media Platform
DB multi tenancy with Rails 6
Sql over hadoop ver 3
NoSQL
Introduction to couchbase
North Bay Ruby Meetup 101911
GWAB 2015 - Data Plaraform
LinkedIn - A highly scalable Architecture on Java!
Introduction to Databases
Ad

Similar to Geek Sync | Designing Data Intensive Cloud Native Applications (20)

PPTX
Converged Infrastructures on Kubernetes with Kubevirt
PDF
Cloud-Native Data: What data questions to ask when building cloud-native apps
PPT
Technology Overview
PPTX
NWCloud Cloud Track - Best Practices for Architecting in the Cloud
PPTX
Cloud First Architecture
PPTX
Scaling Your Database in the Cloud
PDF
Azure and cloud design patterns
PDF
Caching for Microservices Architectures: Session I
PDF
Cloud-Native-Data with Cornelia Davis
PDF
Cloud-native Data
PPTX
Data stream processing and micro service architecture
PDF
Building Scalable Cloud Applications - Presentation at VCCF 2012
PPTX
Escalabilidad horizontal y Arquitecturas elásticas en Windows Azure | SolidQ ...
PDF
Battery Ventures: Simulating and Visualizing Large Scale Cassandra Deployments
PPTX
Iot cloud service v2.0
PPTX
Data fabric and VMware
PDF
Microservices, Data Services and Containers for Cloud Native Architectures (D...
PDF
Cloud-native Data: Every Microservice Needs a Cache
PDF
Xebia Knowledge Exchange (jan 2011) - Trends in Enterprise Applications Archi...
PPTX
Handling Data in Mega Scale Systems
Converged Infrastructures on Kubernetes with Kubevirt
Cloud-Native Data: What data questions to ask when building cloud-native apps
Technology Overview
NWCloud Cloud Track - Best Practices for Architecting in the Cloud
Cloud First Architecture
Scaling Your Database in the Cloud
Azure and cloud design patterns
Caching for Microservices Architectures: Session I
Cloud-Native-Data with Cornelia Davis
Cloud-native Data
Data stream processing and micro service architecture
Building Scalable Cloud Applications - Presentation at VCCF 2012
Escalabilidad horizontal y Arquitecturas elásticas en Windows Azure | SolidQ ...
Battery Ventures: Simulating and Visualizing Large Scale Cassandra Deployments
Iot cloud service v2.0
Data fabric and VMware
Microservices, Data Services and Containers for Cloud Native Architectures (D...
Cloud-native Data: Every Microservice Needs a Cache
Xebia Knowledge Exchange (jan 2011) - Trends in Enterprise Applications Archi...
Handling Data in Mega Scale Systems
Ad

More from IDERA Software (20)

PPTX
The role of the database administrator (DBA) in 2020: Changes, challenges, an...
PPTX
Problems and solutions for migrating databases to the cloud
PPTX
Public cloud uses and limitations
PPTX
Optimize the performance, cost, and value of databases.pptx
PPTX
Monitor cloud database with SQL Diagnostic Manager for SQL Server
PPTX
Database administrators (dbas) face increasing pressure to monitor databases
PPTX
Six tips for cutting sql server licensing costs
PDF
Idera live 2021: The Power of Abstraction by Steve Hoberman
PDF
Idera live 2021: Why Data Lakes are Critical for AI, ML, and IoT By Brian Flug
PDF
Idera live 2021: Will Data Vault add Value to Your Data Warehouse? 3 Signs th...
PDF
Idera live 2021: Managing Digital Transformation on a Budget by Bert Scalzo
PDF
Idera live 2021: Keynote Presentation The Future of Data is The Data Cloud b...
PDF
Idera live 2021: Managing Databases in the Cloud - the First Step, a Succes...
PDF
Idera live 2021: Database Auditing - on-Premises and in the Cloud by Craig M...
PDF
Idera live 2021: Performance Tuning Azure SQL Database by Monica Rathbun
PPTX
Geek Sync | How to Be the DBA When You Don't Have a DBA - Eric Cobb | IDERA
PPTX
How Users of a Performance Monitoring Tool Can Benefit from an Inventory Mana...
PPTX
Benefits of Third Party Tools for MySQL | IDERA
PPTX
Achieve More with Less Resources | IDERA
PPTX
Benefits of SQL Server 2017 and 2019 | IDERA
The role of the database administrator (DBA) in 2020: Changes, challenges, an...
Problems and solutions for migrating databases to the cloud
Public cloud uses and limitations
Optimize the performance, cost, and value of databases.pptx
Monitor cloud database with SQL Diagnostic Manager for SQL Server
Database administrators (dbas) face increasing pressure to monitor databases
Six tips for cutting sql server licensing costs
Idera live 2021: The Power of Abstraction by Steve Hoberman
Idera live 2021: Why Data Lakes are Critical for AI, ML, and IoT By Brian Flug
Idera live 2021: Will Data Vault add Value to Your Data Warehouse? 3 Signs th...
Idera live 2021: Managing Digital Transformation on a Budget by Bert Scalzo
Idera live 2021: Keynote Presentation The Future of Data is The Data Cloud b...
Idera live 2021: Managing Databases in the Cloud - the First Step, a Succes...
Idera live 2021: Database Auditing - on-Premises and in the Cloud by Craig M...
Idera live 2021: Performance Tuning Azure SQL Database by Monica Rathbun
Geek Sync | How to Be the DBA When You Don't Have a DBA - Eric Cobb | IDERA
How Users of a Performance Monitoring Tool Can Benefit from an Inventory Mana...
Benefits of Third Party Tools for MySQL | IDERA
Achieve More with Less Resources | IDERA
Benefits of SQL Server 2017 and 2019 | IDERA

Recently uploaded (20)

PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
cuic standard and advanced reporting.pdf
PPTX
A Presentation on Artificial Intelligence
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
Cloud computing and distributed systems.
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
Encapsulation theory and applications.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
Spectral efficient network and resource selection model in 5G networks
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
“AI and Expert System Decision Support & Business Intelligence Systems”
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Agricultural_Statistics_at_a_Glance_2022_0.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
cuic standard and advanced reporting.pdf
A Presentation on Artificial Intelligence
The AUB Centre for AI in Media Proposal.docx
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Reach Out and Touch Someone: Haptics and Empathic Computing
Assigned Numbers - 2025 - Bluetooth® Document
Encapsulation_ Review paper, used for researhc scholars
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Cloud computing and distributed systems.
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Encapsulation theory and applications.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation

Geek Sync | Designing Data Intensive Cloud Native Applications

Editor's Notes

  • #25: Multiple Entry points to the Microservices Architecture
  • #26: Database is Down
  • #27: Cascading Failures