Building a simple cache for applications

Azure Cache is a managed service with (at the time of writing this book) the following three offerings:

  • Basic: This service has a unit size of 128 MB, up to 1 GB with one named cache (the default one)
  • Standard: This service has a unit size of 1 GB, up to 10 GB with 10 named caches and support for notifications
  • Premium: This service has a unit size of 5 GB, up to 150 GB with ten named caches, support for notifications, and high availability

    Tip

    Different offerings have different unit prices, and remember that when changing from one offering to another, all the cache data is lost. In all offerings, users can define the items' expiration.

The Cache service listens to a specific TCP port. Accessing it from a .NET ...

Get Microsoft Azure Development Cookbook Second Edition 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.