In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-11 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Web Garden is another concept introduced by IIS 6.0.In IIS 7.0, this concept is still valid. With this concept, multiple workers can be used to deal with the same application pool.
Web Garden can effectively improve system performance and has the following advantages:
(1) when a worker process is unable to complete other processing tasks because it is focused on something, other worker processes are still able to process new requests.
(2) the contention for resources is reduced. In normal operation, each new page request is assigned to a process in a set of work processes, and when assigned, we use polling to complete the assignment. This makes the workload of the worker process as smooth as possible.
Because a single application always runs on multiple processes after being segmented, the content shared in an application must be kept outside the process. For example, in a Web garden, session state does not work within a process because there are multiple copies of session state in a Web garden, and each process can read and write a session state and save the session state in a different session state store.
Some Web applications are more suitable for using Web Garden. The following is a best practice guide for using Web Garden:
(1) the Web application should not be an application that consumes a lot of CPU resources, because making a page request that consumes a lot of CPU compete for CPU resources with a request to visit the page for the first time will only lead to a lose-lose.
(2) if an application has a high synchronization latency, then this application is more suitable for Web Garden. For example, if an application invokes a Web service or accesses a remote database, causing the system to respond slowly, then with Web Garden, we can handle other requests while waiting for the long-running application to finish processing.
(3) each process has a memory burden and requires extra time to start. If there are too many such processes, it is easy to exhaust the resources of a server.
Although Web Garden and Web farm share some common features, Web Garden and Web farm are completely different concepts. Web Garden consists of multiple processes running in a single server that handle the same application pool, while Web farm consists of multiple servers that work together to provide high availability and scalability.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.