SlideShare a Scribd company logo
Caching for Microservices
Architectures
Introducing Pivotal Cloud Cache
Jagdish Mirani
Why Microservices Architectures Need a Cache
Autonomy Availability Cost Reduction
$
$
Performance
Why Microservices Architectures Need a Cache
Autonomy Availability Cost Reduction
$
$
Performance
Ability to handle a large number of concurrent requests
Performance Drivers for Modern Applications
▪  More users of new mobile and web
applications
▪  Users expect real-time response,
even during peak usage
▪  Increasing number of requests from other
applications
▪  New use cases from new data sources,
ex: IoT and streaming data
▪  Scaling the application logic results in the
need for scaling the data access layer
Caches Provide Blazing Fast Performance
▪  Memory is orders of magnitude faster than disk
▪  Caches can present a structural view of data
optimized for performance
▪  Maximizing cache hits
-  Preloading cache (cache warming)
-  Expiration and eviction
•  Application driven
•  Time based
•  Notifications and events
Microservice
Instance
Cache
Database
Externalizing state is a requirement for microservice instances to scale
Microservices Need Performance and Scalability
▪  Externalize microservices state for performance
and scalability of the business logic
-  Store application state information in cache
for fast retrieval
-  Adheres to 12-factor principles
▪  Dynamically change the number of application
instances without losing state information
Microservices with large, frequently accessed data sets need a cache layer
Microservices Need Performance and Scalability
Performance and scalability of data
▪  Add servers to a shared cluster
▪  Reduces the pressure to scale rigid
backing stores
▪  Enables availability and resilience
Why Microservices Architectures Need a Cache
Autonomy Availability Cost Reduction
$
$
Performance
Fosters an agile, dynamic application culture
Team Autonomy Equates to Velocity
▪  Separate development and release cycles
-  Evolve each microservice independently
-  Independent development, test, production cycles
-  Continuous integration, continuous delivery
▪  Independent technology decisions, including data layer
-  Polyglot persistence
-  Independent data model decisions
▪  Changes should be non-breaking for other teams and
microservices
Extreme ends of data sharing continuum present challenges
Autonomy in the Context of the Data Layer
Autonomous
Distributed workload
and data
management
challenges
Shared Database Database
Per
Service
No autonomy
Development
and runtime
coupling
Data APIs Present Autonomous Views of Data
●  Define a Data API that projects a data model to match the
needs of the consuming microservices
●  Data API is the access point to a microservice that’s primarily
responsible for accessing data
●  Data API provides a contract for accessing data
●  Teams create data caches optimized for their microservices
●  Allows more flexibility for (and isolation from) changes to
backing stores
Caches provide data for each autonomous view
Data API evolve in support of the evolution of the microservice(s)
Versioned APIs Facilitate Change Management
▪  Analogous to the notion of versioned
microservices
▪  Parallel deployment of versions creates the
possibility of a managed evolution
▪  Allows for data transformations within the
microservice as an alternative to changing
the backing store(s)
V1 V2
Caching Can Present an Autonomous View of Data
●  Provides a surface area to:
○  implement access control
○  implement throttling
○  perform logging
○  enforce other policies
Teams create data caches optimized for their microservices
Caching Can Present an Autonomous View of Data
●  Data APIs project a bounded context
○  Each bounded context has a single, unified
model
○  Relationships between models are explicitly
defined
○  Teams are typically given full responsibility over
one or more bounded contexts
Why Microservices Architectures Need a Cache
Autonomy Availability Cost Reduction
$
$
Performance
Several points of failure
Large Number of ‘Moving Parts’
▪  Single request can touch several components: servers,
distinct clusters, microservice instances
▪  Availability zones can fail
▪  Regions can become unstable
▪  Network is unreliable
▪  Cloud native architecture components are ephemeral by
design
-  Instances added and removed dynamically
Enterprise Readiness Requires the Ability to Tolerate Failures
Highly Available Caching Layer Offers Protection
●  Cache serves as the ‘primary’ data
store for the application
●  High availability: copy data for
failure protection
●  Immune to lapses in backing store
availability
●  Backing stores kept up-to-date
through the cache
Why Microservices Architectures Need a Cache
Autonomy Availability Cost Reduction
$
$
Performance
Expensive and Brittle
Legacy Application Infrastructures
▪  High startup costs
▪  Steep pricing curve for adding capacity
-  Mainframe MIPS pricing
-  Legacy RDBMS data stores are expensive to scale
▪  Complex deployments
▪  Easily disrupted
▪  Points of failure
▪  Scalability bottlenecks
20
Legacy Modernization is key to success
$$$$
ROI Funds
Transformation
Replatform Modernize Migrate
Runs on
PCF
Existing Workloads
Cloud Native
Built for
PCF
New Initiatives
Cloud
Native
ModernizeReplatform Migrate
Legacy Systems: Part of a Cloud Native Evolution
Create microservices around the edges of the legacy system
●  Caching layer to mediates between
the old and the new
●  Optionally, re-platform the legacy
application
●  Optionally, reduce reliance on legacy
application over time
Microservices
Legacy
Middleware
Legacy
Application
Monolithic
Application
Introducing Pivotal Cloud Cache
Prepackaged for Simple Consumption
●  Plans (use cases) based on caching patterns
●  Look-aside pattern supported out of the box
○  Cache is controlled and managed by the
application
○  Good for saving application state,
microservices architectures, reducing load
on legacy systems, etc..
○  Perfect match for the Spring Framework
@Cacheable annotation
●  Other caching patterns and options to come
(WAN replication, Session State Caching, Inline
caching pattern, etc.).
Look-Aside Cache
Look-aside pattern supported out of the box
App Instance
Cache
Database
Pivotal Cloud Cache
•  Easy accessibility
through Marketplace
•  Instant Provisioning
•  Bind to apps through
easy to use interface
•  Lifecycle management
•  Common access
control and audit trails
across services
MySQL New Relic
Single Sign-
On
RabbitMQ
Config
Server
Service
Directory
Circuit
Breaker
Signal
Sciences
Crunchy
PostgreSQL AND
MORE
Services Marketplace
Pivotal Cloud
Cache
Dynatrace
Extending the Pivotal Cloud Foundry Platform for Microservices Architectures
Easily Provisioned for Developer Self Service
Operators create and register service plans with the Services Marketplace
Create
Service
Plans
Set
Quotas
Deploy
PCC
Broker
Define VMs
Define Memory
Define CPU
Define Disk Size
Max Cluster Size
Max # of Clusters
OpsMan Tile
Register with Marketplace
In-memory, and horizontally scalable for parallel execution
Pivotal Cloud Cache Performance
Grow cluster dynamically with no interruption of service or data loss
Data is sharded or replicated across servers
This is how an in-memory cache can horizontally scale
Partitioning (aka Sharding)
Take advantage of the memory and network bandwidth of all members of the cluster
Replicated regions
Partitioning and Co-location
Replicated regions model many-to-many relationships
High Availability
Spanning Servers and Availability Zones
Stretched cluster across availability zones
Replication for high availability of data in cache
Pivotal Cloud Foundry resurrects lost VMs
Powerful Eventing System
Publish/subscribe and Continuous Query built right in
Put(key, value) Subscribers are
automatically notified
Integrated Security
Pre-configured Authentication and Authorization
●  Role-based, configurable, authorization
for administrative activities
●  Pre-defined, pre-configured roles
●  Consistent mechanism for authenticating
and authorizing actions
●  Every administrative function can require
authorization
●  Every data access can require
authorization
●  Some users can read/write data
●  Others can start/stop servers
●  Still others can configure cluster
User 1
User 2
User 3
User 4
Group 1
Group 2
Role 1
Role 2
Role 3
Role 1A
Role 1B
Role 1C
Role 2A
Role 3A
Role 3B
Determines
experience
Determines
permissions
Summary
Speed up your apps on Pivotal Cloud Foundry
●  PCC can overcome the performance, elasticity and scaling, challenges of
microservices architectures
●  Using PCC with data APIs can increase autonomy between teams
●  PCC has rock solid availability and failure recovery
●  PCC provides an evolutionary approach to adopting microservices that can
extend the life of legacy systems
●  The combination of PCC and PCF make it possible to get started quickly
and easily adjust cache capacity as needed
Caching for Microservices Architectures: Session I
Caching for Microservices Architectures: Session I

More Related Content

What's hot

Caching
CachingCaching
Caching
Nascenia IT
 
JSON Schema Design
JSON Schema DesignJSON Schema Design
JSON Schema Design
Octavian Nadolu
 
Apache Spark Fundamentals
Apache Spark FundamentalsApache Spark Fundamentals
Apache Spark Fundamentals
Zahra Eskandari
 
Exactly-Once Financial Data Processing at Scale with Flink and Pinot
Exactly-Once Financial Data Processing at Scale with Flink and PinotExactly-Once Financial Data Processing at Scale with Flink and Pinot
Exactly-Once Financial Data Processing at Scale with Flink and Pinot
Flink Forward
 
Elasticsearch in Netflix
Elasticsearch in NetflixElasticsearch in Netflix
Elasticsearch in Netflix
Danny Yuan
 
Oracle RAC features on Exadata
Oracle RAC features on ExadataOracle RAC features on Exadata
Oracle RAC features on Exadata
Anil Nair
 
Maa goldengate-rac-2007111
Maa goldengate-rac-2007111Maa goldengate-rac-2007111
Maa goldengate-rac-2007111
pablitosax
 
AWS re:Invent 2016: Deep Dive on Amazon Aurora (DAT303)
AWS re:Invent 2016: Deep Dive on Amazon Aurora (DAT303)AWS re:Invent 2016: Deep Dive on Amazon Aurora (DAT303)
AWS re:Invent 2016: Deep Dive on Amazon Aurora (DAT303)
Amazon Web Services
 
The columnar roadmap: Apache Parquet and Apache Arrow
The columnar roadmap: Apache Parquet and Apache ArrowThe columnar roadmap: Apache Parquet and Apache Arrow
The columnar roadmap: Apache Parquet and Apache Arrow
Julien Le Dem
 
Delta from a Data Engineer's Perspective
Delta from a Data Engineer's PerspectiveDelta from a Data Engineer's Perspective
Delta from a Data Engineer's Perspective
Databricks
 
Optimizing Delta/Parquet Data Lakes for Apache Spark
Optimizing Delta/Parquet Data Lakes for Apache SparkOptimizing Delta/Parquet Data Lakes for Apache Spark
Optimizing Delta/Parquet Data Lakes for Apache Spark
Databricks
 
Building Reliable Data Lakes at Scale with Delta Lake
Building Reliable Data Lakes at Scale with Delta LakeBuilding Reliable Data Lakes at Scale with Delta Lake
Building Reliable Data Lakes at Scale with Delta Lake
Databricks
 
Exploring Java Heap Dumps (Oracle Code One 2018)
Exploring Java Heap Dumps (Oracle Code One 2018)Exploring Java Heap Dumps (Oracle Code One 2018)
Exploring Java Heap Dumps (Oracle Code One 2018)
Ryan Cuprak
 
The Future of Column-Oriented Data Processing With Apache Arrow and Apache Pa...
The Future of Column-Oriented Data Processing With Apache Arrow and Apache Pa...The Future of Column-Oriented Data Processing With Apache Arrow and Apache Pa...
The Future of Column-Oriented Data Processing With Apache Arrow and Apache Pa...
Dremio Corporation
 
A Thorough Comparison of Delta Lake, Iceberg and Hudi
A Thorough Comparison of Delta Lake, Iceberg and HudiA Thorough Comparison of Delta Lake, Iceberg and Hudi
A Thorough Comparison of Delta Lake, Iceberg and Hudi
Databricks
 
(BDT309) Data Science & Best Practices for Apache Spark on Amazon EMR
(BDT309) Data Science & Best Practices for Apache Spark on Amazon EMR(BDT309) Data Science & Best Practices for Apache Spark on Amazon EMR
(BDT309) Data Science & Best Practices for Apache Spark on Amazon EMR
Amazon Web Services
 
Kafka presentation
Kafka presentationKafka presentation
Kafka presentation
Mohammed Fazuluddin
 
Zebras all the way down: The engineering challenges of the data path
Zebras all the way down: The engineering challenges of the data pathZebras all the way down: The engineering challenges of the data path
Zebras all the way down: The engineering challenges of the data path
bcantrill
 
Oracle APEX, Oracle Autonomous Database, Always Free Oracle Cloud Services
Oracle APEX, Oracle Autonomous Database, Always Free Oracle Cloud ServicesOracle APEX, Oracle Autonomous Database, Always Free Oracle Cloud Services
Oracle APEX, Oracle Autonomous Database, Always Free Oracle Cloud Services
Michael Hichwa
 
Session Sponsored by Splunk: Splunk for the Cloud, in the Cloud
Session Sponsored by Splunk: Splunk for the Cloud, in the CloudSession Sponsored by Splunk: Splunk for the Cloud, in the Cloud
Session Sponsored by Splunk: Splunk for the Cloud, in the Cloud
Amazon Web Services
 

What's hot (20)

Caching
CachingCaching
Caching
 
JSON Schema Design
JSON Schema DesignJSON Schema Design
JSON Schema Design
 
Apache Spark Fundamentals
Apache Spark FundamentalsApache Spark Fundamentals
Apache Spark Fundamentals
 
Exactly-Once Financial Data Processing at Scale with Flink and Pinot
Exactly-Once Financial Data Processing at Scale with Flink and PinotExactly-Once Financial Data Processing at Scale with Flink and Pinot
Exactly-Once Financial Data Processing at Scale with Flink and Pinot
 
Elasticsearch in Netflix
Elasticsearch in NetflixElasticsearch in Netflix
Elasticsearch in Netflix
 
Oracle RAC features on Exadata
Oracle RAC features on ExadataOracle RAC features on Exadata
Oracle RAC features on Exadata
 
Maa goldengate-rac-2007111
Maa goldengate-rac-2007111Maa goldengate-rac-2007111
Maa goldengate-rac-2007111
 
AWS re:Invent 2016: Deep Dive on Amazon Aurora (DAT303)
AWS re:Invent 2016: Deep Dive on Amazon Aurora (DAT303)AWS re:Invent 2016: Deep Dive on Amazon Aurora (DAT303)
AWS re:Invent 2016: Deep Dive on Amazon Aurora (DAT303)
 
The columnar roadmap: Apache Parquet and Apache Arrow
The columnar roadmap: Apache Parquet and Apache ArrowThe columnar roadmap: Apache Parquet and Apache Arrow
The columnar roadmap: Apache Parquet and Apache Arrow
 
Delta from a Data Engineer's Perspective
Delta from a Data Engineer's PerspectiveDelta from a Data Engineer's Perspective
Delta from a Data Engineer's Perspective
 
Optimizing Delta/Parquet Data Lakes for Apache Spark
Optimizing Delta/Parquet Data Lakes for Apache SparkOptimizing Delta/Parquet Data Lakes for Apache Spark
Optimizing Delta/Parquet Data Lakes for Apache Spark
 
Building Reliable Data Lakes at Scale with Delta Lake
Building Reliable Data Lakes at Scale with Delta LakeBuilding Reliable Data Lakes at Scale with Delta Lake
Building Reliable Data Lakes at Scale with Delta Lake
 
Exploring Java Heap Dumps (Oracle Code One 2018)
Exploring Java Heap Dumps (Oracle Code One 2018)Exploring Java Heap Dumps (Oracle Code One 2018)
Exploring Java Heap Dumps (Oracle Code One 2018)
 
The Future of Column-Oriented Data Processing With Apache Arrow and Apache Pa...
The Future of Column-Oriented Data Processing With Apache Arrow and Apache Pa...The Future of Column-Oriented Data Processing With Apache Arrow and Apache Pa...
The Future of Column-Oriented Data Processing With Apache Arrow and Apache Pa...
 
A Thorough Comparison of Delta Lake, Iceberg and Hudi
A Thorough Comparison of Delta Lake, Iceberg and HudiA Thorough Comparison of Delta Lake, Iceberg and Hudi
A Thorough Comparison of Delta Lake, Iceberg and Hudi
 
(BDT309) Data Science & Best Practices for Apache Spark on Amazon EMR
(BDT309) Data Science & Best Practices for Apache Spark on Amazon EMR(BDT309) Data Science & Best Practices for Apache Spark on Amazon EMR
(BDT309) Data Science & Best Practices for Apache Spark on Amazon EMR
 
Kafka presentation
Kafka presentationKafka presentation
Kafka presentation
 
Zebras all the way down: The engineering challenges of the data path
Zebras all the way down: The engineering challenges of the data pathZebras all the way down: The engineering challenges of the data path
Zebras all the way down: The engineering challenges of the data path
 
Oracle APEX, Oracle Autonomous Database, Always Free Oracle Cloud Services
Oracle APEX, Oracle Autonomous Database, Always Free Oracle Cloud ServicesOracle APEX, Oracle Autonomous Database, Always Free Oracle Cloud Services
Oracle APEX, Oracle Autonomous Database, Always Free Oracle Cloud Services
 
Session Sponsored by Splunk: Splunk for the Cloud, in the Cloud
Session Sponsored by Splunk: Splunk for the Cloud, in the CloudSession Sponsored by Splunk: Splunk for the Cloud, in the Cloud
Session Sponsored by Splunk: Splunk for the Cloud, in the Cloud
 

Similar to Caching for Microservices Architectures: Session I

A Successful Journey to the Cloud with Data Virtualization
A Successful Journey to the Cloud with Data VirtualizationA Successful Journey to the Cloud with Data Virtualization
A Successful Journey to the Cloud with Data Virtualization
Denodo
 
Caching for Microservices Architectures: Session II - Caching Patterns
Caching for Microservices Architectures: Session II - Caching PatternsCaching for Microservices Architectures: Session II - Caching Patterns
Caching for Microservices Architectures: Session II - Caching Patterns
VMware Tanzu
 
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
ScyllaDB
 
Big Data on Cloud Native Platform
Big Data on Cloud Native PlatformBig Data on Cloud Native Platform
Big Data on Cloud Native Platform
Sunil Govindan
 
Big Data on Cloud Native Platform
Big Data on Cloud Native PlatformBig Data on Cloud Native Platform
Big Data on Cloud Native Platform
Sunil Govindan
 
Part 2: Cloudera’s Operational Database: Unlocking New Benefits in the Cloud
Part 2: Cloudera’s Operational Database: Unlocking New Benefits in the CloudPart 2: Cloudera’s Operational Database: Unlocking New Benefits in the Cloud
Part 2: Cloudera’s Operational Database: Unlocking New Benefits in the Cloud
Cloudera, Inc.
 
Solving enterprise challenges through scale out storage & big compute final
Solving enterprise challenges through scale out storage & big compute finalSolving enterprise challenges through scale out storage & big compute final
Solving enterprise challenges through scale out storage & big compute final
Avere Systems
 
Marketing Automation at Scale: How Marketo Solved Key Data Management Challen...
Marketing Automation at Scale: How Marketo Solved Key Data Management Challen...Marketing Automation at Scale: How Marketo Solved Key Data Management Challen...
Marketing Automation at Scale: How Marketo Solved Key Data Management Challen...
Continuent
 
Multi Tenancy In The Cloud
Multi Tenancy In The CloudMulti Tenancy In The Cloud
Multi Tenancy In The Cloud
rohit_ainapure
 
The Next Generation of Hyperconverged Infrastructure - Cisco
The Next Generation of Hyperconverged Infrastructure - CiscoThe Next Generation of Hyperconverged Infrastructure - Cisco
The Next Generation of Hyperconverged Infrastructure - Cisco
MarcoTechnologies
 
Who's in your Cloud? Cloud State Monitoring
Who's in your Cloud? Cloud State MonitoringWho's in your Cloud? Cloud State Monitoring
Who's in your Cloud? Cloud State Monitoring
Kevin Hakanson
 
Chap 3 infrastructure as a service(iaas)
Chap 3 infrastructure as a service(iaas)Chap 3 infrastructure as a service(iaas)
Chap 3 infrastructure as a service(iaas)
Raj Sarode
 
Scaling Integration
Scaling IntegrationScaling Integration
Scaling Integration
Kim Clark
 
Planning a Successful Cloud - Design from Workload to Infrastructure
Planning a Successful Cloud - Design from Workload to InfrastructurePlanning a Successful Cloud - Design from Workload to Infrastructure
Planning a Successful Cloud - Design from Workload to Infrastructure
buildacloud
 
Adelaide Global Azure Bootcamp 2018 - Azure 101
Adelaide Global Azure Bootcamp 2018 - Azure 101Adelaide Global Azure Bootcamp 2018 - Azure 101
Adelaide Global Azure Bootcamp 2018 - Azure 101
Balabiju
 
SQL PASS Taiwan 七月份聚會-1
SQL PASS Taiwan 七月份聚會-1SQL PASS Taiwan 七月份聚會-1
SQL PASS Taiwan 七月份聚會-1
SQLPASSTW
 
Azure SQL Database Managed Instance
Azure SQL Database Managed InstanceAzure SQL Database Managed Instance
Azure SQL Database Managed Instance
James Serra
 
Cloud Storage and Cloud Computing.pptx
Cloud Storage and  Cloud Computing.pptxCloud Storage and  Cloud Computing.pptx
Cloud Storage and Cloud Computing.pptx
ANALEESUAREZ2
 
Cloud Data Strategy event London
Cloud Data Strategy event LondonCloud Data Strategy event London
Cloud Data Strategy event London
MongoDB
 

Similar to Caching for Microservices Architectures: Session I (20)

A Successful Journey to the Cloud with Data Virtualization
A Successful Journey to the Cloud with Data VirtualizationA Successful Journey to the Cloud with Data Virtualization
A Successful Journey to the Cloud with Data Virtualization
 
Caching for Microservices Architectures: Session II - Caching Patterns
Caching for Microservices Architectures: Session II - Caching PatternsCaching for Microservices Architectures: Session II - Caching Patterns
Caching for Microservices Architectures: Session II - Caching Patterns
 
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
 
Big Data on Cloud Native Platform
Big Data on Cloud Native PlatformBig Data on Cloud Native Platform
Big Data on Cloud Native Platform
 
Big Data on Cloud Native Platform
Big Data on Cloud Native PlatformBig Data on Cloud Native Platform
Big Data on Cloud Native Platform
 
Part 2: Cloudera’s Operational Database: Unlocking New Benefits in the Cloud
Part 2: Cloudera’s Operational Database: Unlocking New Benefits in the CloudPart 2: Cloudera’s Operational Database: Unlocking New Benefits in the Cloud
Part 2: Cloudera’s Operational Database: Unlocking New Benefits in the Cloud
 
Solving enterprise challenges through scale out storage & big compute final
Solving enterprise challenges through scale out storage & big compute finalSolving enterprise challenges through scale out storage & big compute final
Solving enterprise challenges through scale out storage & big compute final
 
Marketing Automation at Scale: How Marketo Solved Key Data Management Challen...
Marketing Automation at Scale: How Marketo Solved Key Data Management Challen...Marketing Automation at Scale: How Marketo Solved Key Data Management Challen...
Marketing Automation at Scale: How Marketo Solved Key Data Management Challen...
 
Multi Tenancy In The Cloud
Multi Tenancy In The CloudMulti Tenancy In The Cloud
Multi Tenancy In The Cloud
 
The Next Generation of Hyperconverged Infrastructure - Cisco
The Next Generation of Hyperconverged Infrastructure - CiscoThe Next Generation of Hyperconverged Infrastructure - Cisco
The Next Generation of Hyperconverged Infrastructure - Cisco
 
Who's in your Cloud? Cloud State Monitoring
Who's in your Cloud? Cloud State MonitoringWho's in your Cloud? Cloud State Monitoring
Who's in your Cloud? Cloud State Monitoring
 
Chap 3 infrastructure as a service(iaas)
Chap 3 infrastructure as a service(iaas)Chap 3 infrastructure as a service(iaas)
Chap 3 infrastructure as a service(iaas)
 
Scaling Integration
Scaling IntegrationScaling Integration
Scaling Integration
 
Planning a Successful Cloud - Design from Workload to Infrastructure
Planning a Successful Cloud - Design from Workload to InfrastructurePlanning a Successful Cloud - Design from Workload to Infrastructure
Planning a Successful Cloud - Design from Workload to Infrastructure
 
Adelaide Global Azure Bootcamp 2018 - Azure 101
Adelaide Global Azure Bootcamp 2018 - Azure 101Adelaide Global Azure Bootcamp 2018 - Azure 101
Adelaide Global Azure Bootcamp 2018 - Azure 101
 
Database as a Service - Tutorial @ICDE 2010
Database as a Service - Tutorial @ICDE 2010Database as a Service - Tutorial @ICDE 2010
Database as a Service - Tutorial @ICDE 2010
 
SQL PASS Taiwan 七月份聚會-1
SQL PASS Taiwan 七月份聚會-1SQL PASS Taiwan 七月份聚會-1
SQL PASS Taiwan 七月份聚會-1
 
Azure SQL Database Managed Instance
Azure SQL Database Managed InstanceAzure SQL Database Managed Instance
Azure SQL Database Managed Instance
 
Cloud Storage and Cloud Computing.pptx
Cloud Storage and  Cloud Computing.pptxCloud Storage and  Cloud Computing.pptx
Cloud Storage and Cloud Computing.pptx
 
Cloud Data Strategy event London
Cloud Data Strategy event LondonCloud Data Strategy event London
Cloud Data Strategy event London
 

More from VMware Tanzu

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

More from VMware Tanzu (20)

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

Recently uploaded

Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Tobias Schneck
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
Product School
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
RTTS
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Ramesh Iyer
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
Product School
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
Elena Simperl
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 

Recently uploaded (20)

Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 

Caching for Microservices Architectures: Session I

  • 1. Caching for Microservices Architectures Introducing Pivotal Cloud Cache Jagdish Mirani
  • 2. Why Microservices Architectures Need a Cache Autonomy Availability Cost Reduction $ $ Performance
  • 3. Why Microservices Architectures Need a Cache Autonomy Availability Cost Reduction $ $ Performance
  • 4. Ability to handle a large number of concurrent requests Performance Drivers for Modern Applications ▪  More users of new mobile and web applications ▪  Users expect real-time response, even during peak usage ▪  Increasing number of requests from other applications ▪  New use cases from new data sources, ex: IoT and streaming data ▪  Scaling the application logic results in the need for scaling the data access layer
  • 5. Caches Provide Blazing Fast Performance ▪  Memory is orders of magnitude faster than disk ▪  Caches can present a structural view of data optimized for performance ▪  Maximizing cache hits -  Preloading cache (cache warming) -  Expiration and eviction •  Application driven •  Time based •  Notifications and events Microservice Instance Cache Database
  • 6. Externalizing state is a requirement for microservice instances to scale Microservices Need Performance and Scalability ▪  Externalize microservices state for performance and scalability of the business logic -  Store application state information in cache for fast retrieval -  Adheres to 12-factor principles ▪  Dynamically change the number of application instances without losing state information
  • 7. Microservices with large, frequently accessed data sets need a cache layer Microservices Need Performance and Scalability Performance and scalability of data ▪  Add servers to a shared cluster ▪  Reduces the pressure to scale rigid backing stores ▪  Enables availability and resilience
  • 8. Why Microservices Architectures Need a Cache Autonomy Availability Cost Reduction $ $ Performance
  • 9. Fosters an agile, dynamic application culture Team Autonomy Equates to Velocity ▪  Separate development and release cycles -  Evolve each microservice independently -  Independent development, test, production cycles -  Continuous integration, continuous delivery ▪  Independent technology decisions, including data layer -  Polyglot persistence -  Independent data model decisions ▪  Changes should be non-breaking for other teams and microservices
  • 10. Extreme ends of data sharing continuum present challenges Autonomy in the Context of the Data Layer Autonomous Distributed workload and data management challenges Shared Database Database Per Service No autonomy Development and runtime coupling
  • 11. Data APIs Present Autonomous Views of Data ●  Define a Data API that projects a data model to match the needs of the consuming microservices ●  Data API is the access point to a microservice that’s primarily responsible for accessing data ●  Data API provides a contract for accessing data ●  Teams create data caches optimized for their microservices ●  Allows more flexibility for (and isolation from) changes to backing stores Caches provide data for each autonomous view
  • 12. Data API evolve in support of the evolution of the microservice(s) Versioned APIs Facilitate Change Management ▪  Analogous to the notion of versioned microservices ▪  Parallel deployment of versions creates the possibility of a managed evolution ▪  Allows for data transformations within the microservice as an alternative to changing the backing store(s) V1 V2
  • 13. Caching Can Present an Autonomous View of Data ●  Provides a surface area to: ○  implement access control ○  implement throttling ○  perform logging ○  enforce other policies Teams create data caches optimized for their microservices
  • 14. Caching Can Present an Autonomous View of Data ●  Data APIs project a bounded context ○  Each bounded context has a single, unified model ○  Relationships between models are explicitly defined ○  Teams are typically given full responsibility over one or more bounded contexts
  • 15. Why Microservices Architectures Need a Cache Autonomy Availability Cost Reduction $ $ Performance
  • 16. Several points of failure Large Number of ‘Moving Parts’ ▪  Single request can touch several components: servers, distinct clusters, microservice instances ▪  Availability zones can fail ▪  Regions can become unstable ▪  Network is unreliable ▪  Cloud native architecture components are ephemeral by design -  Instances added and removed dynamically Enterprise Readiness Requires the Ability to Tolerate Failures
  • 17. Highly Available Caching Layer Offers Protection ●  Cache serves as the ‘primary’ data store for the application ●  High availability: copy data for failure protection ●  Immune to lapses in backing store availability ●  Backing stores kept up-to-date through the cache
  • 18. Why Microservices Architectures Need a Cache Autonomy Availability Cost Reduction $ $ Performance
  • 19. Expensive and Brittle Legacy Application Infrastructures ▪  High startup costs ▪  Steep pricing curve for adding capacity -  Mainframe MIPS pricing -  Legacy RDBMS data stores are expensive to scale ▪  Complex deployments ▪  Easily disrupted ▪  Points of failure ▪  Scalability bottlenecks
  • 20. 20 Legacy Modernization is key to success $$$$ ROI Funds Transformation Replatform Modernize Migrate Runs on PCF Existing Workloads Cloud Native Built for PCF New Initiatives Cloud Native ModernizeReplatform Migrate
  • 21. Legacy Systems: Part of a Cloud Native Evolution Create microservices around the edges of the legacy system ●  Caching layer to mediates between the old and the new ●  Optionally, re-platform the legacy application ●  Optionally, reduce reliance on legacy application over time Microservices Legacy Middleware Legacy Application Monolithic Application
  • 23. Prepackaged for Simple Consumption ●  Plans (use cases) based on caching patterns ●  Look-aside pattern supported out of the box ○  Cache is controlled and managed by the application ○  Good for saving application state, microservices architectures, reducing load on legacy systems, etc.. ○  Perfect match for the Spring Framework @Cacheable annotation ●  Other caching patterns and options to come (WAN replication, Session State Caching, Inline caching pattern, etc.). Look-Aside Cache Look-aside pattern supported out of the box App Instance Cache Database
  • 24. Pivotal Cloud Cache •  Easy accessibility through Marketplace •  Instant Provisioning •  Bind to apps through easy to use interface •  Lifecycle management •  Common access control and audit trails across services MySQL New Relic Single Sign- On RabbitMQ Config Server Service Directory Circuit Breaker Signal Sciences Crunchy PostgreSQL AND MORE Services Marketplace Pivotal Cloud Cache Dynatrace Extending the Pivotal Cloud Foundry Platform for Microservices Architectures
  • 25. Easily Provisioned for Developer Self Service Operators create and register service plans with the Services Marketplace Create Service Plans Set Quotas Deploy PCC Broker Define VMs Define Memory Define CPU Define Disk Size Max Cluster Size Max # of Clusters OpsMan Tile Register with Marketplace
  • 26. In-memory, and horizontally scalable for parallel execution Pivotal Cloud Cache Performance Grow cluster dynamically with no interruption of service or data loss Data is sharded or replicated across servers
  • 27. This is how an in-memory cache can horizontally scale Partitioning (aka Sharding) Take advantage of the memory and network bandwidth of all members of the cluster
  • 28. Replicated regions Partitioning and Co-location Replicated regions model many-to-many relationships
  • 29. High Availability Spanning Servers and Availability Zones Stretched cluster across availability zones Replication for high availability of data in cache Pivotal Cloud Foundry resurrects lost VMs
  • 30. Powerful Eventing System Publish/subscribe and Continuous Query built right in Put(key, value) Subscribers are automatically notified
  • 31. Integrated Security Pre-configured Authentication and Authorization ●  Role-based, configurable, authorization for administrative activities ●  Pre-defined, pre-configured roles ●  Consistent mechanism for authenticating and authorizing actions ●  Every administrative function can require authorization ●  Every data access can require authorization ●  Some users can read/write data ●  Others can start/stop servers ●  Still others can configure cluster User 1 User 2 User 3 User 4 Group 1 Group 2 Role 1 Role 2 Role 3 Role 1A Role 1B Role 1C Role 2A Role 3A Role 3B Determines experience Determines permissions
  • 32. Summary Speed up your apps on Pivotal Cloud Foundry ●  PCC can overcome the performance, elasticity and scaling, challenges of microservices architectures ●  Using PCC with data APIs can increase autonomy between teams ●  PCC has rock solid availability and failure recovery ●  PCC provides an evolutionary approach to adopting microservices that can extend the life of legacy systems ●  The combination of PCC and PCF make it possible to get started quickly and easily adjust cache capacity as needed