Examples of the use of AppFabric Caching services

Source: Internet
Author: User

AppFabric Caching Services: Speed of frequent access to information, such as ASP.net session data;

AppFabric Hosting Services: This makes it easier to run or manage a WCF-like service, especially a WCF service built on the workflow (WWF).

AppFabric Caching Services Application Scenario:

1. Using caching services in asp.net applications

The ASP.net application is the most important client for AppFabric Caching services, and the data in the ASP.net session object is a notable representation of the cache. In fact, AppFabric Caching Services provides this support, and developers only need to modify the configuration, and the session object will be transparently stored in the cache cluster. This is definitely good news, no need to change any of the existing ASP.net program's code, for distributed across multiple machines to do load balanced Web applications, no longer needs to write session to SQL Server or Third-party State services.

2. High-Availability caching applications

AppFabric Caching Services stores all the caches in memory, rather than on disk, and by default each cache object is on a machine that is cached to the cache cluster. AppFabric Caching Services provides high availability options to enable the data to be recoverable when a problem occurs with a machine in AppFabric Caching services, AppFabric Caching Services creates a copy of each cached object on another machine in the cluster. When a problem occurs on the server with the preferred caching service, the cached copy on the other machine is able to take over the job properly.

Use examples:

Http://msdn.microsoft.com/zh-cn/library/ff383406.aspx

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.