Benchmarking HTTP servers

ApacheBench ApacheBench (ab) is a tool bundled with the Apache HTTP server which can be used to benchmark any kind of HTTP server. To benchmark localhost (100000 requests with 100 concurrent connections): ab -c100 -n10000 Sample output: Server Software: nginx/1.6.2 Server Hostname: Server Port: 80 Document Path: / Document Length: 612 bytes Concurrency Level: 100 Time taken for tests: 6.965 seconds Complete requests: 100000 Failed requests: 0 Write errors: 0 Total transferred: 84400000 bytes HTML transferred: 61200000 bytes Requests per second: 14357....

December 12, 2014 · 2 min

Getting started with OpenWrt

My last encounter with embedded Linux distributions dates back to August 2005, leveraging Familiar Linux on an iPaq in order to port an Apache + PHP + MySQL application to a thttpd + PHP (using CGI) one to be usable directly on what was a widely available PDA at the time. Clearly, it had been a while and I’m now doing some experiments with OpenWrt (an embedded Linux distribution targeted at residential gateways and routers) on a TP-LINK TL-MR3020 pocket router....

January 10, 2014 · 4 min

Measuring bandwidth on a server from Command Line

A few weeks ago, I discovered speedtest-cli, a neat Python script (requires at least Python 2.4) for testing internet bandwidth on a server from the comfort of the Command Line. Usage information: usage: [-h] [--share] [--simple] [--list] [--server SERVER] [--mini MINI] [--version] Command line interface for testing internet bandwidth using -------------------------------------------------------------------------- optional arguments: -h, --help show this help message and exit --share Generate and provide a URL to the speedtest....

December 11, 2013 · 5 min

Getting ready for the World IPv6 launch

Anticipating for the World IPv6 launch taking place on June 6th, this site is now IPv6 ready, and I’m now proudly displaying a nice IPv6 banner in the sidebar. In fact, you and everyone else should do the same, as it’s a quite straightforward operation. After configuring IPv6 on your network and enabling AAAA records in your DNS server, you just need to make your http server (and eventually mail server as well) listen on IPv6....

March 1, 2012 · 1 min

RIPE Atlas: an Internet measurement network

I’ve been taking part in the RIPE Atlas community since a few weeks already, a project which aims to build the biggest Internet measurement network ever. By doing so, I’m now hosting a small probe (built around a Lantronix XPort Pro module) sent by the RIPE NCC which is doing round-the-clock reporting. This is a picture of my setup, the probe is connected to an USB power adapter: And here is a closer picture of the probe:...

February 2, 2012 · 1 min

Hurricane Electric IPv6 Certification

I recently completed Hurricane Electric IPv6 certification and reached the “Sage” level. This was a fun and educational process and I would recommend it to anyone interested about the topic, as it’s a really nice way to start getting familiar with IPv6. Also, I should mention certified IPv6 Sages are entitled to receive a free IPv6 themed t-shirt :)

January 18, 2012 · 1 min