The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 2,975 other subscribers

Archive for November 8th, 2018

Load testing a web server on Windows using the ApacheBench benchmark tool from Apache

Posted by jpluimers on 2018/11/08

Based on:

  1. Download the most recent x64 Apache binaries for Windows from [WayBack] Apache VC15 binaries and modules download (at the time of writing: )
  2. Extract recursively to D:\bin
  3. Run the UltrawareController locally
  4. Run D:\bin\httpd-2.4.34-win64-VC15\Apache24\bin\ab.exe -n 1000 -c 10 http://localhost:8000/foo

This will run the ab Apache benchmark tool with 1000 connections using 10 threads all doing the same http GET request at http://localhost:8000/foo

If you want to test TLS (https) connections, then you need to use the abs tool in the same directory as the ab tool supports http-only (when you still try, you get the message SSL not compiled in; no https support as explained in [WayBack] Add https support to Apache Bench on Windows РStack Overflow).

Download location via [WayBack] windows РIs there any link to download ab Apache benchmark РStack Overflow:

There are many more command-line parameters documented at [WayBack] ab РApache HTTP server benchmarking tool РApache HTTP Server Version 2.4, this is the summary:


ab [ -A auth-username:password ] [ -b windowsize ] [ -B local-address ] [ -c concurrency ] [ -Ccookie-name=value ] [ -d ] [ -e csv-file ] [ -f protocol ] [ -g gnuplot-file ] [ -h ] [ -Hcustom-header ] [ -i ] [ -k ] [ -l ] [ -m HTTP-method ] [ -n requests ] [ -p POST-file ] [ -Pproxy-auth-username:password ] [ -q ] [ -r ] [ -s timeout ] [ -S ] [ -t timelimit ] [ -Tcontent-type ] [ -u PUT-file ] [ -v verbosity] [ -V ] [ -w ] [ -x <table>-attributes ] [ -Xproxy[:port] ] [ -y <tr>-attributes ] [ -z <td>-attributes ] [ -Z ciphersuite ] [http[s]://]hostname[:port]/path

Via: [WayBack] apache Рab load testing РStack Overflow


Posted in Communications Development, Development, HTML, HTTP, Internet protocol suite, Software Development, Web Development | Leave a Comment »

Relay Switch Circuit and Relay Switching Circuit

Posted by jpluimers on 2018/11/08

Via yesterdays post on a bench power supply fabricated from an ATX power supply, I found this very interesting set of relay switching circuits:

Electronics Tutorial about the Relay Switch Circuit and relay switching circuits used to control a variety of loads in circuit switching applications

[WayBack] Relay Switch Circuit and Relay Switching Circuit

The images below are from that site. Note the BC337 and BC109 have different voltage/power specs. See [WayBack] BC337/BC109 datasheet & application note РDatasheet Archive.


Read the rest of this entry »

Posted in Development, Hardware Development | Leave a Comment »

Build Lambda Expressions Dynamically – CodeProject

Posted by jpluimers on 2018/11/08

On my research list: [WayBack] Build Lambda Expressions Dynamically РCodeProject

GitHub Source: dbelmont/ExpressionBuilder


Posted in .NET, Development, Software Development | Leave a Comment »

%d bloggers like this: