In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
1.webbench
Webbench can simulate up to 30, 000 concurrent connections to test the load capacity of the website, which feels better than the ab testing tool that comes with Apache, and is particularly convenient to install and use.
1.1 download and install
Wget http://home.tiscali.cz/cz210552/distfiles/webbench-1.5.tar.gztar xzvf webbench-1.5.tar.gzcd webbench-1.5make & & make install
1.2 Test
/ usr/local/biin/webbench-c 500-t 30 http://test.mytest.com/index.html#-c is the concurrency parameter, this example is 500 concurrency;-t is the time, in seconds, this example is 30 seconds.
1.3 Test results
Webbench-Simple Web Benchmark 1.5Copyright (c) Radim Kolar 1997-2004, GPL Open Source Software.Benchmarking: GET http://test.mytest.com/index.html500 clients, running 30 sec.Speed=276058 pages/min, 1559727 bytes/sec.Requests: 138029 susceed, 0 failed.
The following is a summary of the tests:
1. Stress testing should be put before the product is launched.
2. Try to cross the public network instead of the intranet during the test.
3. When testing, the concurrency should be gradually increased from small to small. For example, when the concurrency is 100, observe the load of the website, whether it is opened or not, what the concurrency is when 200, what is the concurrency when the website is slow to open, and how much is the concurrency when the website cannot be opened.
4. Unit testing should be carried out as far as possible, for example, B2C websites can focus on testing shopping carts, promotion pages and so on, because these pages account for a large proportion of the visits of the whole website.
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.