Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Download the client python script. You will need python installed on your machine to run this script. You can download Python from here.
  2. The script takes 3 arguments - the name of the machine running http-local-app (AHC), the url of the server on the remote app and the number of threads.
    Code Block
    ahcrequest.py local_machine http://remote_machine:8080 200
    

Test Results

The following test results show a comparison between an AHC enhanced servlet and a normal blocking servlet. Each of these servlets are pounded by 16, 200 and 500 simultaneous requests. The output captured from the python script shows the response time for each request. These tests also demonstrate the significance of tuning the IP stacks. When none of the machines are tuned, the response time starts increasing as the number of threads start increasing. Executing a {mono}netstat{mono} command shows that most sockets are either in TIME_WAIT or CLOSED_WAIT state.