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

What's hot (19)

PPTX
OVERVIEW OF FACEBOOK SCALABLE ARCHITECTURE.
Rishikese MR
 
PPTX
1. SQL Server forSharePoint geeksA gentle introductionThomas Vochten • Septem...
BIWUG
 
PPTX
Rdbms vs. no sql
Amar Jagdale
 
PDF
Storage Systems For Scalable systems
elliando dias
 
PDF
Optimize MySQL performance for developers
jackbillow
 
PDF
NoSQL Now! NoSQL Architecture Patterns
DATAVERSITY
 
PPTX
NoSQL in Real-time Architectures
Ronen Botzer
 
PPTX
Microsoft Openness Mongo DB
Heriyadi Janwar
 
PDF
Scaling the Web: Databases & NoSQL
Richard Schneeman
 
PPTX
How_To_Soup_Up_Your_Farm
Nigel Price
 
PDF
An Elastic Metadata Store for eBay’s Media Platform
MongoDB
 
PPTX
DB multi tenancy with Rails 6
João Fernandes
 
PPTX
Sql over hadoop ver 3
Sudheesh Narayanan
 
PPTX
NoSQL
dbulic
 
PPTX
Introduction to couchbase
Dipti Borkar
 
KEY
North Bay Ruby Meetup 101911
Ines Sombra
 
PPTX
GWAB 2015 - Data Plaraform
Marcelo Paiva
 
PPT
LinkedIn - A highly scalable Architecture on Java!
manivannan57
 
PDF
Introduction to Databases
Ram Kedem
 
OVERVIEW OF FACEBOOK SCALABLE ARCHITECTURE.
Rishikese MR
 
1. SQL Server forSharePoint geeksA gentle introductionThomas Vochten • Septem...
BIWUG
 
Rdbms vs. no sql
Amar Jagdale
 
Storage Systems For Scalable systems
elliando dias
 
Optimize MySQL performance for developers
jackbillow
 
NoSQL Now! NoSQL Architecture Patterns
DATAVERSITY
 
NoSQL in Real-time Architectures
Ronen Botzer
 
Microsoft Openness Mongo DB
Heriyadi Janwar
 
Scaling the Web: Databases & NoSQL
Richard Schneeman
 
How_To_Soup_Up_Your_Farm
Nigel Price
 
An Elastic Metadata Store for eBay’s Media Platform
MongoDB
 
DB multi tenancy with Rails 6
João Fernandes
 
Sql over hadoop ver 3
Sudheesh Narayanan
 
NoSQL
dbulic
 
Introduction to couchbase
Dipti Borkar
 
North Bay Ruby Meetup 101911
Ines Sombra
 
GWAB 2015 - Data Plaraform
Marcelo Paiva
 
LinkedIn - A highly scalable Architecture on Java!
manivannan57
 
Introduction to Databases
Ram Kedem
 

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

PPTX
Converged Infrastructures on Kubernetes with Kubevirt
kloia
 
PDF
Cloud-Native Data: What data questions to ask when building cloud-native apps
VMware Tanzu
 
PPT
Technology Overview
Liran Zelkha
 
PPTX
NWCloud Cloud Track - Best Practices for Architecting in the Cloud
nwcloud
 
PPTX
Cloud First Architecture
Cameron Vetter
 
PPTX
Scaling Your Database in the Cloud
RightScale
 
PDF
Azure and cloud design patterns
Venkatesh Narayanan
 
PDF
Caching for Microservices Architectures: Session I
VMware Tanzu
 
PDF
Cloud-Native-Data with Cornelia Davis
VMware Tanzu
 
PDF
Cloud-native Data
cornelia davis
 
PPTX
Data stream processing and micro service architecture
Vyacheslav Benedichuk
 
PDF
Building Scalable Cloud Applications - Presentation at VCCF 2012
Fotis Stamatelopoulos
 
PPTX
Escalabilidad horizontal y Arquitecturas elásticas en Windows Azure | SolidQ ...
SolidQ
 
PDF
Battery Ventures: Simulating and Visualizing Large Scale Cassandra Deployments
DataStax Academy
 
PPTX
Iot cloud service v2.0
Vinod Wilson
 
PPTX
Data fabric and VMware
VMware vFabric
 
PDF
Microservices, Data Services and Containers for Cloud Native Architectures (D...
ragss
 
PDF
Cloud-native Data: Every Microservice Needs a Cache
cornelia davis
 
PDF
Xebia Knowledge Exchange (jan 2011) - Trends in Enterprise Applications Archi...
Michaël Figuière
 
PPTX
Handling Data in Mega Scale Systems
Directi Group
 
Converged Infrastructures on Kubernetes with Kubevirt
kloia
 
Cloud-Native Data: What data questions to ask when building cloud-native apps
VMware Tanzu
 
Technology Overview
Liran Zelkha
 
NWCloud Cloud Track - Best Practices for Architecting in the Cloud
nwcloud
 
Cloud First Architecture
Cameron Vetter
 
Scaling Your Database in the Cloud
RightScale
 
Azure and cloud design patterns
Venkatesh Narayanan
 
Caching for Microservices Architectures: Session I
VMware Tanzu
 
Cloud-Native-Data with Cornelia Davis
VMware Tanzu
 
Cloud-native Data
cornelia davis
 
Data stream processing and micro service architecture
Vyacheslav Benedichuk
 
Building Scalable Cloud Applications - Presentation at VCCF 2012
Fotis Stamatelopoulos
 
Escalabilidad horizontal y Arquitecturas elásticas en Windows Azure | SolidQ ...
SolidQ
 
Battery Ventures: Simulating and Visualizing Large Scale Cassandra Deployments
DataStax Academy
 
Iot cloud service v2.0
Vinod Wilson
 
Data fabric and VMware
VMware vFabric
 
Microservices, Data Services and Containers for Cloud Native Architectures (D...
ragss
 
Cloud-native Data: Every Microservice Needs a Cache
cornelia davis
 
Xebia Knowledge Exchange (jan 2011) - Trends in Enterprise Applications Archi...
Michaël Figuière
 
Handling Data in Mega Scale Systems
Directi Group
 
Ad

More from IDERA Software (20)

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

Recently uploaded (20)

PDF
July Patch Tuesday
Ivanti
 
PPTX
Building and Operating a Private Cloud with CloudStack and LINBIT CloudStack ...
ShapeBlue
 
PDF
Français Patch Tuesday - Juillet
Ivanti
 
PPTX
Building a Production-Ready Barts Health Secure Data Environment Tooling, Acc...
Barts Health
 
PPTX
Darren Mills The Migration Modernization Balancing Act: Navigating Risks and...
AWS Chicago
 
PDF
Ampere Offers Energy-Efficient Future For AI And Cloud
ShapeBlue
 
PDF
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
PDF
NewMind AI Journal - Weekly Chronicles - July'25 Week II
NewMind AI
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PDF
CloudStack GPU Integration - Rohit Yadav
ShapeBlue
 
PDF
Women in Automation Presents: Reinventing Yourself — Bold Career Pivots That ...
DianaGray10
 
PDF
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
PPT
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
PDF
Meetup Kickoff & Welcome - Rohit Yadav, CSIUG Chairman
ShapeBlue
 
PDF
Persuasive AI: risks and opportunities in the age of digital debate
Speck&Tech
 
PDF
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
PDF
Complete JavaScript Notes: From Basics to Advanced Concepts.pdf
haydendavispro
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PDF
Windsurf Meetup Ottawa 2025-07-12 - Planning Mode at Reliza.pdf
Pavel Shukhman
 
July Patch Tuesday
Ivanti
 
Building and Operating a Private Cloud with CloudStack and LINBIT CloudStack ...
ShapeBlue
 
Français Patch Tuesday - Juillet
Ivanti
 
Building a Production-Ready Barts Health Secure Data Environment Tooling, Acc...
Barts Health
 
Darren Mills The Migration Modernization Balancing Act: Navigating Risks and...
AWS Chicago
 
Ampere Offers Energy-Efficient Future For AI And Cloud
ShapeBlue
 
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
NewMind AI Journal - Weekly Chronicles - July'25 Week II
NewMind AI
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
CloudStack GPU Integration - Rohit Yadav
ShapeBlue
 
Women in Automation Presents: Reinventing Yourself — Bold Career Pivots That ...
DianaGray10
 
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
Meetup Kickoff & Welcome - Rohit Yadav, CSIUG Chairman
ShapeBlue
 
Persuasive AI: risks and opportunities in the age of digital debate
Speck&Tech
 
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
Complete JavaScript Notes: From Basics to Advanced Concepts.pdf
haydendavispro
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
Windsurf Meetup Ottawa 2025-07-12 - Planning Mode at Reliza.pdf
Pavel Shukhman
 

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