Microsoft Web farm framework (WFF) 2.0 is a small plug-in developed by Microsoft Based on IIS 7.x. It can help us easily achieve high performance and high availability of Web websites. If you want to implement reverse proxy Based on IIS, using WFF is a good choice.
WFF can integrate multiple Web servers into the web farm for unified scheduling and management. The so-called web farm (Web farm and web farm) refers to the set of web servers where the same web application is deployed on different Web servers. We call it web farm.
WFF includes the current web-layer load balancing. Common functions are as follows:
- Web farm synchronization . Therefore, content can be synchronized on the Web farm Web server. Synchronization includes two parts: Application synchronization and platform synchronization.
- application synchronization . Applications can synchronize the content of Program of Web applications (files such as aspx, HTML, and config) automatic or manual synchronization is performed between multiple servers in the Web farm to ensure the consistency of all web application content within the web farm.
- platform synchronization . The platform content required for synchronizing Web applications (such as. Net 4.0 runtime, PHP, and ASP. net mvc ). This ensures intra-web farm consistency at the platform level.
- Server Load balancer . There are multiple Web servers in the Web farm. Which server will process the requests? This requires the WFF load balancing policy. By default, WFF provides several policies, such as Weighted Round Robin and weighted total traffic. Based on these policies, requests can be allocated.
- Monitoring and Management . WFF allows you to view the running status of the current web farm server, including: whether the Web server is healthy, how many requests are received, and the total traffic of each server. You can also test whether a server is running. In addition, we can temporarily disable a server so that requests will not be routed to the disabled server.
- cache . You can cache some of the content that has not changed much. There are two types of cache: memory cache and disk cache. Caching can reduce network traffic and improve response speed.
strictly speaking, these functions are not implemented by a WFF tool, but by a series of WFF-centered tools, including Microsoft Web farm framework (WFF), Web deployment tools (wdt), URL rewrite, application request route (ARR), external cache and other gadgets. These tools can be integrated into the web farm and used separately. A little more tools, but installation is not too troublesome. The WFF installation package will automatically help you download and install the tools it depends on. Currently, WFF 2.0 or beta is not too stable, but it is basically available. In the vience lab, WFF is adopted for managing the farm consisting of ten backend servers.