SlideShare a Scribd company logo
© Copyright 2019 Pivotal Software, Inc. All rights Reserved.
Nikhil Chandrappa
Senior Data Engineer @ Pivotal
Pivotal Cloud Cache For
.NET Microservices
Pivotal is a leader
in cloud native
.NET
How is Pivotal a part of it?
.Net Foundation
As a corporate sponsor Pivotal sits on the advisory
council, collaborates closely with the .NET engineering
team, and helps grow the .NET community.
Steeltoe.io
An application framework that provides libraries for
.NET developers to build cloud-native applications and
microservices. Pivotal maintains the project, and
donated it to the .NET Foundation in 2017.
Automation with no opinions
Whether you use TFS, Azure DevOps, Jenkins,
Octopus or any other pipeline tool; developers can
easily push .NET apps to the platform.
Windows Server OS
Utilizing Microsoft Server OS native containerization,
PASW enhances an already established technology.
Cloud Native Design - 12 factors
Codebase
One codebase tracked in revision control, many
deploys
Dependencies
Explicitly declare and isolate dependencies
Configuration
Store config in the environment
Backing services
Treat backing services as attached resources
Build, release, run
Strictly separate build and run stages
Processes
Execute the app as one or more stateless processes
Port Binding
Export services via ports
Concurrency
Scale out via the process model
Disposability
Maximize robustness with fast startup and
graceful shutdown
Dev/Prod Parity
Keep dev to prod as close as possible
Logs
Treat logs as event streams
Admin Processes
Run admin and management tasks as one-off
processes
Build
Cloud Native Design:
Processes
Execute the app as one or more
stateless processes
Build
Stateless
Processes
Stateful
Backing
Services
Cloud Native Design:
Backing Services
Treat backing services as attached
resources
.NET
Microservice
Attached
Resources
Caching is a Vital Part of Modern
Application Architecture
Internet Scale Caching @ Netflix
7
“The Netflix customer experience relies
heavily on caches to provide a high-
volume, low latency, globally available
data layer that backs our stateless
services.
Throughout a typical customer
experience, from sitting down on the
couch through playing a movie, caches
play a role in every interaction.”
#CachesEverywhere
http://bit.ly/netflix-caching-2016
Internet Scale Caching @ Netflix
Internet Scale Caching @ Netflix
➔VMs disappear
➔Availability Zones fail
➔Network lossy
➔Failures happen, minimize
impact
➔Enterprise readiness
➔Cloud portability
Motivation for
Cloud Native
Caching
➔Distributed In-Memory Cache
Based on Pivotal GemFire (Apache Geode) and
optimized for PCF Apps.
➔Automated Provisioning and Management
Customize service plan, on demand service broker,
monitoring, failure recovery, and software updates
with zero downtime.
➔High Availability and Linear Scalability
➔Fault Tolerant, No Single Point of Failure
➔Disk based Persistence
➔WAN replication between PCF foundations
➔PCF AZ aware!
Pivotal Cloud
Cache (PCC)
Self Service for Developer
Productivity
Service-Service for Devs: Create PCC Instance
● Pivotal Cloud Cache is listed
in PCF Marketplace.
● Developer can create a
PCC cluster within the
available Service Plans and
Quota limits set by the
Operator.
● Create Service Keys to
access PCC cluster.
Binding Application to PCC Service
Pivotal Cloud Cache - Core
Features
PCC Topology
2
Cache
Server
Cache
Server
Cache
Server
Locator
1
1 2 33 1
.NET
Client
Connection Pool
54.209.251.110 54.209.251.111 54.209.251.112
Locator
Cache
Server
2
54.209.251.113
PCF
AZ 1
PCF
AZ 2
Cache
Server
3 1
54.209.251.112
Locator
Cache
Server
2
54.209.251.113
PCF
AZ 3
● Cluster Spanning Multiple PCF AZs
● PCC Native Redundancy prevent data loss
Pivotal Cloud Cache HA and Fault Tolerance
Failing data copies are
replaced transparently
Data is replicated to other
clusters and sites (WAN)
Split Brain Detection is enabled Client and cluster disconnections
are handled gracefully
Data is persisted on local
disk for ultimate durability
“split brain”
Secure By Default
Data security has to be baked in to everything we do
● Access Management
○ UAA serves as OAuth2 provider
● Credential management
○ CredHub for managing certificates
● Encryption of data in motion
○ Developers can opt into TLS Encryption, which
is integrated with the platform
● Encryption of data at rest
○ Partner with external vendors to provide disk
encryption
Cluster Scaling Out
cf update-service pcc-dev-cluster -c '{"num_servers": 6}'
Caching Design Patterns for .NET
Microservices
Design Pattern: Look-Aside Cache
Cache data in the memory for frequent visit
Design Pattern: Front-ending a RDBMS (In-line cache)
● Cache provides applications and users with a
low-latency, high throughput serving layer
● Asynchronous write-behind to disk by deploying
custom code as AsyncEventListener and
CacheLoader
● More economical than trying to increase the
performance of the RDBMS
● Same pattern applies to front ending a
mainframe
Fast KV Store front-ending
RDBMS
1000s of
transactions per
second
100s of
transactions per
second
Design Pattern: Session State Cache
Design Pattern: Foundation Replication
Modern Application Architectures Need Caching
● Cloud infrastructures are ephemeral. A highly available cache can keep serving data
and protect against data loss even when the infrastructure fails
● Cloud infrastructures are elastic. An elastic cache like PCC can adjust to the needs of
the application(s)
● Distributed application architectures are highly subject network latencies. A caching
layer can reduce the dependence on the network
● Pivotal Cloud Cache is purpose built for the Pivotal Platform and it provides an easy
to set up, configure, integrate, and deploy caching service
PCC’s versatility makes it a great choice for various .NET microservices
patterns and use cases
The Highest Concentration of Geode Expertise in One Place
Apache Geode Summit 2019
Learn from practitioners, committers and data architects
12 Geode sessions
● Monday Geode Summit (Oct 7, 1-6PM): 8 consecutive Geode-
only sessions
● Conference breakout sessions (Oct 8-10): 4 additional Geode
sessions
Registration options: full conference or Monday Geode Summit only
October 7–10, 2019
Austin Convention Center
Discount Code
S1P200_JMirani for
$200 off a full pass
Register Now
For the latest sessions list: Use the ‘Geode’ filter on the conference sessions page
Transforming how the world builds software
© Copyright 2019 Pivotal Software, Inc. All rights Reserved.

More Related Content

PPTX
Nutanix basic
PDF
Experiencing the hyperconverged
PDF
Kubernetes Basics - ICP Workshop Batch II
PPTX
Nutanix Puts the I in VDI
PPTX
The Foundation of the Software Defined Data Center
PPTX
VMworld - sto7650 -Software defined storage @VMmware primer
PDF
Regarding Clouds, Mainframes, and Desktops … and Linux
PDF
Creating Microservices Application with IBM Cloud Private (ICP) - ICP Archite...
Nutanix basic
Experiencing the hyperconverged
Kubernetes Basics - ICP Workshop Batch II
Nutanix Puts the I in VDI
The Foundation of the Software Defined Data Center
VMworld - sto7650 -Software defined storage @VMmware primer
Regarding Clouds, Mainframes, and Desktops … and Linux
Creating Microservices Application with IBM Cloud Private (ICP) - ICP Archite...

What's hot (20)

PDF
Red Hat Virtualization Where Performance Takes Off!
PDF
Nutanix + Cumulus Linux: Deploying True Hyper Convergence with Open Networking
PPSX
Auto Scaling for Multi-Tier Containers Topology
PDF
Nutanix Technology Bootcamp
PPTX
Lenovo Converged HX Series Nutanix Appliance
PDF
Community Session: Strategic Private Cloud in SKY UK
PPTX
Hyperconverged Infrastructure, It's the Future
PDF
Presentation v cat 3.0 - architecture to implementation
PDF
10 Key Considerations For Selecting Hyper-Converged Infrastructure
PPTX
High Performance Cloud-Native Microservices IndyCloudConf 2020
PPTX
Considering Bare Metal
PDF
Nutanix - The Next Level in Web Scale IT Architectures is Here
PPTX
Enterprise Cloud Platform - Keynote
PDF
Harnessing the virtual realm for successful real world artificial intelligence
PPTX
Dell - The Incredible Shrinking Datacenter
PPTX
20150107 Citrix Validated Solutions PartnerSummit SKO v12 ML LinkedIn
PDF
Jelastic Turnkey Cloud PaaS for Developers
PDF
Scalar Cisco Hyperflex Presentation, May 13 2016, Part III: Scalar Lunch & Le...
PPTX
Nutanix Fundamentals The Enterprise Cloud Company
PPTX
Achieving Cost and Resource Efficiency through Docker, OpenShift and Kubernetes
Red Hat Virtualization Where Performance Takes Off!
Nutanix + Cumulus Linux: Deploying True Hyper Convergence with Open Networking
Auto Scaling for Multi-Tier Containers Topology
Nutanix Technology Bootcamp
Lenovo Converged HX Series Nutanix Appliance
Community Session: Strategic Private Cloud in SKY UK
Hyperconverged Infrastructure, It's the Future
Presentation v cat 3.0 - architecture to implementation
10 Key Considerations For Selecting Hyper-Converged Infrastructure
High Performance Cloud-Native Microservices IndyCloudConf 2020
Considering Bare Metal
Nutanix - The Next Level in Web Scale IT Architectures is Here
Enterprise Cloud Platform - Keynote
Harnessing the virtual realm for successful real world artificial intelligence
Dell - The Incredible Shrinking Datacenter
20150107 Citrix Validated Solutions PartnerSummit SKO v12 ML LinkedIn
Jelastic Turnkey Cloud PaaS for Developers
Scalar Cisco Hyperflex Presentation, May 13 2016, Part III: Scalar Lunch & Le...
Nutanix Fundamentals The Enterprise Cloud Company
Achieving Cost and Resource Efficiency through Docker, OpenShift and Kubernetes
Ad

Similar to Pivotal cloud cache for .net microservices (20)

PDF
Scalable Smart Caching for Spring Developers
PDF
Caching for Microservices Architectures: Session I
PPTX
Caching for Microservives - Introduction to Pivotal Cloud Cache
PPTX
It’s a Multi-Cloud World, But What About The Data?
PDF
Caching for Microservices Architectures: Session II - Caching Patterns
PDF
Cloud-Native-Data with Cornelia Davis
PDF
Cloud-native Data
PPTX
From Zero to Cloud using Spring with Cloud-Native Data Technologies - John Blum
PDF
Cloud-native Data: Every Microservice Needs a Cache
PDF
Pivotal CenturyLink Cloud Platform Seminar Presentations: Software Kept Eatin...
PDF
Gemfire Introduction
PDF
Application Caching: The Hidden Microservice
PDF
Cloud Computing Big Data Is Future Of It
PPTX
Distributed Cache with dot microservices
PPTX
Architecting for Massive Scalability - St. Louis Day of .NET 2011 - Aug 6, 2011
PDF
Overcoming Data Gravity in Multi-Cloud Enterprise Architectures
PDF
PCF Cloud-Native Workshop Slides
PDF
Pivotal CloudFoundry on Google cloud platform
PPTX
The Journey to Enterprise PaaS (Cloud Foundry Summit 2014)
PDF
Top 6 Reasons to Use a Distributed Data Grid
Scalable Smart Caching for Spring Developers
Caching for Microservices Architectures: Session I
Caching for Microservives - Introduction to Pivotal Cloud Cache
It’s a Multi-Cloud World, But What About The Data?
Caching for Microservices Architectures: Session II - Caching Patterns
Cloud-Native-Data with Cornelia Davis
Cloud-native Data
From Zero to Cloud using Spring with Cloud-Native Data Technologies - John Blum
Cloud-native Data: Every Microservice Needs a Cache
Pivotal CenturyLink Cloud Platform Seminar Presentations: Software Kept Eatin...
Gemfire Introduction
Application Caching: The Hidden Microservice
Cloud Computing Big Data Is Future Of It
Distributed Cache with dot microservices
Architecting for Massive Scalability - St. Louis Day of .NET 2011 - Aug 6, 2011
Overcoming Data Gravity in Multi-Cloud Enterprise Architectures
PCF Cloud-Native Workshop Slides
Pivotal CloudFoundry on Google cloud platform
The Journey to Enterprise PaaS (Cloud Foundry Summit 2014)
Top 6 Reasons to Use a Distributed Data Grid
Ad

Recently uploaded (20)

PDF
System and Network Administraation Chapter 3
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PPTX
Operating system designcfffgfgggggggvggggggggg
PPTX
Transform Your Business with a Software ERP System
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PPTX
ai tools demonstartion for schools and inter college
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PPTX
Reimagine Home Health with the Power of Agentic AI​
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PPTX
Odoo POS Development Services by CandidRoot Solutions
PPTX
history of c programming in notes for students .pptx
PDF
PTS Company Brochure 2025 (1).pdf.......
System and Network Administraation Chapter 3
Design an Analysis of Algorithms II-SECS-1021-03
Operating system designcfffgfgggggggvggggggggg
Transform Your Business with a Software ERP System
Navsoft: AI-Powered Business Solutions & Custom Software Development
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
ai tools demonstartion for schools and inter college
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
2025 Textile ERP Trends: SAP, Odoo & Oracle
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
Reimagine Home Health with the Power of Agentic AI​
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Odoo POS Development Services by CandidRoot Solutions
history of c programming in notes for students .pptx
PTS Company Brochure 2025 (1).pdf.......

Pivotal cloud cache for .net microservices

  • 1. © Copyright 2019 Pivotal Software, Inc. All rights Reserved. Nikhil Chandrappa Senior Data Engineer @ Pivotal Pivotal Cloud Cache For .NET Microservices
  • 2. Pivotal is a leader in cloud native .NET How is Pivotal a part of it? .Net Foundation As a corporate sponsor Pivotal sits on the advisory council, collaborates closely with the .NET engineering team, and helps grow the .NET community. Steeltoe.io An application framework that provides libraries for .NET developers to build cloud-native applications and microservices. Pivotal maintains the project, and donated it to the .NET Foundation in 2017. Automation with no opinions Whether you use TFS, Azure DevOps, Jenkins, Octopus or any other pipeline tool; developers can easily push .NET apps to the platform. Windows Server OS Utilizing Microsoft Server OS native containerization, PASW enhances an already established technology.
  • 3. Cloud Native Design - 12 factors Codebase One codebase tracked in revision control, many deploys Dependencies Explicitly declare and isolate dependencies Configuration Store config in the environment Backing services Treat backing services as attached resources Build, release, run Strictly separate build and run stages Processes Execute the app as one or more stateless processes Port Binding Export services via ports Concurrency Scale out via the process model Disposability Maximize robustness with fast startup and graceful shutdown Dev/Prod Parity Keep dev to prod as close as possible Logs Treat logs as event streams Admin Processes Run admin and management tasks as one-off processes Build
  • 4. Cloud Native Design: Processes Execute the app as one or more stateless processes Build Stateless Processes Stateful Backing Services
  • 5. Cloud Native Design: Backing Services Treat backing services as attached resources .NET Microservice Attached Resources
  • 6. Caching is a Vital Part of Modern Application Architecture
  • 7. Internet Scale Caching @ Netflix 7 “The Netflix customer experience relies heavily on caches to provide a high- volume, low latency, globally available data layer that backs our stateless services. Throughout a typical customer experience, from sitting down on the couch through playing a movie, caches play a role in every interaction.” #CachesEverywhere http://bit.ly/netflix-caching-2016
  • 10. ➔VMs disappear ➔Availability Zones fail ➔Network lossy ➔Failures happen, minimize impact ➔Enterprise readiness ➔Cloud portability Motivation for Cloud Native Caching
  • 11. ➔Distributed In-Memory Cache Based on Pivotal GemFire (Apache Geode) and optimized for PCF Apps. ➔Automated Provisioning and Management Customize service plan, on demand service broker, monitoring, failure recovery, and software updates with zero downtime. ➔High Availability and Linear Scalability ➔Fault Tolerant, No Single Point of Failure ➔Disk based Persistence ➔WAN replication between PCF foundations ➔PCF AZ aware! Pivotal Cloud Cache (PCC)
  • 12. Self Service for Developer Productivity
  • 13. Service-Service for Devs: Create PCC Instance ● Pivotal Cloud Cache is listed in PCF Marketplace. ● Developer can create a PCC cluster within the available Service Plans and Quota limits set by the Operator. ● Create Service Keys to access PCC cluster.
  • 14. Binding Application to PCC Service
  • 15. Pivotal Cloud Cache - Core Features
  • 16. PCC Topology 2 Cache Server Cache Server Cache Server Locator 1 1 2 33 1 .NET Client Connection Pool 54.209.251.110 54.209.251.111 54.209.251.112 Locator Cache Server 2 54.209.251.113 PCF AZ 1 PCF AZ 2 Cache Server 3 1 54.209.251.112 Locator Cache Server 2 54.209.251.113 PCF AZ 3 ● Cluster Spanning Multiple PCF AZs ● PCC Native Redundancy prevent data loss
  • 17. Pivotal Cloud Cache HA and Fault Tolerance Failing data copies are replaced transparently Data is replicated to other clusters and sites (WAN) Split Brain Detection is enabled Client and cluster disconnections are handled gracefully Data is persisted on local disk for ultimate durability “split brain”
  • 18. Secure By Default Data security has to be baked in to everything we do ● Access Management ○ UAA serves as OAuth2 provider ● Credential management ○ CredHub for managing certificates ● Encryption of data in motion ○ Developers can opt into TLS Encryption, which is integrated with the platform ● Encryption of data at rest ○ Partner with external vendors to provide disk encryption
  • 19. Cluster Scaling Out cf update-service pcc-dev-cluster -c '{"num_servers": 6}'
  • 20. Caching Design Patterns for .NET Microservices
  • 21. Design Pattern: Look-Aside Cache Cache data in the memory for frequent visit
  • 22. Design Pattern: Front-ending a RDBMS (In-line cache) ● Cache provides applications and users with a low-latency, high throughput serving layer ● Asynchronous write-behind to disk by deploying custom code as AsyncEventListener and CacheLoader ● More economical than trying to increase the performance of the RDBMS ● Same pattern applies to front ending a mainframe Fast KV Store front-ending RDBMS 1000s of transactions per second 100s of transactions per second
  • 23. Design Pattern: Session State Cache
  • 25. Modern Application Architectures Need Caching ● Cloud infrastructures are ephemeral. A highly available cache can keep serving data and protect against data loss even when the infrastructure fails ● Cloud infrastructures are elastic. An elastic cache like PCC can adjust to the needs of the application(s) ● Distributed application architectures are highly subject network latencies. A caching layer can reduce the dependence on the network ● Pivotal Cloud Cache is purpose built for the Pivotal Platform and it provides an easy to set up, configure, integrate, and deploy caching service PCC’s versatility makes it a great choice for various .NET microservices patterns and use cases
  • 26. The Highest Concentration of Geode Expertise in One Place Apache Geode Summit 2019 Learn from practitioners, committers and data architects 12 Geode sessions ● Monday Geode Summit (Oct 7, 1-6PM): 8 consecutive Geode- only sessions ● Conference breakout sessions (Oct 8-10): 4 additional Geode sessions Registration options: full conference or Monday Geode Summit only October 7–10, 2019 Austin Convention Center Discount Code S1P200_JMirani for $200 off a full pass Register Now For the latest sessions list: Use the ‘Geode’ filter on the conference sessions page
  • 27. Transforming how the world builds software © Copyright 2019 Pivotal Software, Inc. All rights Reserved.