Apache Bench

2001-12-02 Thread Nabarupa Banerjee
Dear Sir/Madam,   I am trying to use Apache Bench to test an IIS web server on which an ASP application is residing ? Our server machine is a P IV WIN NT m/c and the client m/c's are PIII WIN 2000 m/c's. In the current set up is it possible for us to use Apache Bench for testing ?   Does Apache Bench only work for a UNIX environment ?   When I downloaded Apache bench from the web site : http://www.xenoclast.org/autobench/ I found .tar files which I unzipped using winzip to get many .c files.Are we supposed to compile these .c files or is there any executable already existing ?   Do guide me regarding the same.   What is an APR ? It seems with an APR Apache Bench can be ported to an NT machine ? What is the meaning of this sentence ?   Too many doubts..Pls help.   Regards,   Nabarupa.Get more from the Web.  FREE MSN Explorer download : http://explorer.msn.com


Re: Apache Bench

2001-12-02 Thread William A. Rowe, Jr.

From: "Joshua Chamas" <[EMAIL PROTECTED]>
Sent: Friday, November 30, 2001 11:08 AM


> Last I checked, ab which comes with Apache, had not yet been ported
> to NT/2000 officially.  However, there does seem to be a port
> available here:
> 
>   http://www.remotecommunications.com/apache/ab/
> 
> Upon testing their precompiled version however, I found that
> that it doesn't seem to work too well, in that it can only 
> do some 1 request per 4 seconds :(

Uhmmm... I use it every day or so.

Suggest you look at Apache 2.0 - it runs quite well.  Of course 1.3 will
never be ported, it's just too tangled, but ab for Apache 2.0 should work
on native win32 (as well as cygwin now that Stipe has patched to work 
around cygwin/WinSock incompatibilites.)






Re: Apache Bench

2001-12-01 Thread Adi Fairbank

I got an e-mail a while back from one of the CPAN testers that my Perl API
version of ApacheBench worked on Cygwin.  I don't know how that compares to
straight NT/2000, but you might try compiling ab with Cygwin.  Since my code
is based on ab, in theory ab should also work on Cygwin.  You could also
just use the my Perl version of ab which has most of the same functionality
as ab.  Let me know if it works for you.

-Adi

Joshua Chamas wrote:
> 
> Last I checked, ab which comes with Apache, had not yet been ported
> to NT/2000 officially.  However, there does seem to be a port
> available here:
> 
>   http://www.remotecommunications.com/apache/ab/
> 
> Upon testing their precompiled version however, I found that
> that it doesn't seem to work too well, in that it can only
> do some 1 request per 4 seconds :(
> 
> -- Josh
> _
> Joshua Chamas   Chamas Enterprises Inc.
> NodeWorks Founder   Huntington Beach, CA  USA
> http://www.nodeworks.com1-714-625-4051




Re: Apache Bench

2001-11-30 Thread Joshua Chamas

Last I checked, ab which comes with Apache, had not yet been ported
to NT/2000 officially.  However, there does seem to be a port
available here:

  http://www.remotecommunications.com/apache/ab/

Upon testing their precompiled version however, I found that
that it doesn't seem to work too well, in that it can only 
do some 1 request per 4 seconds :(

-- Josh
_
Joshua Chamas   Chamas Enterprises Inc.
NodeWorks Founder   Huntington Beach, CA  USA 
http://www.nodeworks.com1-714-625-4051



Re: [OT] Apache Bench (ab.c) written as perl XS module?

2000-06-21 Thread Ask Bjoern Hansen

On Wed, 21 Jun 2000, Adi wrote:

> Is there any interest in such a module?  Could it fit in with LWP somehow? 
> I have not tried out LWPng yet - does it use XS code to speed up requests
> much faster than LWP?

You can't really compare ab and LWP. ab is fast partly because it's not
doing anything beyond what's absolutely needed and it's making a bunch of
(usually correct) assumptions.

So what you're going for should probably be a more flexible ab with a Perl
interface, but still with a focus on speed and benchmarks. Not a general
http tool (like LWP).

 - ask

-- 
ask bjoern hansen - 
more than 70M impressions per day, 




Re: [OT] Apache Bench (ab.c) written as perl XS module?

2000-06-21 Thread Adi

Stas,

Yes, actually I downloaded your Apache::Benchmark a while back, and have
looked through it quite a bit.  I definitely plan on using it, and agree we
should continue further development together.  Actually #3 on your
Apache::Benchmark TODO was what gave me the idea to do this.

Thanks (everyone) for the responses, I'll get back to you all when we have
something concrete.

-Adi

Stas Bekman wrote:
> 
> Adi, I've already implemented a part of the thing you are talking about.
> At least the core of it. At this point I've the framework for benchmarking
> suites and I invoke ab directly and then I have the module that process
> the results and print the nice output. No manual processing anymore.
> 
> Replacing ab binary with Perl API to the library is one of the things I'd
> really like to have in this benchmarking suite.
> 
> Grab the package from:
> http://stason.org/work/modules/Apache-Benchmark-0.01.tar.gz
> 
> And if you like the way it's implemented it would be really cool to work
> on the further development together.
>



Re: [OT] Apache Bench (ab.c) written as perl XS module?

2000-06-21 Thread Stas Bekman

On Wed, 21 Jun 2000, Adi wrote:

> [OT: already posted to [EMAIL PROTECTED], just thought people here might have
> suggestions, comments, etc]
> 
> I am thinking about writing the XS glue for the apache bench tool (ab).  The
> ab code as it is, is not very flexible, but it is damn fast.  If I
> implemented it as a perl XS module, I could add the flexibility into a nice
> OO package.
> 
> Is there any interest in such a module?  Could it fit in with LWP somehow? 
> I have not tried out LWPng yet - does it use XS code to speed up requests
> much faster than LWP?
> 
> At our company we need to write a benchmarking suite, and LWP fits our needs
> perfectly except for the fact that its just not fast enough.  It would be
> perfect if we could integrate ab with LWP.  So, just wanting to get general
> feedback from the LWP community on whether such software would be useful to
> others.

Adi, I've already implemented a part of the thing you are talking about.
At least the core of it. At this point I've the framework for benchmarking
suites and I invoke ab directly and then I have the module that process
the results and print the nice output. No manual processing anymore.

Replacing ab binary with Perl API to the library is one of the things I'd
really like to have in this benchmarking suite.

Grab the package from:
http://stason.org/work/modules/Apache-Benchmark-0.01.tar.gz 

And if you like the way it's implemented it would be really cool to work
on the further development together.

I wrote this software mainly for the book writing, since I'd to run
hundreds of tests and it wasn't impossible to get advanced and avoiding
errors by having the work done manually. But if you look at the TODO list,
there are a few cool ideas for a future extensions that will be very
useful for some users.

_
Stas Bekman  JAm_pH --   Just Another mod_perl Hacker
http://stason.org/   mod_perl Guide  http://perl.apache.org/guide 
mailto:[EMAIL PROTECTED]   http://perl.org http://stason.org/TULARC
http://singlesheaven.com http://perlmonth.com http://sourcegarden.org





Re: [OT] Apache Bench (ab.c) written as perl XS module?

2000-06-21 Thread Drew Taylor

Adi wrote:
>
> At our company we need to write a benchmarking suite, and LWP fits our needs
> perfectly except for the fact that its just not fast enough.  It would be
> perfect if we could integrate ab with LWP.  So, just wanting to get general
> feedback from the LWP community on whether such software would be useful to
> others.
I'd love to see such a thing. I need to put together a benchmark program
myself. Why not build on the backs of giants? :-)

-- 
Drew Taylor
Vialogix Communications, Inc.
501 N. College Street
Charlotte, NC 28202
704 370 0550
http://www.vialogix.com/



Re: [OT] Apache Bench (ab.c) written as perl XS module?

2000-06-21 Thread David Hodgkinson


Adi <[EMAIL PROTECTED]> writes:

> Is there any interest in such a module? 

Good plan IMHO.

-- 
Dave Hodgkinson, http://www.hodgkinson.org
Editor-in-chief, The Highway Star   http://www.deep-purple.com
  Apache, mod_perl, MySQL, Sybase hired gun for, well, hire
  -



Re: [OT] Apache Bench (ab.c) written as perl XS module?

2000-06-21 Thread Matt Sergeant

On Wed, 21 Jun 2000, Adi wrote:

> [OT: already posted to [EMAIL PROTECTED], just thought people here might have
> suggestions, comments, etc]
> 
> I am thinking about writing the XS glue for the apache bench tool (ab).  The
> ab code as it is, is not very flexible, but it is damn fast.  If I
> implemented it as a perl XS module, I could add the flexibility into a nice
> OO package.
> 
> Is there any interest in such a module?  Could it fit in with LWP somehow? 
> I have not tried out LWPng yet - does it use XS code to speed up requests
> much faster than LWP?
> 
> At our company we need to write a benchmarking suite, and LWP fits our needs
> perfectly except for the fact that its just not fast enough.  It would be
> perfect if we could integrate ab with LWP.  So, just wanting to get general
> feedback from the LWP community on whether such software would be useful to
> others.

I'd love to see something like that.

-- 


Fastnet Software Ltd. High Performance Web Specialists
Providing mod_perl, XML, Sybase and Oracle solutions
Email for training and consultancy availability.
http://sergeant.org | AxKit: http://axkit.org




[OT] Apache Bench (ab.c) written as perl XS module?

2000-06-21 Thread Adi

[OT: already posted to [EMAIL PROTECTED], just thought people here might have
suggestions, comments, etc]

I am thinking about writing the XS glue for the apache bench tool (ab).  The
ab code as it is, is not very flexible, but it is damn fast.  If I
implemented it as a perl XS module, I could add the flexibility into a nice
OO package.

Is there any interest in such a module?  Could it fit in with LWP somehow? 
I have not tried out LWPng yet - does it use XS code to speed up requests
much faster than LWP?

At our company we need to write a benchmarking suite, and LWP fits our needs
perfectly except for the fact that its just not fast enough.  It would be
perfect if we could integrate ab with LWP.  So, just wanting to get general
feedback from the LWP community on whether such software would be useful to
others.

-Adi