SlideShare a Scribd company logo
1 of 6
Download to read offline
Distributed Caching Using
Windows Azure AppFabric. .
Technical White Paper
Introduction ………………………………………………………………….................
What is Distributed Caching? ...............................................................
What is Windows Azure AppFabric Caching? ................................
Windows Azure AppFabric Caching......................................................
Under the hood ……………………………………………………………...........
Cache-aside pattern ……………………………………………………….........
Security………………………………………………………………………...............
Real-World Scenarios for using AppFabric Caching.....................
Conclusion …………………………………………………………………....................
References………………………………………………………………….....................
About YASH ………………………………………………………………....................
Contents
Introduction
Caching has always been an integral part of any data-driven web application from the times of traditional
computing. Caching is a process where data is stored in a component to be accessed in the future much
faster. It has always been a stand-alone mechanism from the very beginning. And, since applications are
highly scalable now and could span across multiple servers and multiple processors within each server,
independent caching techniques are not the most desired solution for performance optimization.
What is Distributed Caching?
In the world of highly scalable and high-performance applications, there comes the concept of distributed caching which
makes caching highly scalable by spanning across multiple servers. In other words, it is a form of caching where the caching
techniques are applied over a set of distributed servers, still giving a logical representation of a single cache. With the recent
advancement in technology and fall in hardware prices, distributed caching has been the best caching solution in the market
today. One of the distributed caching solutions readily available in the market is Windows Azure AppFabric Caching service.
Distributed caching could be used for storing application data, session state data, resource data, etc. which may be required
by the application at regular intervals. A distributed cache maintains a copy of this data in a temporary store which is meant
to store the data for a particular time frame ranging from a few minutes to a few hours or few days.
Windows Azure AppFabric Caching
What is Windows Azure AppFabric Caching?
Windows Azure AppFabric Caching is a distributed, in-memory, application cache service for different cloud-based
applications. Since the cache is maintained in-memory, it allows the application high-speed access to the highly scalable
data. It is a managed service that is operated by Microsoft and has 99.9% monthly SLA.
The Caching service is built upon the core design principles
of Speed and Scalability. In a nutshell, it provides a highly
scalable in-memory cache which could be utilized by an
application to improve its performance and throughput by
avoiding unnecessary round trips to the databases/ storage.
The caching service forms a part of PaaS offering from
Microsoft, Windows Azure platform. It allows a reduction
in latency and delivers great application performance
anywhere in the world.
It supports the following capabilities:
Further, the cache could be accessed via multiple machines
at same time. Alternatively, a local cache could be created
at each client machine by making minimal configuration
changes. This eliminates the network latency since the
cached data is copied to the local client machines.
Caching service presents a simple, easy-to-use and cost-
effective distributed caching solution. It can be implemented
with minimal configuration changes for ASP.Net providers or
minimal code changes to retrieve as well as store data from
the cache via exposed APIs.
Being a part of Microsoft’s cloud offering, Caching Service
brings along all the benefits of using the cloud. The most
convincing is that it is based on a “Pay as you Use” model.
You are billed for the amount of the cache that you have
consumed.
•	 High Security: Caching service uses security tokens
from the Access control service for secured access and
authorization.
•	 Web applications acceleration: Caching service provides
pre-built ASP.Net providers for Session state and page
output caching. Hence, no modification is required in the
application code for using Caching service apart from a
few configuration changes.
•	 Consistent development model: Windows Azure
AppFabric Caching service is built on the same underlying
technology platform as Windows Server AppFabric
Caching. It is designed to support automatic provisioning
and management of the cache in Windows Azure.
•	 High Scalability: The size of the cache could be increased
or decreased by simply modifying the configuration.
•	 High Manageability: Developers just need to specify
the cache size and geographical region. The rest of the
provisioning and cache management process is taken
care of by the caching service internally.
•	 High Flexibility: Caching service could be used to store
any type of managed object data including CLR objects,
Binary data and XML data.
Windows Azure AppFabric Caching
Windows Azure AppFabric Caching service is a highly scalable in-memory cache service running in
Microsoft’s cloud. It involves the following three main components for using caching service in a data
driven application:
Services
•	Caching Service: Caching service is a virtual pool of
partitioned and shared memory that can be consumed. It
exposes a secure Windows Communication Foundation (WCF)
endpoint to talk to and an explicit highly scalable cache. It also
exposes various cache APIs which could be called from a cache
client to store and retrieve data from the cache. It automatically
partitions the data stored in the cache so as to reduce the data-
loss probability.
•	Cache Client: It is a part of the application that acts as
a proxy for the caching service. It knows how to talk to the
caching service and it may or may not use the Service’s cache
APIs to store and retrieve data from the cache. If the session
data has to be stored in the cache, then the pre-built ASP.Net
provider can be used. Else, data could be stored and fetched
using the Cache APIs exposed by caching service.
•	Connection between the Client and the Service:
The communication between the caching service and the cache
client takes place based on the WCF protocol which provides
a highly secure communication channel. A security token from
AppFabric Access Control is used for authorization purposes
and this token is used by the caching service to restrict access
to the cached data.
These three components adds to the simplicity of AppFabric cache and makes it easy-to use. Developers just need to utilise
the caching service either using the pre-built ASP.Net provider or through cache APIs.
Under the hood
Internally, whenever AppFabric Cache is provisioned in the
Windows Azure Data centre, it allocates a collection of cache
servers which combine with each other to give a representation of
a single unified in-memory cache system. For example, if a cache
of size 1 GB is configured, then Windows Azure blocks memory
of the specified size divided in a number of servers each forming
a part of the primary cache. This is helpful whenever there is a
server crash due to hardware or any other possible reason. Since
the cache is divided and provisioned in multiple servers, if one of
the servers crashes, then the data loss is limited to a particular
portion of the cache. As soon as a server crashes, Windows Azure
automatically allocates appropriate memory in another cache
server to the user.
Hence, user applications can work with a single in-memory cache
regardless of how many cache servers are used for provisioning
of the cache. This can be depicted in the following figure which
highlights how AppFabric cache is provisioned.
Here, cache is spread out across multiple servers (depending on the size of the cache) and the user applications still access
the cache as a single in-memory cache.
Cache-aside pattern
AppFabric Cache supports the cache-aside pattern
for development purposes. This pattern specifies
the following steps for storing and fetching data
from the cache:
Hence, the cache is updated over time as the
instances of the application requests for the data.
Further, AppFabric cache supports different features
including configuring the time frame for which data
should reside in the cache.
It should be noted that the cache-aside pattern
doesn’t allows the pre-population of data in
the cache.
Security
Windows Azure AppFabric Caching Service works closely with
the Windows Azure AppFabric Access Control Service (ACS) for
defining the security that is used to access the cache. In other
words, the authentication for accessing the stored data is based
on ACS. Caching service authenticates applications based on
ACS token. This means that applications without having ACS
token are not allowed to access any data in the cache, and once
application produces ACS token, it is matched for authentication
and accordingly the access is granted to the data stored in the
cache. This security information necessary to connect to the
cache is provided at the time of provisioning itself.
By using ACS for security of the data, Azure AppFabric Caching
service ensures that the data is fetched by only authenticated
users/applications. As discussed earlier, the cache is spread
across multiple servers and by design, Azure AppFabric caching
supports multitenancy which supports sharing of resources
between multiple users/applications. So, to ensure reliability
and security of cached data, AppFabric caching service makes
use of ACS tokens. This way, applications can access only the
data attached to a particular ACS token. This ensures that no
data hacking takes place between different caches in Windows
Azure data centres.
Security being an important aspect of any data driven
application, Microsoft has ensured that the cached data is
exposed to only authenticated users/applications based on
Access Control Service which is a highly secure and reliable
mechanism based on federated services.
Real-World Scenarios for using AppFabric Caching
The caching service is a simple, easy-to-use, highly flexible service and could be used to store any type
of managed objects. Some common data types include the following:
In simplest terms, any managed data type which is serializable can be stored in Windows Azure AppFabric
cache.
Reference Data
The data which is frequently changed and
read by an application can be loaded into
the cache and application can access this
data from the cache rather than the original
application database or other storage
type. This result in improved performance
coupled with increased scalability. For
example, data representing a product
catalogue or a country list or stock tickers.
This includes an application’s
resource data which is not
user session specific and
could be shared across the
complete application. For
example, data representing
product inventories.
Shared Data
The data which is specific to
a user session or a particular
activity can be stored in cache.
Caching service provides pre-
built ASP.Net session state
providers which could be used
to store session state in a in-
memory cache provided by the
caching service.
Activity-oriented Data
•	 Whenever data is looked up in
cache, first of all, it is determined
if the data exists in the cache.
•	 If data exists in the cache, it is
returned to the user application.
•	 If data does not exist in the cache,
then the original data source
is queried to fetch the required
data. Once the data is fetched,
the cache is loaded with the data
and the data is then returned to
the user application.
Conclusion
Windows Azure AppFabric Caching service forms a part of the comprehensive middleware services
provided by Microsoft as a part of its PaaS offering, Windows Azure Platform. AppFabric caching service
provides a highly scalable, secure, easy to use, cost effective solution for all distributed caching needs.
AppFabric caching service provides pre-built ASP.Net providers and caching APIs to store and retrieve
data from the cache. It requires minimal configuration/code changes for its implementation. Further, it
only requires developers to update the cache size and region in the Windows Azure Portal. The rest of
the management and provision process is taken care of by the caching service.
AppFabric Caching service ensures proper security of the cached data based on the ACS tokens. This
becomes more important considering the multi-tenancy model of the Windows Azure Platform. The
cache is distributed among multiple servers so as to ensure minimal data loss, but overall, the cache
is represented as a single, unified, highly scalable and reliable distributed in-memory caching service.
Hence, it could be concluded that AppFabric Caching service has made distributed caching a lot easier
for developers and IT professionals.
YASH-MS-Azure-WP-1217
© 2017 YASH Technologies. All rights reserved. Referred products/ services may be registered trademarks of belonging companies.
About YASH Technologies
YASH Technologies focuses on customer success. As a leading technology services and outsourcing partner for large and fast growing
global customers, the company leverages technology and flexible business models to drive innovation and value throughout its customer’s
enterprise. YASH customer centric engagement and delivery framework integrates specialized domain and consulting capabilities with
proprietary methodologies and solution offerings to provision application, infrastructure and end user focused Right-Sourcing services.
YASH is a SEI CMMI (Level 5) and an ISO 9001:2015 certified company with U.S. and India headquarters and regional sales and development
offices globally with customers spread across 6 continents.
.
YASH Technologies Global Presence	 www.yash.com/contactus
AMERICAS | EUROPE | APAC | MEA
World HQ: 605-17th Avenue East Moline IL 61244 USA | Toll Free: 877-766-8934 | Tel: 309-755-0433 | Fax: 309-796-1242
For more information contact YASH today at info@yash.com or visit www.yash.com
References
•	 http://msdn.microsoft.com/en-us/magazine/gg983488.aspx
•	 http://www.windowsazure.com/en-us/home/tour/caching/

More Related Content

What's hot

SoftNAS Cloud NAS Architecture on AWS whitepaper
SoftNAS Cloud NAS Architecture on AWS whitepaperSoftNAS Cloud NAS Architecture on AWS whitepaper
SoftNAS Cloud NAS Architecture on AWS whitepaperMH Riad
 
SoftNAS Architecture on AWS
SoftNAS Architecture on AWSSoftNAS Architecture on AWS
SoftNAS Architecture on AWSBuurst
 
Azure Nights Melbourne July 2017 Meetup
Azure Nights Melbourne July 2017 MeetupAzure Nights Melbourne July 2017 Meetup
Azure Nights Melbourne July 2017 MeetupMichael Frank
 
Azure SQL Database
Azure SQL Database Azure SQL Database
Azure SQL Database nj-azure
 
Disaster Recovery Planning using Azure Site Recovery
Disaster Recovery Planning using Azure Site RecoveryDisaster Recovery Planning using Azure Site Recovery
Disaster Recovery Planning using Azure Site RecoveryNitin Agarwal
 
Azure deployments and ARM templates
Azure deployments and ARM templatesAzure deployments and ARM templates
Azure deployments and ARM templatesgjuljo
 
IEEE KUET SPAC presentation
IEEE KUET SPAC  presentationIEEE KUET SPAC  presentation
IEEE KUET SPAC presentationahsanmm
 
Azure applications performance checklist
Azure applications performance checklistAzure applications performance checklist
Azure applications performance checklistSalim M Bhonhariya
 
AZ-104 Questions Answers Dumps
AZ-104 Questions Answers DumpsAZ-104 Questions Answers Dumps
AZ-104 Questions Answers DumpsStudy Material
 
Understanding Migration Paths to Azure webinar 18 oct
Understanding Migration Paths to Azure webinar 18 octUnderstanding Migration Paths to Azure webinar 18 oct
Understanding Migration Paths to Azure webinar 18 octNew Horizons Ireland
 
Citrix StoreFront - Implementation Guide
Citrix StoreFront - Implementation GuideCitrix StoreFront - Implementation Guide
Citrix StoreFront - Implementation GuideNuno Alves
 
[Toroman/Kranjac] Red Team vs. Blue Team in Microsoft Cloud
[Toroman/Kranjac] Red Team vs. Blue Team in Microsoft Cloud[Toroman/Kranjac] Red Team vs. Blue Team in Microsoft Cloud
[Toroman/Kranjac] Red Team vs. Blue Team in Microsoft CloudEuropean Collaboration Summit
 
More Cache for Less Cash
More Cache for Less CashMore Cache for Less Cash
More Cache for Less CashMichael Collier
 
AWS Study Group - Chapter 01 - Introducing AWS [Solution Architect Associate ...
AWS Study Group - Chapter 01 - Introducing AWS [Solution Architect Associate ...AWS Study Group - Chapter 01 - Introducing AWS [Solution Architect Associate ...
AWS Study Group - Chapter 01 - Introducing AWS [Solution Architect Associate ...QCloudMentor
 
Cloudformation & VPC, EC2, RDS
Cloudformation & VPC, EC2, RDSCloudformation & VPC, EC2, RDS
Cloudformation & VPC, EC2, RDSCan Abacıgil
 
Secure Hadoop clusters on Windows platform
Secure Hadoop clusters on Windows platformSecure Hadoop clusters on Windows platform
Secure Hadoop clusters on Windows platformRemus Rusanu
 
Amazon WorkSpaces - Fully Managed Desktops in the Cloud
Amazon WorkSpaces - Fully Managed Desktops in the Cloud Amazon WorkSpaces - Fully Managed Desktops in the Cloud
Amazon WorkSpaces - Fully Managed Desktops in the Cloud Amazon Web Services
 
Windows azure camp - Kolkata
Windows azure camp - KolkataWindows azure camp - Kolkata
Windows azure camp - KolkataAbhijit Jana
 
Ahsay Backup Software version 7
Ahsay Backup Software version 7Ahsay Backup Software version 7
Ahsay Backup Software version 7Ronnie Chan
 

What's hot (20)

SoftNAS Cloud NAS Architecture on AWS whitepaper
SoftNAS Cloud NAS Architecture on AWS whitepaperSoftNAS Cloud NAS Architecture on AWS whitepaper
SoftNAS Cloud NAS Architecture on AWS whitepaper
 
SoftNAS Architecture on AWS
SoftNAS Architecture on AWSSoftNAS Architecture on AWS
SoftNAS Architecture on AWS
 
Azure Nights Melbourne July 2017 Meetup
Azure Nights Melbourne July 2017 MeetupAzure Nights Melbourne July 2017 Meetup
Azure Nights Melbourne July 2017 Meetup
 
Azure SQL Database
Azure SQL Database Azure SQL Database
Azure SQL Database
 
Disaster Recovery Planning using Azure Site Recovery
Disaster Recovery Planning using Azure Site RecoveryDisaster Recovery Planning using Azure Site Recovery
Disaster Recovery Planning using Azure Site Recovery
 
Azure deployments and ARM templates
Azure deployments and ARM templatesAzure deployments and ARM templates
Azure deployments and ARM templates
 
IEEE KUET SPAC presentation
IEEE KUET SPAC  presentationIEEE KUET SPAC  presentation
IEEE KUET SPAC presentation
 
Azure applications performance checklist
Azure applications performance checklistAzure applications performance checklist
Azure applications performance checklist
 
AZ-104 Questions Answers Dumps
AZ-104 Questions Answers DumpsAZ-104 Questions Answers Dumps
AZ-104 Questions Answers Dumps
 
Understanding Migration Paths to Azure webinar 18 oct
Understanding Migration Paths to Azure webinar 18 octUnderstanding Migration Paths to Azure webinar 18 oct
Understanding Migration Paths to Azure webinar 18 oct
 
Citrix StoreFront - Implementation Guide
Citrix StoreFront - Implementation GuideCitrix StoreFront - Implementation Guide
Citrix StoreFront - Implementation Guide
 
[Toroman/Kranjac] Red Team vs. Blue Team in Microsoft Cloud
[Toroman/Kranjac] Red Team vs. Blue Team in Microsoft Cloud[Toroman/Kranjac] Red Team vs. Blue Team in Microsoft Cloud
[Toroman/Kranjac] Red Team vs. Blue Team in Microsoft Cloud
 
Azure hands on lab
Azure hands on labAzure hands on lab
Azure hands on lab
 
More Cache for Less Cash
More Cache for Less CashMore Cache for Less Cash
More Cache for Less Cash
 
AWS Study Group - Chapter 01 - Introducing AWS [Solution Architect Associate ...
AWS Study Group - Chapter 01 - Introducing AWS [Solution Architect Associate ...AWS Study Group - Chapter 01 - Introducing AWS [Solution Architect Associate ...
AWS Study Group - Chapter 01 - Introducing AWS [Solution Architect Associate ...
 
Cloudformation & VPC, EC2, RDS
Cloudformation & VPC, EC2, RDSCloudformation & VPC, EC2, RDS
Cloudformation & VPC, EC2, RDS
 
Secure Hadoop clusters on Windows platform
Secure Hadoop clusters on Windows platformSecure Hadoop clusters on Windows platform
Secure Hadoop clusters on Windows platform
 
Amazon WorkSpaces - Fully Managed Desktops in the Cloud
Amazon WorkSpaces - Fully Managed Desktops in the Cloud Amazon WorkSpaces - Fully Managed Desktops in the Cloud
Amazon WorkSpaces - Fully Managed Desktops in the Cloud
 
Windows azure camp - Kolkata
Windows azure camp - KolkataWindows azure camp - Kolkata
Windows azure camp - Kolkata
 
Ahsay Backup Software version 7
Ahsay Backup Software version 7Ahsay Backup Software version 7
Ahsay Backup Software version 7
 

Similar to Distributed Caching Using Windows Azure AppFabric

Introducing windows server_app_fabric
Introducing windows server_app_fabricIntroducing windows server_app_fabric
Introducing windows server_app_fabricMarco Titta
 
Building High Performance and Scalable Applications Using AppFabric Cache- Im...
Building High Performance and Scalable Applications Using AppFabric Cache- Im...Building High Performance and Scalable Applications Using AppFabric Cache- Im...
Building High Performance and Scalable Applications Using AppFabric Cache- Im...Impetus Technologies
 
Azure Day 2.pptx
Azure Day 2.pptxAzure Day 2.pptx
Azure Day 2.pptxmasbulosoke
 
Azure Fundamentals Part 2
Azure Fundamentals Part 2Azure Fundamentals Part 2
Azure Fundamentals Part 2CCG
 
Case study on Cloud Platforms
Case study on Cloud PlatformsCase study on Cloud Platforms
Case study on Cloud Platformsnik_053
 
Azure_DP_300_Vocabulary_Cards.pptx
Azure_DP_300_Vocabulary_Cards.pptxAzure_DP_300_Vocabulary_Cards.pptx
Azure_DP_300_Vocabulary_Cards.pptxKareemBullard1
 
Azure News Slides for October2017 - Azure Nights User Group
Azure News Slides for October2017 - Azure Nights User GroupAzure News Slides for October2017 - Azure Nights User Group
Azure News Slides for October2017 - Azure Nights User GroupMichael Frank
 
Module 06_Cloud Backup and Solutions.pptx
Module 06_Cloud Backup and Solutions.pptxModule 06_Cloud Backup and Solutions.pptx
Module 06_Cloud Backup and Solutions.pptxSproohaAthalye
 
Microsoft Azure Offerings and New Services
Microsoft Azure Offerings and New Services Microsoft Azure Offerings and New Services
Microsoft Azure Offerings and New Services Mohamed Tawfik
 
Introduction to Azure
Introduction to AzureIntroduction to Azure
Introduction to AzureRobert Crane
 
AZ-900 Azure Fundamentals.pdf
AZ-900 Azure Fundamentals.pdfAZ-900 Azure Fundamentals.pdf
AZ-900 Azure Fundamentals.pdfssuser5813861
 
BlueData EPIC on AWS - Spec Sheet
BlueData EPIC on AWS - Spec SheetBlueData EPIC on AWS - Spec Sheet
BlueData EPIC on AWS - Spec SheetBlueData, Inc.
 
Introduction to the world of Cloud Computing & Microsoft Azure.pptx
Introduction to the world of Cloud Computing & Microsoft Azure.pptxIntroduction to the world of Cloud Computing & Microsoft Azure.pptx
Introduction to the world of Cloud Computing & Microsoft Azure.pptxPrazolBista
 
Azure-Interview-Questions-Slides.pptx
Azure-Interview-Questions-Slides.pptxAzure-Interview-Questions-Slides.pptx
Azure-Interview-Questions-Slides.pptxKareemBullard1
 
Aws interview questions and answers
Aws interview questions and answersAws interview questions and answers
Aws interview questions and answerskavinilavuG
 
Aws web-hosting-best-practices
Aws web-hosting-best-practicesAws web-hosting-best-practices
Aws web-hosting-best-practicessaifam
 
DEVELOPING APPLICATION FOR CLOUD – A PROGRAMMER’S PERSPECTIVE
DEVELOPING APPLICATION FOR CLOUD – A PROGRAMMER’S PERSPECTIVEDEVELOPING APPLICATION FOR CLOUD – A PROGRAMMER’S PERSPECTIVE
DEVELOPING APPLICATION FOR CLOUD – A PROGRAMMER’S PERSPECTIVEcscpconf
 

Similar to Distributed Caching Using Windows Azure AppFabric (20)

Introducing windows server_app_fabric
Introducing windows server_app_fabricIntroducing windows server_app_fabric
Introducing windows server_app_fabric
 
Building High Performance and Scalable Applications Using AppFabric Cache- Im...
Building High Performance and Scalable Applications Using AppFabric Cache- Im...Building High Performance and Scalable Applications Using AppFabric Cache- Im...
Building High Performance and Scalable Applications Using AppFabric Cache- Im...
 
Azure Day 2.pptx
Azure Day 2.pptxAzure Day 2.pptx
Azure Day 2.pptx
 
Azure Fundamentals Part 2
Azure Fundamentals Part 2Azure Fundamentals Part 2
Azure Fundamentals Part 2
 
Case study on Cloud Platforms
Case study on Cloud PlatformsCase study on Cloud Platforms
Case study on Cloud Platforms
 
Azure_DP_300_Vocabulary_Cards.pptx
Azure_DP_300_Vocabulary_Cards.pptxAzure_DP_300_Vocabulary_Cards.pptx
Azure_DP_300_Vocabulary_Cards.pptx
 
Azure diario de abordo
Azure diario de abordoAzure diario de abordo
Azure diario de abordo
 
Azure News Slides for October2017 - Azure Nights User Group
Azure News Slides for October2017 - Azure Nights User GroupAzure News Slides for October2017 - Azure Nights User Group
Azure News Slides for October2017 - Azure Nights User Group
 
Module 06_Cloud Backup and Solutions.pptx
Module 06_Cloud Backup and Solutions.pptxModule 06_Cloud Backup and Solutions.pptx
Module 06_Cloud Backup and Solutions.pptx
 
Microsoft Azure Offerings and New Services
Microsoft Azure Offerings and New Services Microsoft Azure Offerings and New Services
Microsoft Azure Offerings and New Services
 
Azure bootcamp (1)
Azure bootcamp (1)Azure bootcamp (1)
Azure bootcamp (1)
 
Introduction to Azure
Introduction to AzureIntroduction to Azure
Introduction to Azure
 
AZ-900 Azure Fundamentals.pdf
AZ-900 Azure Fundamentals.pdfAZ-900 Azure Fundamentals.pdf
AZ-900 Azure Fundamentals.pdf
 
BlueData EPIC on AWS - Spec Sheet
BlueData EPIC on AWS - Spec SheetBlueData EPIC on AWS - Spec Sheet
BlueData EPIC on AWS - Spec Sheet
 
Introduction to the world of Cloud Computing & Microsoft Azure.pptx
Introduction to the world of Cloud Computing & Microsoft Azure.pptxIntroduction to the world of Cloud Computing & Microsoft Azure.pptx
Introduction to the world of Cloud Computing & Microsoft Azure.pptx
 
Azure lessons
Azure lessonsAzure lessons
Azure lessons
 
Azure-Interview-Questions-Slides.pptx
Azure-Interview-Questions-Slides.pptxAzure-Interview-Questions-Slides.pptx
Azure-Interview-Questions-Slides.pptx
 
Aws interview questions and answers
Aws interview questions and answersAws interview questions and answers
Aws interview questions and answers
 
Aws web-hosting-best-practices
Aws web-hosting-best-practicesAws web-hosting-best-practices
Aws web-hosting-best-practices
 
DEVELOPING APPLICATION FOR CLOUD – A PROGRAMMER’S PERSPECTIVE
DEVELOPING APPLICATION FOR CLOUD – A PROGRAMMER’S PERSPECTIVEDEVELOPING APPLICATION FOR CLOUD – A PROGRAMMER’S PERSPECTIVE
DEVELOPING APPLICATION FOR CLOUD – A PROGRAMMER’S PERSPECTIVE
 

More from YASH Technologies

Enhancing customer experience through Digital Transformation
Enhancing customer experience through Digital TransformationEnhancing customer experience through Digital Transformation
Enhancing customer experience through Digital TransformationYASH Technologies
 
YASH Quality Management Technical White Paper
YASH Quality Management Technical White PaperYASH Quality Management Technical White Paper
YASH Quality Management Technical White PaperYASH Technologies
 
Robust SAP ERP implementation for automation of business processes for a Manu...
Robust SAP ERP implementation for automation of business processes for a Manu...Robust SAP ERP implementation for automation of business processes for a Manu...
Robust SAP ERP implementation for automation of business processes for a Manu...YASH Technologies
 
Enabled automated workflows and business processes
Enabled automated workflows and business processesEnabled automated workflows and business processes
Enabled automated workflows and business processesYASH Technologies
 
Cloud Computing Serverless Architecture
Cloud Computing Serverless ArchitectureCloud Computing Serverless Architecture
Cloud Computing Serverless ArchitectureYASH Technologies
 
Why is SAP PLM a fantasy for the SME’s?
Why is SAP PLM a fantasy for the SME’s?Why is SAP PLM a fantasy for the SME’s?
Why is SAP PLM a fantasy for the SME’s?YASH Technologies
 
Preference in SAP GTS for NET COST Method
Preference in SAP GTS for NET COST MethodPreference in SAP GTS for NET COST Method
Preference in SAP GTS for NET COST MethodYASH Technologies
 
Best ERP Testing Practices for Large Organizations
Best ERP Testing Practices for Large OrganizationsBest ERP Testing Practices for Large Organizations
Best ERP Testing Practices for Large OrganizationsYASH Technologies
 
Reducing the complexity of your Enterprise Packaged Application Automation Te...
Reducing the complexity of your Enterprise Packaged Application Automation Te...Reducing the complexity of your Enterprise Packaged Application Automation Te...
Reducing the complexity of your Enterprise Packaged Application Automation Te...YASH Technologies
 
A LEADING AGRONOMIC MACHINERY MANUFACTURER GETS EMPOWERED WITH ENTERPRISE-WID...
A LEADING AGRONOMIC MACHINERY MANUFACTURER GETS EMPOWERED WITH ENTERPRISE-WID...A LEADING AGRONOMIC MACHINERY MANUFACTURER GETS EMPOWERED WITH ENTERPRISE-WID...
A LEADING AGRONOMIC MACHINERY MANUFACTURER GETS EMPOWERED WITH ENTERPRISE-WID...YASH Technologies
 
YASH Services for SAP HANA Migration
YASH Services for SAP HANA MigrationYASH Services for SAP HANA Migration
YASH Services for SAP HANA MigrationYASH Technologies
 
YASH helped a large North American Railcar Manufacturer identify & retain hig...
YASH helped a large North American Railcar Manufacturer identify & retain hig...YASH helped a large North American Railcar Manufacturer identify & retain hig...
YASH helped a large North American Railcar Manufacturer identify & retain hig...YASH Technologies
 
Data Sciences & Analytics Discover the unknown power of the known
Data Sciences & Analytics Discover the unknown power of the knownData Sciences & Analytics Discover the unknown power of the known
Data Sciences & Analytics Discover the unknown power of the knownYASH Technologies
 
Enhanced Data Visualization provided for 200,000 Machines with OpenTSDB and C...
Enhanced Data Visualization provided for 200,000 Machines with OpenTSDB and C...Enhanced Data Visualization provided for 200,000 Machines with OpenTSDB and C...
Enhanced Data Visualization provided for 200,000 Machines with OpenTSDB and C...YASH Technologies
 
Proof of Concept: Adobe Analytics Live Stream on Amazon Web Services
Proof of Concept: Adobe Analytics Live Stream on Amazon Web ServicesProof of Concept: Adobe Analytics Live Stream on Amazon Web Services
Proof of Concept: Adobe Analytics Live Stream on Amazon Web ServicesYASH Technologies
 
AWS Managed Cloud Hosting and Services for SAP® Solutions
AWS Managed Cloud Hosting and Services for SAP® SolutionsAWS Managed Cloud Hosting and Services for SAP® Solutions
AWS Managed Cloud Hosting and Services for SAP® SolutionsYASH Technologies
 
Hero Future Energies Pvt. Ltd
Hero Future Energies Pvt. LtdHero Future Energies Pvt. Ltd
Hero Future Energies Pvt. LtdYASH Technologies
 
Xamarin Technical Assessment Against Native for Cross Platform Mobile Develop...
Xamarin Technical Assessment Against Native for Cross Platform Mobile Develop...Xamarin Technical Assessment Against Native for Cross Platform Mobile Develop...
Xamarin Technical Assessment Against Native for Cross Platform Mobile Develop...YASH Technologies
 

More from YASH Technologies (20)

Enhancing customer experience through Digital Transformation
Enhancing customer experience through Digital TransformationEnhancing customer experience through Digital Transformation
Enhancing customer experience through Digital Transformation
 
YASH Quality Management Technical White Paper
YASH Quality Management Technical White PaperYASH Quality Management Technical White Paper
YASH Quality Management Technical White Paper
 
Robust SAP ERP implementation for automation of business processes for a Manu...
Robust SAP ERP implementation for automation of business processes for a Manu...Robust SAP ERP implementation for automation of business processes for a Manu...
Robust SAP ERP implementation for automation of business processes for a Manu...
 
Enabled automated workflows and business processes
Enabled automated workflows and business processesEnabled automated workflows and business processes
Enabled automated workflows and business processes
 
Cloud Computing Serverless Architecture
Cloud Computing Serverless ArchitectureCloud Computing Serverless Architecture
Cloud Computing Serverless Architecture
 
Why is SAP PLM a fantasy for the SME’s?
Why is SAP PLM a fantasy for the SME’s?Why is SAP PLM a fantasy for the SME’s?
Why is SAP PLM a fantasy for the SME’s?
 
Preference in SAP GTS for NET COST Method
Preference in SAP GTS for NET COST MethodPreference in SAP GTS for NET COST Method
Preference in SAP GTS for NET COST Method
 
Best ERP Testing Practices for Large Organizations
Best ERP Testing Practices for Large OrganizationsBest ERP Testing Practices for Large Organizations
Best ERP Testing Practices for Large Organizations
 
Reducing the complexity of your Enterprise Packaged Application Automation Te...
Reducing the complexity of your Enterprise Packaged Application Automation Te...Reducing the complexity of your Enterprise Packaged Application Automation Te...
Reducing the complexity of your Enterprise Packaged Application Automation Te...
 
A LEADING AGRONOMIC MACHINERY MANUFACTURER GETS EMPOWERED WITH ENTERPRISE-WID...
A LEADING AGRONOMIC MACHINERY MANUFACTURER GETS EMPOWERED WITH ENTERPRISE-WID...A LEADING AGRONOMIC MACHINERY MANUFACTURER GETS EMPOWERED WITH ENTERPRISE-WID...
A LEADING AGRONOMIC MACHINERY MANUFACTURER GETS EMPOWERED WITH ENTERPRISE-WID...
 
YASH Services for SAP HANA Migration
YASH Services for SAP HANA MigrationYASH Services for SAP HANA Migration
YASH Services for SAP HANA Migration
 
YASH helped a large North American Railcar Manufacturer identify & retain hig...
YASH helped a large North American Railcar Manufacturer identify & retain hig...YASH helped a large North American Railcar Manufacturer identify & retain hig...
YASH helped a large North American Railcar Manufacturer identify & retain hig...
 
Data Sciences & Analytics Discover the unknown power of the known
Data Sciences & Analytics Discover the unknown power of the knownData Sciences & Analytics Discover the unknown power of the known
Data Sciences & Analytics Discover the unknown power of the known
 
YASH Cloud Services
YASH Cloud ServicesYASH Cloud Services
YASH Cloud Services
 
Enhanced Data Visualization provided for 200,000 Machines with OpenTSDB and C...
Enhanced Data Visualization provided for 200,000 Machines with OpenTSDB and C...Enhanced Data Visualization provided for 200,000 Machines with OpenTSDB and C...
Enhanced Data Visualization provided for 200,000 Machines with OpenTSDB and C...
 
Proof of Concept: Adobe Analytics Live Stream on Amazon Web Services
Proof of Concept: Adobe Analytics Live Stream on Amazon Web ServicesProof of Concept: Adobe Analytics Live Stream on Amazon Web Services
Proof of Concept: Adobe Analytics Live Stream on Amazon Web Services
 
AWS Managed Cloud Hosting and Services for SAP® Solutions
AWS Managed Cloud Hosting and Services for SAP® SolutionsAWS Managed Cloud Hosting and Services for SAP® Solutions
AWS Managed Cloud Hosting and Services for SAP® Solutions
 
Big Data Services at YASH
Big Data Services at YASHBig Data Services at YASH
Big Data Services at YASH
 
Hero Future Energies Pvt. Ltd
Hero Future Energies Pvt. LtdHero Future Energies Pvt. Ltd
Hero Future Energies Pvt. Ltd
 
Xamarin Technical Assessment Against Native for Cross Platform Mobile Develop...
Xamarin Technical Assessment Against Native for Cross Platform Mobile Develop...Xamarin Technical Assessment Against Native for Cross Platform Mobile Develop...
Xamarin Technical Assessment Against Native for Cross Platform Mobile Develop...
 

Recently uploaded

Not a Kubernetes fan? The state of PaaS in 2024
Not a Kubernetes fan? The state of PaaS in 2024Not a Kubernetes fan? The state of PaaS in 2024
Not a Kubernetes fan? The state of PaaS in 2024Anthony Dahanne
 
Simplifying Microservices & Apps - The art of effortless development - Meetup...
Simplifying Microservices & Apps - The art of effortless development - Meetup...Simplifying Microservices & Apps - The art of effortless development - Meetup...
Simplifying Microservices & Apps - The art of effortless development - Meetup...Rob Geurden
 
Salesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZSalesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZABSYZ Inc
 
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Cizo Technology Services
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanyChristoph Pohl
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...Technogeeks
 
2024 DevNexus Patterns for Resiliency: Shuffle shards
2024 DevNexus Patterns for Resiliency: Shuffle shards2024 DevNexus Patterns for Resiliency: Shuffle shards
2024 DevNexus Patterns for Resiliency: Shuffle shardsChristopher Curtin
 
Powering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsPowering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsSafe Software
 
VK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web DevelopmentVK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web Developmentvyaparkranti
 
OpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full Recording
OpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full RecordingOpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full Recording
OpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full RecordingShane Coughlan
 
Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...
Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...
Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...OnePlan Solutions
 
Odoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 EnterpriseOdoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 Enterprisepreethippts
 
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdfExploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdfkalichargn70th171
 
Amazon Bedrock in Action - presentation of the Bedrock's capabilities
Amazon Bedrock in Action - presentation of the Bedrock's capabilitiesAmazon Bedrock in Action - presentation of the Bedrock's capabilities
Amazon Bedrock in Action - presentation of the Bedrock's capabilitiesKrzysztofKkol1
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtimeandrehoraa
 
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...OnePlan Solutions
 
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptx
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptxReal-time Tracking and Monitoring with Cargo Cloud Solutions.pptx
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptxRTS corp
 
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Matt Ray
 
The Role of IoT and Sensor Technology in Cargo Cloud Solutions.pptx
The Role of IoT and Sensor Technology in Cargo Cloud Solutions.pptxThe Role of IoT and Sensor Technology in Cargo Cloud Solutions.pptx
The Role of IoT and Sensor Technology in Cargo Cloud Solutions.pptxRTS corp
 
A healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfA healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfMarharyta Nedzelska
 

Recently uploaded (20)

Not a Kubernetes fan? The state of PaaS in 2024
Not a Kubernetes fan? The state of PaaS in 2024Not a Kubernetes fan? The state of PaaS in 2024
Not a Kubernetes fan? The state of PaaS in 2024
 
Simplifying Microservices & Apps - The art of effortless development - Meetup...
Simplifying Microservices & Apps - The art of effortless development - Meetup...Simplifying Microservices & Apps - The art of effortless development - Meetup...
Simplifying Microservices & Apps - The art of effortless development - Meetup...
 
Salesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZSalesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZ
 
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...
 
2024 DevNexus Patterns for Resiliency: Shuffle shards
2024 DevNexus Patterns for Resiliency: Shuffle shards2024 DevNexus Patterns for Resiliency: Shuffle shards
2024 DevNexus Patterns for Resiliency: Shuffle shards
 
Powering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsPowering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data Streams
 
VK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web DevelopmentVK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web Development
 
OpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full Recording
OpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full RecordingOpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full Recording
OpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full Recording
 
Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...
Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...
Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...
 
Odoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 EnterpriseOdoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 Enterprise
 
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdfExploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
 
Amazon Bedrock in Action - presentation of the Bedrock's capabilities
Amazon Bedrock in Action - presentation of the Bedrock's capabilitiesAmazon Bedrock in Action - presentation of the Bedrock's capabilities
Amazon Bedrock in Action - presentation of the Bedrock's capabilities
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtime
 
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
 
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptx
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptxReal-time Tracking and Monitoring with Cargo Cloud Solutions.pptx
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptx
 
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
 
The Role of IoT and Sensor Technology in Cargo Cloud Solutions.pptx
The Role of IoT and Sensor Technology in Cargo Cloud Solutions.pptxThe Role of IoT and Sensor Technology in Cargo Cloud Solutions.pptx
The Role of IoT and Sensor Technology in Cargo Cloud Solutions.pptx
 
A healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfA healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdf
 

Distributed Caching Using Windows Azure AppFabric

  • 1. Distributed Caching Using Windows Azure AppFabric. . Technical White Paper
  • 2. Introduction …………………………………………………………………................. What is Distributed Caching? ............................................................... What is Windows Azure AppFabric Caching? ................................ Windows Azure AppFabric Caching...................................................... Under the hood ……………………………………………………………........... Cache-aside pattern ………………………………………………………......... Security………………………………………………………………………............... Real-World Scenarios for using AppFabric Caching..................... Conclusion ………………………………………………………………….................... References…………………………………………………………………..................... About YASH ……………………………………………………………….................... Contents
  • 3. Introduction Caching has always been an integral part of any data-driven web application from the times of traditional computing. Caching is a process where data is stored in a component to be accessed in the future much faster. It has always been a stand-alone mechanism from the very beginning. And, since applications are highly scalable now and could span across multiple servers and multiple processors within each server, independent caching techniques are not the most desired solution for performance optimization. What is Distributed Caching? In the world of highly scalable and high-performance applications, there comes the concept of distributed caching which makes caching highly scalable by spanning across multiple servers. In other words, it is a form of caching where the caching techniques are applied over a set of distributed servers, still giving a logical representation of a single cache. With the recent advancement in technology and fall in hardware prices, distributed caching has been the best caching solution in the market today. One of the distributed caching solutions readily available in the market is Windows Azure AppFabric Caching service. Distributed caching could be used for storing application data, session state data, resource data, etc. which may be required by the application at regular intervals. A distributed cache maintains a copy of this data in a temporary store which is meant to store the data for a particular time frame ranging from a few minutes to a few hours or few days. Windows Azure AppFabric Caching What is Windows Azure AppFabric Caching? Windows Azure AppFabric Caching is a distributed, in-memory, application cache service for different cloud-based applications. Since the cache is maintained in-memory, it allows the application high-speed access to the highly scalable data. It is a managed service that is operated by Microsoft and has 99.9% monthly SLA. The Caching service is built upon the core design principles of Speed and Scalability. In a nutshell, it provides a highly scalable in-memory cache which could be utilized by an application to improve its performance and throughput by avoiding unnecessary round trips to the databases/ storage. The caching service forms a part of PaaS offering from Microsoft, Windows Azure platform. It allows a reduction in latency and delivers great application performance anywhere in the world. It supports the following capabilities: Further, the cache could be accessed via multiple machines at same time. Alternatively, a local cache could be created at each client machine by making minimal configuration changes. This eliminates the network latency since the cached data is copied to the local client machines. Caching service presents a simple, easy-to-use and cost- effective distributed caching solution. It can be implemented with minimal configuration changes for ASP.Net providers or minimal code changes to retrieve as well as store data from the cache via exposed APIs. Being a part of Microsoft’s cloud offering, Caching Service brings along all the benefits of using the cloud. The most convincing is that it is based on a “Pay as you Use” model. You are billed for the amount of the cache that you have consumed. • High Security: Caching service uses security tokens from the Access control service for secured access and authorization. • Web applications acceleration: Caching service provides pre-built ASP.Net providers for Session state and page output caching. Hence, no modification is required in the application code for using Caching service apart from a few configuration changes. • Consistent development model: Windows Azure AppFabric Caching service is built on the same underlying technology platform as Windows Server AppFabric Caching. It is designed to support automatic provisioning and management of the cache in Windows Azure. • High Scalability: The size of the cache could be increased or decreased by simply modifying the configuration. • High Manageability: Developers just need to specify the cache size and geographical region. The rest of the provisioning and cache management process is taken care of by the caching service internally. • High Flexibility: Caching service could be used to store any type of managed object data including CLR objects, Binary data and XML data.
  • 4. Windows Azure AppFabric Caching Windows Azure AppFabric Caching service is a highly scalable in-memory cache service running in Microsoft’s cloud. It involves the following three main components for using caching service in a data driven application: Services • Caching Service: Caching service is a virtual pool of partitioned and shared memory that can be consumed. It exposes a secure Windows Communication Foundation (WCF) endpoint to talk to and an explicit highly scalable cache. It also exposes various cache APIs which could be called from a cache client to store and retrieve data from the cache. It automatically partitions the data stored in the cache so as to reduce the data- loss probability. • Cache Client: It is a part of the application that acts as a proxy for the caching service. It knows how to talk to the caching service and it may or may not use the Service’s cache APIs to store and retrieve data from the cache. If the session data has to be stored in the cache, then the pre-built ASP.Net provider can be used. Else, data could be stored and fetched using the Cache APIs exposed by caching service. • Connection between the Client and the Service: The communication between the caching service and the cache client takes place based on the WCF protocol which provides a highly secure communication channel. A security token from AppFabric Access Control is used for authorization purposes and this token is used by the caching service to restrict access to the cached data. These three components adds to the simplicity of AppFabric cache and makes it easy-to use. Developers just need to utilise the caching service either using the pre-built ASP.Net provider or through cache APIs. Under the hood Internally, whenever AppFabric Cache is provisioned in the Windows Azure Data centre, it allocates a collection of cache servers which combine with each other to give a representation of a single unified in-memory cache system. For example, if a cache of size 1 GB is configured, then Windows Azure blocks memory of the specified size divided in a number of servers each forming a part of the primary cache. This is helpful whenever there is a server crash due to hardware or any other possible reason. Since the cache is divided and provisioned in multiple servers, if one of the servers crashes, then the data loss is limited to a particular portion of the cache. As soon as a server crashes, Windows Azure automatically allocates appropriate memory in another cache server to the user. Hence, user applications can work with a single in-memory cache regardless of how many cache servers are used for provisioning of the cache. This can be depicted in the following figure which highlights how AppFabric cache is provisioned. Here, cache is spread out across multiple servers (depending on the size of the cache) and the user applications still access the cache as a single in-memory cache.
  • 5. Cache-aside pattern AppFabric Cache supports the cache-aside pattern for development purposes. This pattern specifies the following steps for storing and fetching data from the cache: Hence, the cache is updated over time as the instances of the application requests for the data. Further, AppFabric cache supports different features including configuring the time frame for which data should reside in the cache. It should be noted that the cache-aside pattern doesn’t allows the pre-population of data in the cache. Security Windows Azure AppFabric Caching Service works closely with the Windows Azure AppFabric Access Control Service (ACS) for defining the security that is used to access the cache. In other words, the authentication for accessing the stored data is based on ACS. Caching service authenticates applications based on ACS token. This means that applications without having ACS token are not allowed to access any data in the cache, and once application produces ACS token, it is matched for authentication and accordingly the access is granted to the data stored in the cache. This security information necessary to connect to the cache is provided at the time of provisioning itself. By using ACS for security of the data, Azure AppFabric Caching service ensures that the data is fetched by only authenticated users/applications. As discussed earlier, the cache is spread across multiple servers and by design, Azure AppFabric caching supports multitenancy which supports sharing of resources between multiple users/applications. So, to ensure reliability and security of cached data, AppFabric caching service makes use of ACS tokens. This way, applications can access only the data attached to a particular ACS token. This ensures that no data hacking takes place between different caches in Windows Azure data centres. Security being an important aspect of any data driven application, Microsoft has ensured that the cached data is exposed to only authenticated users/applications based on Access Control Service which is a highly secure and reliable mechanism based on federated services. Real-World Scenarios for using AppFabric Caching The caching service is a simple, easy-to-use, highly flexible service and could be used to store any type of managed objects. Some common data types include the following: In simplest terms, any managed data type which is serializable can be stored in Windows Azure AppFabric cache. Reference Data The data which is frequently changed and read by an application can be loaded into the cache and application can access this data from the cache rather than the original application database or other storage type. This result in improved performance coupled with increased scalability. For example, data representing a product catalogue or a country list or stock tickers. This includes an application’s resource data which is not user session specific and could be shared across the complete application. For example, data representing product inventories. Shared Data The data which is specific to a user session or a particular activity can be stored in cache. Caching service provides pre- built ASP.Net session state providers which could be used to store session state in a in- memory cache provided by the caching service. Activity-oriented Data • Whenever data is looked up in cache, first of all, it is determined if the data exists in the cache. • If data exists in the cache, it is returned to the user application. • If data does not exist in the cache, then the original data source is queried to fetch the required data. Once the data is fetched, the cache is loaded with the data and the data is then returned to the user application.
  • 6. Conclusion Windows Azure AppFabric Caching service forms a part of the comprehensive middleware services provided by Microsoft as a part of its PaaS offering, Windows Azure Platform. AppFabric caching service provides a highly scalable, secure, easy to use, cost effective solution for all distributed caching needs. AppFabric caching service provides pre-built ASP.Net providers and caching APIs to store and retrieve data from the cache. It requires minimal configuration/code changes for its implementation. Further, it only requires developers to update the cache size and region in the Windows Azure Portal. The rest of the management and provision process is taken care of by the caching service. AppFabric Caching service ensures proper security of the cached data based on the ACS tokens. This becomes more important considering the multi-tenancy model of the Windows Azure Platform. The cache is distributed among multiple servers so as to ensure minimal data loss, but overall, the cache is represented as a single, unified, highly scalable and reliable distributed in-memory caching service. Hence, it could be concluded that AppFabric Caching service has made distributed caching a lot easier for developers and IT professionals. YASH-MS-Azure-WP-1217 © 2017 YASH Technologies. All rights reserved. Referred products/ services may be registered trademarks of belonging companies. About YASH Technologies YASH Technologies focuses on customer success. As a leading technology services and outsourcing partner for large and fast growing global customers, the company leverages technology and flexible business models to drive innovation and value throughout its customer’s enterprise. YASH customer centric engagement and delivery framework integrates specialized domain and consulting capabilities with proprietary methodologies and solution offerings to provision application, infrastructure and end user focused Right-Sourcing services. YASH is a SEI CMMI (Level 5) and an ISO 9001:2015 certified company with U.S. and India headquarters and regional sales and development offices globally with customers spread across 6 continents. . YASH Technologies Global Presence www.yash.com/contactus AMERICAS | EUROPE | APAC | MEA World HQ: 605-17th Avenue East Moline IL 61244 USA | Toll Free: 877-766-8934 | Tel: 309-755-0433 | Fax: 309-796-1242 For more information contact YASH today at info@yash.com or visit www.yash.com References • http://msdn.microsoft.com/en-us/magazine/gg983488.aspx • http://www.windowsazure.com/en-us/home/tour/caching/