In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
Capacity planning: solving the problem of machine expansion and when to expand capacity
The following examples are illustrated
First of all, get the basic data information of a machine (preferably through operation and maintenance):
For example, the server can support 1000 dynamic requests / s and static traffic 400MB/s.
Suppose the system has 960000 page refreshes per hour. By default, each page refresh contains 1-3 dynamic requests.
Estimated current number of requests: 960000 * 3600000800 / s
If the number of requests in the future is 10 times that of the present, that is, 800,10,000 / s
Estimate how many machines are needed: 8000 / 1000 = at least 8
It is estimated that there are about 50 static files (image js css, etc.) per page, and each file is about 40KB
Similarly, there are 960000 page refreshes per hour
Calculate the static file size per page: 50 * 40 = 2000KB
Calculate the traffic of 960000 page refreshes: 960000 * 2000KB / 1024 / 3600 = 520.83MB/s
520.83MB / s > 400MB/s, so one machine is not enough
If the future traffic peak may reach 5G/s
Estimate how many machines are needed: 5*1024MB / 400 = at least 13 machines
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.