From the course: Node.js: Debugging and Performance Tuning

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Benchmarking with ApacheBench

Benchmarking with ApacheBench

From the course: Node.js: Debugging and Performance Tuning

Start my 1-month free trial

Benchmarking with ApacheBench

- [Instructor] ApacheBench is a tool from the Apache Foundation for benchmarking HTTP servers. Wait a second, don't we have a Node.js server? Yes we do, and ApacheBench can be used to test any HTTP server, not just Apache. The ApacheBench utility is included with the Apache HTTP server. AB also comes preinstalled on macOS, and is also available on Windows and Linux. More on installation in a moment. ApacheBench produces a report on the number of completed and failed requests, bytes transferred, requests per second, and a lot more. These reports can be manually compared to each other in order to measure performance optimization progress. Let's take a brief moment to talk about the ApacheBench installation process for Windows. If you're a Windows user, you're gonna have to manually download ApacheBench. This takes just a moment but if you're a Mac user, please continue to pay attention. ApacheBench is included in XAMPP, a standalone web server package. There is a portable version that…

Contents