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

Setting up read through — write behind

Windows Server AppFabric version 1.0 only supported "cache-aside" programming pattern. As we have seen in Chapter 2, Getting Started with AppFabric Caching (under the recipe called Programming AppFabric Cache Client), with a cache-aside pattern, developers are responsible for doing custom implementations to ensure cache item availability as well as backend consistency in the face of cache updates.

The good news is that with version 1.1, Windows Server AppFabric has added support for Read Through as well as the Write Behind scenarios:

  • Read Through: If the client calls a Get on DataCache object with the key that does not exist in the cache, it gets a null reference. In a cache-aside pattern it is the responsibility ...

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