Book Image

Mastering Cloud Development using Microsoft Azure

Book Image

Mastering Cloud Development using Microsoft Azure

Overview of this book

Microsoft Azure is a cloud computing platform that supports many different programming languages, tools, and frameworks, including both Microsoft-specific and third-party software and systems. This book starts by helping you set up a professional development environments in the cloud and integrating them with your local environment to achieve improved efficiency. You will move on to create front-end and back-end services, and then build cross-platform applications using Azure. Next you’ll get to grips with advanced techniques used to analyze usage data and automate billing operations. Following on from that, you will gain knowledge of how you can extend your on-premise solution to the cloud and move data in a pipeline. In a nutshell, this book will show you how to build high-quality, end-to-end services using Microsoft Azure. By the end of this book, you will have the skillset needed to successfully set up, develop, and manage a full-stack Azure infrastructure.
Table of Contents (15 chapters)
Mastering Cloud Development using Microsoft Azure
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Preface
Index

Speeding up data access with caching and Azure Redis


Cloud computing brings costs that are explicit. Costs, at last, are monetary, as performance issues require services to size the requests upfront. However, the fact that we need to buy more resources does not mean that we can throw money away.

Accessing DocumentDB, for example, brings costs that are explicit. Every query result comes with a request charge that makes us aware of the real ability to answer parallel requests as demand increases. We can make a (sample) cost summary:

Service level

500RU

Sample request

12RU/request

Parallel requests (in theory)

500RU/(12RU/reqs)=41reqs

If many contemporary requests fulfill the 41 request-handling capacity of the service, subsequent requests will be throttled, and overall performance will decrease. This is true for all databases.

So, how can we handle more requests? We can make an assumption:

Many requests return the same data.

This is not unusual. How many times is a data grid refreshed and...