Sunday, August 10, 2008

IPv6 tcp proxy success

I feel like an undergraduate computer science student after all of this. I've managed to coax the cacheboy core to support v4/v6 and am using it in the tcpproxy test application.

I've got a modified apachebench speaking IPv6 to tcpproxy, listening on a :8080 IPv6 socket. It then forwards all requests to a thttpd instance running on IPv4.

Tomorrow's job - making sure the squid proxy codebase is still happy with these latest changes, and then preparing for some further testing and the implementation of some unit tests for the comm and inet libraries. Then it back to commercial projects for a few weeks.


Server Software: thttpd/2.25b
Server Hostname: [2a01:348:XXX:3207]
Server Port: 8080

Document Path: /test8k
Document Length: 8192 bytes

Concurrency Level: 1000
Time taken for tests: 21.690 seconds
Complete requests: 100000
Failed requests: 0
Broken pipe errors: 0
Total transferred: 844171764 bytes
HTML transferred: 819841632 bytes
Requests per second: 4610.42 [#/sec] (mean)
Time per request: 216.90 [ms] (mean)
Time per request: 0.22 [ms] (mean, across all concurrent requests)
Transfer rate: 38919.86 [Kbytes/sec] received

No comments: