ab – Apache HTTP server benchmarking tool for apache stress test

Read an article ab – Apache HTTP server benchmarking tool for apache stress test about the ‘ab’ command which can be used to stress test a website.

I used it and figured out that my webserver could handle about 100 requests per second.

The command I used was:


# ab -c 100 -t 10 -r http://www.example.org/test.php

How many requests per second does a load balancer support?

I’m working on an application that is going to need to scale, and I haven’t done this before. One of the things I wanted to know what how many requests per second I could expect a single load balancer to support. I found this article Benchmarking Load Balancers in the Cloud which says that on average you can get about 5000 requests/sec through a load balancer.

Are Prepared Statements a waste for normal queries? (PHP)

I was interested to know if using prepared statements was a waste of time if the statement was only going to be used once. I found Are Prepared Statements a waste for normal queries? (PHP) on StackOverflow and basically came away with the understanding that it’s a pretty low overhead and it’s good for security so you might as well use prepared statements all the time.