In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-17 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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.