O'Reilly logo

Microsoft Windows Server AppFabric Cookbook by Hammad Rajjoub, Rick G. Garibay

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using AppFabric Cache via the ASP.NET provider model

Web applications and services are classic candidates for caching when it comes to maintaining application states, for example, keeping session state in-memory. This helps to keep frequently accessed data in memory and thus achieves the aim of overall performance gain. This holds true as long as we are talking about web applications deployed on a single node.

As soon as we start considering distributed architectures where web servers are clustered in a scale-out web farm scenario, things start to get interesting. More specifically for ASP.NET session state caching, when used in a clustered deployment presents a couple of subtle and interesting challenges:

  • Sticky sessions: Ensuring that a particular ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required