Versions Compared

Key

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

...

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 netstat command shows that most sockets are either in TIME_WAIT or CLOSED_WAIT state.

 

Threads

AHC Servlet
max response time(secs)

Blocking Servlet
max response time (secs)

16

2.081

5.252

200

7.575

25.935

500

12.917

39.590