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

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

Serving Software Downloads in 956 Categories, Downloaded 50.271.543 Times

HTTPD::Bench::ApacheBench 0.63

  Date Added: January 18, 2010  |  Visits: 1.115

HTTPD::Bench::ApacheBench

Report Broken Link
Printer Friendly Version


Product Homepage
Download (119 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
Libraries  -  Apache::AxKit::Language::XSP 1.6.2
Apache::AxKit::Language::XSP is a Perl module with eXtensible Server Pages. SYNOPSIS Time::Object < title...
307.2 KB  
Network & Internet  -  mod_corba 0.1
mod_corba is an exposes Apache module API via CORBA. With this, any object in any language on any system can be used as a plugin module for an Apache web server, without recompiling or restarting the server. Since the entire internal operation of...
17.41 KB  
Development Tools  -  Cheap and simple API helper 1.0
Cheap and simple API helper allows you to get help in API programming.
 
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  -  HTTP::Webdav 0.1.18-0.17.1
HTTP::Webdav is a Perl interface to Neon HTTP and WebDAV client library. SYNOPSIS use HTTP::Webdav ; $sess = HTTP::Webdav -> new ; $sess -> server ("www.ecos.de", 80) ; $sess -> get ("/", STDOUT) ; $sess -> put ("/dav/foo.htm", STDIN) ;...
32.77 KB  
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  
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  
Libraries  -  HTTP::Async 0.05
HTTP::Async is a Perl module that can process multiple HTTP requests in parallel without blocking. SYNOPSIS Create an object and add some requests to it: use HTTP::Async; my $async = HTTP::Async->new; # create some requests and add them to...
15.36 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  
Libraries  -  HTTP::BrowserDetect 0.99
HTTP::BrowserDetect is a Perl module to determine the Web browser, version, and platform from an HTTP user agent string. SYNOPSIS use HTTP::BrowserDetect; my $browser = new HTTP::BrowserDetect($user_agent_string); # Detect operating system...
11.26 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
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  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.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...
3.88 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