Intro to Apache - ApacheCon
Performance - measuring.
  • ab

    
        ab -n 1000 -c 10 http://localhost/index.html
    
      

  • VERY simple benchmarking

    
        -n Number of requests to make
        -c Concurrency - how many requests at once
        -k Keepalive - Allow persistent connections
        -h Display help message and full list of options
    
      

  • Note that it is just fetching a single URL multiple times. Does not simulate real server use by actual users.

Index
Back to Performance
Forward to ab - example

ApacheCon : Intro to Apache - Slide #97 of 139