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 ...

Get Mastering Cloud Development using Microsoft Azure now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.