Linux-based Web server performance testing

Source: Internet
Author: User
Tags openssl linux

The importance of Linux based Web server performance testing

Linux, as a free open source operating system, is becoming more and more important to people. With the advent of a stable Linux 2.4 kernel release date and the introduction of the Intel IA-64 architecture, Linux's share of the market for server operating systems continues to grow, and Linux based applications are becoming richer. In the Internet age, the most extensive market space of operating system is the Web server, it is the tens of thousands of Web servers all over the world that constitute the foundation of Internet Information resources, and the performance of Web server is directly related to people's utilization efficiency of information resources, It is therefore necessary to test the performance of the Web server.

Second, to run on the Linux platform of the Apache server as an example, talk about the performance test of Web server

Web server performance is not only related to the Web server software itself, but also to the server hardware design level and the server operating system has a great relationship, so Web server performance testing is a comprehensive performance test. In the global Web server Software market, Apache server accounts for more than 60% of the market share. Here's how to test the performance of a Web server as an example of an Apache server running on a Linux platform.

1.Web Server Performance Testing tools

Web server performance testing tools are many, more famous for the WebStone and Webbench, although the two tools implement different methods, but the test metrics are the same, that is, testing the maximum number of requests per second response and data throughput.

2.Apache Server supports the configuration of SSL protocol

With the development of E-commerce, webBench2.0 also added a test set of E-commerce, which requires the Apache server to support SSL (Security Socket Layer). However, the Apache server does not provide effective SSL support by default, so if you want to use Webbench to test the e-business performance of the Apache server, you will need to reconfigure the Apache server to support SSL. The following is a Redhat linux6.1,apache1.3.9 for the platform to talk about the specific configuration method:

1) Download Apache1.3.9

(http://www.apache.org)

Openssl-0.9.5

(http://www.openssl.org)

mode-ssl-2.6.0

(http://www.modssl.org)

2) Decompression:

# tar ZXVF apache*.tgz

# tar ZXVF openssl*.tgz

# tar ZXVF modssl*.tgz

3 Change the directory of the Perl executable file

# Cd/openssl*/util

The #!/usr/local/bin/perl that starts with the perlpath.pl file is changed to the Perl directory in the operating system, which is #!/usr/bin/perl in Redhat Linux. Then run./perlpath.pl/usr/bin.

4) Compiling configuration

# CD openssl-0.9.x

# sh Config

-fpic

# make

# Make Test

# CD mod-ssl*

#./configure

--with-apache=/apache_1.3.12--with-ssl=/openssl-0.9.5

--prefix=/apache_1.3.12

# CD apache_1.3.12

# make

# Make Certificate

# make Install

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.