SlideShare a Scribd company logo
1 of 34
Download to read offline
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 on Pivotal Cloud Foundry
Caching for Microservices Architectures on Pivotal Cloud Foundry

More Related Content

What's hot

Azure 仮想マシンとRemoteAppの超概要
Azure 仮想マシンとRemoteAppの超概要Azure 仮想マシンとRemoteAppの超概要
Azure 仮想マシンとRemoteAppの超概要Daiyu Hatakeyama
 
Authentication, authorization, accounting(aaa) slides
Authentication, authorization, accounting(aaa) slidesAuthentication, authorization, accounting(aaa) slides
Authentication, authorization, accounting(aaa) slidesrahul kundu
 
AWS KMS를 활용하여 안전한 AWS 환경을 구축하기 위한 전략::임기성::AWS Summit Seoul 2018
AWS KMS를 활용하여 안전한 AWS 환경을 구축하기 위한 전략::임기성::AWS Summit Seoul 2018AWS KMS를 활용하여 안전한 AWS 환경을 구축하기 위한 전략::임기성::AWS Summit Seoul 2018
AWS KMS를 활용하여 안전한 AWS 환경을 구축하기 위한 전략::임기성::AWS Summit Seoul 2018Amazon Web Services Korea
 
프리티어 서비스부터 계정 보안까지 - 조아름 AWS 매니저
프리티어 서비스부터 계정 보안까지 - 조아름 AWS 매니저프리티어 서비스부터 계정 보안까지 - 조아름 AWS 매니저
프리티어 서비스부터 계정 보안까지 - 조아름 AWS 매니저Amazon Web Services Korea
 
INCIDENT RESPONSE NIST IMPLEMENTATION
INCIDENT RESPONSE NIST IMPLEMENTATIONINCIDENT RESPONSE NIST IMPLEMENTATION
INCIDENT RESPONSE NIST IMPLEMENTATIONSylvain Martinez
 
Introduction to AWS VPC, Guidelines, and Best Practices
Introduction to AWS VPC, Guidelines, and Best PracticesIntroduction to AWS VPC, Guidelines, and Best Practices
Introduction to AWS VPC, Guidelines, and Best PracticesGary Silverman
 
Security Issues of Cloud Computing
Security Issues of Cloud ComputingSecurity Issues of Cloud Computing
Security Issues of Cloud ComputingFalgun Rathod
 
Cloud Security Architecture.pptx
Cloud Security Architecture.pptxCloud Security Architecture.pptx
Cloud Security Architecture.pptxMoshe Ferber
 
GDPR - Top 10 AWS Security and Compliance Best Practices
GDPR - Top 10 AWS Security and Compliance Best PracticesGDPR - Top 10 AWS Security and Compliance Best Practices
GDPR - Top 10 AWS Security and Compliance Best PracticesAhmad Khan
 
Azure security architecture
Azure security architectureAzure security architecture
Azure security architectureKarl Ots
 
AWS Security Best Practices in a Zero Trust Security Model - DEM06 - Atlanta ...
AWS Security Best Practices in a Zero Trust Security Model - DEM06 - Atlanta ...AWS Security Best Practices in a Zero Trust Security Model - DEM06 - Atlanta ...
AWS Security Best Practices in a Zero Trust Security Model - DEM06 - Atlanta ...Amazon Web Services
 
Webinar AWS 201 - Using Amazon Virtual Private Cloud (VPC)
Webinar AWS 201 - Using Amazon Virtual Private Cloud (VPC)Webinar AWS 201 - Using Amazon Virtual Private Cloud (VPC)
Webinar AWS 201 - Using Amazon Virtual Private Cloud (VPC)Amazon Web Services
 
Building a Security Architecture
Building a Security ArchitectureBuilding a Security Architecture
Building a Security ArchitectureCisco Canada
 
DEV323_Introduction to the AWS CLI
DEV323_Introduction to the AWS CLIDEV323_Introduction to the AWS CLI
DEV323_Introduction to the AWS CLIAmazon Web Services
 

What's hot (20)

Cloud Deployment
Cloud DeploymentCloud Deployment
Cloud Deployment
 
Azure 仮想マシンとRemoteAppの超概要
Azure 仮想マシンとRemoteAppの超概要Azure 仮想マシンとRemoteAppの超概要
Azure 仮想マシンとRemoteAppの超概要
 
LDAP
LDAPLDAP
LDAP
 
Authentication, authorization, accounting(aaa) slides
Authentication, authorization, accounting(aaa) slidesAuthentication, authorization, accounting(aaa) slides
Authentication, authorization, accounting(aaa) slides
 
AWS KMS를 활용하여 안전한 AWS 환경을 구축하기 위한 전략::임기성::AWS Summit Seoul 2018
AWS KMS를 활용하여 안전한 AWS 환경을 구축하기 위한 전략::임기성::AWS Summit Seoul 2018AWS KMS를 활용하여 안전한 AWS 환경을 구축하기 위한 전략::임기성::AWS Summit Seoul 2018
AWS KMS를 활용하여 안전한 AWS 환경을 구축하기 위한 전략::임기성::AWS Summit Seoul 2018
 
프리티어 서비스부터 계정 보안까지 - 조아름 AWS 매니저
프리티어 서비스부터 계정 보안까지 - 조아름 AWS 매니저프리티어 서비스부터 계정 보안까지 - 조아름 AWS 매니저
프리티어 서비스부터 계정 보안까지 - 조아름 AWS 매니저
 
Aws storage
Aws storageAws storage
Aws storage
 
INCIDENT RESPONSE NIST IMPLEMENTATION
INCIDENT RESPONSE NIST IMPLEMENTATIONINCIDENT RESPONSE NIST IMPLEMENTATION
INCIDENT RESPONSE NIST IMPLEMENTATION
 
Introduction to AWS VPC, Guidelines, and Best Practices
Introduction to AWS VPC, Guidelines, and Best PracticesIntroduction to AWS VPC, Guidelines, and Best Practices
Introduction to AWS VPC, Guidelines, and Best Practices
 
Security Issues of Cloud Computing
Security Issues of Cloud ComputingSecurity Issues of Cloud Computing
Security Issues of Cloud Computing
 
Cloud computing
Cloud computingCloud computing
Cloud computing
 
Cloud Security Architecture.pptx
Cloud Security Architecture.pptxCloud Security Architecture.pptx
Cloud Security Architecture.pptx
 
GDPR - Top 10 AWS Security and Compliance Best Practices
GDPR - Top 10 AWS Security and Compliance Best PracticesGDPR - Top 10 AWS Security and Compliance Best Practices
GDPR - Top 10 AWS Security and Compliance Best Practices
 
Getting Started with Amazon EC2
Getting Started with Amazon EC2Getting Started with Amazon EC2
Getting Started with Amazon EC2
 
Azure security architecture
Azure security architectureAzure security architecture
Azure security architecture
 
AWS Security Best Practices in a Zero Trust Security Model - DEM06 - Atlanta ...
AWS Security Best Practices in a Zero Trust Security Model - DEM06 - Atlanta ...AWS Security Best Practices in a Zero Trust Security Model - DEM06 - Atlanta ...
AWS Security Best Practices in a Zero Trust Security Model - DEM06 - Atlanta ...
 
Webinar AWS 201 - Using Amazon Virtual Private Cloud (VPC)
Webinar AWS 201 - Using Amazon Virtual Private Cloud (VPC)Webinar AWS 201 - Using Amazon Virtual Private Cloud (VPC)
Webinar AWS 201 - Using Amazon Virtual Private Cloud (VPC)
 
Building a Security Architecture
Building a Security ArchitectureBuilding a Security Architecture
Building a Security Architecture
 
DEV323_Introduction to the AWS CLI
DEV323_Introduction to the AWS CLIDEV323_Introduction to the AWS CLI
DEV323_Introduction to the AWS CLI
 
Intro to AWS: Database Services
Intro to AWS: Database ServicesIntro to AWS: Database Services
Intro to AWS: Database Services
 

Similar to Caching for Microservices Architectures on Pivotal Cloud Foundry

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 VirtualizationDenodo
 
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 PatternsVMware Tanzu
 
Big Data on Cloud Native Platform
Big Data on Cloud Native PlatformBig Data on Cloud Native Platform
Big Data on Cloud Native PlatformSunil Govindan
 
Big Data on Cloud Native Platform
Big Data on Cloud Native PlatformBig Data on Cloud Native Platform
Big Data on Cloud Native PlatformSunil 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 CloudCloudera, 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 finalAvere 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 Cloudrohit_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 - CiscoMarcoTechnologies
 
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 MonitoringKevin 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 IntegrationKim 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 Infrastructurebuildacloud
 
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 101Balabiju
 
SQL PASS Taiwan 七月份聚會-1
SQL PASS Taiwan 七月份聚會-1SQL PASS Taiwan 七月份聚會-1
SQL PASS Taiwan 七月份聚會-1SQLPASSTW
 
Azure SQL Database Managed Instance
Azure SQL Database Managed InstanceAzure SQL Database Managed Instance
Azure SQL Database Managed InstanceJames Serra
 
Cloud Storage and Cloud Computing.pptx
Cloud Storage and  Cloud Computing.pptxCloud Storage and  Cloud Computing.pptx
Cloud Storage and Cloud Computing.pptxANALEESUAREZ2
 
Cloud Data Strategy event London
Cloud Data Strategy event LondonCloud Data Strategy event London
Cloud Data Strategy event LondonMongoDB
 

Similar to Caching for Microservices Architectures on Pivotal Cloud Foundry (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
 
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
 
Cloud computing_Final
Cloud computing_FinalCloud computing_Final
Cloud computing_Final
 

More from 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 ItVMware 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 2023VMware 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 ScaleVMware Tanzu
 
Spring Update | July 2023
Spring Update | July 2023Spring Update | July 2023
Spring Update | July 2023VMware 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 ProductVMware Tanzu
 
Building Cloud Ready Apps
Building Cloud Ready AppsBuilding Cloud Ready Apps
Building Cloud Ready AppsVMware Tanzu
 
Spring Boot 3 And Beyond
Spring Boot 3 And BeyondSpring Boot 3 And Beyond
Spring Boot 3 And BeyondVMware 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.pdfVMware 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 2023VMware 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 2023VMware Tanzu
 
tanzu_developer_connect.pptx
tanzu_developer_connect.pptxtanzu_developer_connect.pptx
tanzu_developer_connect.pptxVMware Tanzu
 
Tanzu Virtual Developer Connect Workshop - French
Tanzu Virtual Developer Connect Workshop - FrenchTanzu Virtual Developer Connect Workshop - French
Tanzu Virtual Developer Connect Workshop - FrenchVMware Tanzu
 
Tanzu Developer Connect Workshop - English
Tanzu Developer Connect Workshop - EnglishTanzu Developer Connect Workshop - English
Tanzu Developer Connect Workshop - EnglishVMware Tanzu
 
Virtual Developer Connect Workshop - English
Virtual Developer Connect Workshop - EnglishVirtual Developer Connect Workshop - English
Virtual Developer Connect Workshop - EnglishVMware Tanzu
 
Tanzu Developer Connect - French
Tanzu Developer Connect - FrenchTanzu Developer Connect - French
Tanzu Developer Connect - FrenchVMware 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 2023VMware 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 BootVMware Tanzu
 
SpringOne Tour: The Influential Software Engineer
SpringOne Tour: The Influential Software EngineerSpringOne Tour: The Influential Software Engineer
SpringOne Tour: The Influential Software EngineerVMware 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 PracticeVMware Tanzu
 
SpringOne Tour: Spring Recipes: A Collection of Common-Sense Solutions
SpringOne Tour: Spring Recipes: A Collection of Common-Sense SolutionsSpringOne Tour: Spring Recipes: A Collection of Common-Sense Solutions
SpringOne Tour: Spring Recipes: A Collection of Common-Sense SolutionsVMware Tanzu
 

More from VMware Tanzu (20)

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
 
SpringOne Tour: Spring Recipes: A Collection of Common-Sense Solutions
SpringOne Tour: Spring Recipes: A Collection of Common-Sense SolutionsSpringOne Tour: Spring Recipes: A Collection of Common-Sense Solutions
SpringOne Tour: Spring Recipes: A Collection of Common-Sense Solutions
 

Recently uploaded

Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 

Recently uploaded (20)

Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 

Caching for Microservices Architectures on Pivotal Cloud Foundry

  • 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