About web garden and web farms

Source: Internet
Author: User
I 've read many articles about Web garden and web farms , I can't find any information, but I can see some brief introduction!

IIS6 Web garden refers to an applicationProgramYou can execute multiple processes (w3wp.exe) and use one of them in one request. This is mainly used to improve the availability of the program. When an error occurs in one of the processes, other processes will not be affected. A process with an error can be disabled according to the rule, while other processes can continue to work. Unfortunately, not every application supports Web garden. For example, the one I did is not. Generally, the reason why Web garden is not supported is that the memory status of each application is different. Although it is to access the same website, when accessing the first process, if the process memory records some important information, and when accessing the second process, however, when you cannot obtain the information, the program may not be able to run normally or cause errors. Therefore, programs that use inproc httpsessionstate/httpapplicationstate/static variables to store key information do not support web garden. In addition, it is also related to the loss of session information. Generally, many programs use cache to store temporary data. However, if some modified or deleted data is not updated in the cache of the process, it will easily lead to program errors.

If your program uses the method described above and a strange error occurs in Windows2003/IIS6, check the Web garden settings.

If you want your application to support web garden or even clusters, the simplest way is to use cookies to record login information, and all data retrieval actions are read from the database. For example, duwamish is a program of this type.
If an application is not supported by web garden, it is more difficult to support clusters.
Http://blog.joycode.com/lostinet/archive/2005/02/02/44017.aspx

Web Garden Yes IIS6 . Google One, found Msdn About Web Garden English document ( Http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/659f2e2c-a58b-4770-833b-df96cabe569e.mspx? MFR = true ), Probably browsed At the same time, I got another term: Web farms .

Web Garden:IIS6 Web GardenA single application can be divided into multiple processes.(W3wp.exe). This is mainly used to improve the availability of the program. When an error occurs in one of the processes, other processes will not be affected. A process with an error can be disabled according to the rule, while other processes can continue to work. (Reference others, I have not figured out how to explain it .)

Web farms: There is very little information, but it means that most programs use this method (relativeWeb Garden).

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.