Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.622.417 Times

HTTPD::Bench::ApacheBench 0.63

  Date Added: January 18, 2010  |  Visits: 754

HTTPD::Bench::ApacheBench

Report Broken Link
Printer Friendly Version


Product Homepage
Download (91 downloads)



HTTPD::Bench::ApacheBench is a Perl API for Apache benchmarking and regression testing. SYNOPSIS use HTTPD::Bench::ApacheBench; my $b = HTTPD::Bench::ApacheBench->new; # global configuration $b->concurrency(5); $b->priority("run_priority"); # add HTTP request sequences (aka: runs) my $run1 = HTTPD::Bench::ApacheBench::Run->new ({ urls => ["http://localhost/one", "http://localhost/two"] }); $b->add_run($run1); my $run2 = HTTPD::Bench::ApacheBench::Run->new ({ urls => ["http://localhost/three", "http://localhost/four"], cookies => ["Login_Cookie=b3dcc9bac34b7e60;"], order => "depth_first", repeat => 10, memory => 2 }); $b->add_run($run2); # send HTTP request sequences to server and time responses my $ro = $b->execute; # calculate hits/sec print ((1000*$b->total_requests/$b->total_time)." req/secn"); # show request times (in ms) for $run1, 1st repetition print join(, , @{$run1->request_times}) . "n"; # show response times (in ms) for $run2, 7th repetition print join(, , @{$run2->iteration(6)->response_times}) . "n"; # dump the entire regression object (WARNING, this could be a LOT OF DATA) use Data::Dumper; my $d = Data::Dumper->new([$ro]); print $d->Dumpxs; GOALS This project is meant to be the foundation of a complete benchmarking and regression testing suite for an advanced, transaction-based mod_perl site. We need to be able to stress our server to its limit while also having a way to verify the HTTP responses for correctness. Since our site is transaction-based (as opposed to content-based), we needed to extend the single-URL ab model to a multiple-URL sequence model. ApacheBench is based on the Apache 1.3.12 ab code (src/support/ab.c). Note: although this tool was designed to be used on an Apache mod_perl site, it is generally applicable to any HTTP-compliant server. Beware, however, that it sends a high volume of HTTP requests in a very short period of time, which may overwhelm some weaker HTTP server implementations like NT/IIS. ApacheBench sends sequences of HTTP requests to an HTTP server and keeps track of the time taken to receive a response, the data that was returned, the size of the data that was returned, and various other bits of information. Since it is implemented in C, it sends HTTP requests in a tight loop which can stress your server to 100% capacity, especially if invoked in multiple concurrent instances. It gives accurate time measurements down to the millisecond for each HTTP request-response interval. Included is a simplified re-implementation of ab using the ApacheBench Perl API. This should help get you started with ApacheBench..

Requirements: No special requirements
Platforms: Linux
Keyword: Apache Apachebench Api Benchmarking Http Httpd Httpdbenchapachebench Libraries Perl Perl Api Programming Regression Server
Users rating: 0/10

License: Freeware Size: 64.51 KB
USER REVIEWS
More Reviews or Write Review


HTTPD::BENCH::APACHEBENCH RELATED
Installer/Uninstaller Tools  -  Apache Toolbox 1.5.72
Apache Toolbox provides a means to easily compile Apache with SSL, PHP (v4 or v3), MySQL, APC (Alternative PHP Cache), mod_auth_nds, mod_dynvhost, WebDAV, mod_fastcgi, mod_gzip, mod_layout, mod_throttle, mod_accessref, mod_auth_sys, mod_bandwidth,...
92.16 KB  
Libraries  -  HTTPD::GroupAdmin 1.66
HTTPD::GroupAdmin is a Perl module for the management of HTTP server group databases. SYNOPSIS use HTTPD::GroupAdmin (); This software is meant to provide a generic interface that hides the inconsistencies across HTTP server implementations...
112.64 KB  
Site Security Tools  -  HSLAB HTTP Monitor Lite 1.7.26
Real-time performance monitoring solution for Apache servers. With HSLAB HTTP Monitor, administrators always know who is currently connected, server operations distribution, amount of bandwidth being consumed, and number of server requests per...
1.62 MB  
Network & Internet  -  mod_put 1.0
mod_put Apache module implements the HTTP/1.1 PUT and DELETE methods. Please notice that it can be a big security hole to activate them without securing the web server. Configuration: Integration with Apache 1.3.x - compiling and linking To...
5.12 KB  
Network & Internet  -  mod_auth_tds 1.2
mod_auth_tds is an Open Source Apache module that does http basic authentication using (instead of the flat file that mod_auth uses) a TDS compliant database server somewhere on the network. TDS stands for Tabular Data Stream, which is the...
36.86 KB  
Programming  -  Apache::Constants 1.31
Server constants used by Apache modules are defined in httpd.h and other header files, the Apache::Constants module gives Perl access to those constants. SYNOPSIS use Apache::Constants; use Apache::Constants...
378.88 KB  
Network & Internet  -  Amazon API Search 1.0.0
Amazon API Search is the beginnings of a perl script to search Amazon. It interfaces with Amazons API interface and performs whatever search the user desires, it then parses the data returned and inserts it in to an MySQL table. Currently the...
2.05 KB  
Libraries  -  HTTP::WebTest::XMLParser 1.00
HTTP::WebTest::XMLParser is a Perl module to parse webscript in XML representation. SYNOPSIS use HTTP::WebTest::XMLParser; my ($tests, $opts) = HTTP::WebTest::XMLParser->parse($xmldata); use HTTP::WebTest; my $wt = new HTTP::WebTest;...
11.26 KB  
Development Tools  -  octopi - Ruby wrapper for GitHub v2 API 0.1.0
Octopi is a Ruby interface to GitHub API v2 (http://develop.github.com).
10 KB  
Video Recorders  -  VideoWrapper 1.0
VideoWrapper is a C/C++ library that provides a single abstract API for interfacing video camera libraries. Key features: concurrent capture from multiple camera libraries; support new cameras without recompiling; easily extensible; cross platform.
28.13 MB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.11.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
2.73 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB