now tcp
Concurrency Level: 16
Time taken for tests: 22.963 seconds
Complete requests: 1048576
Failed requests: 0
Total transferred: 1106755384 bytes
Requests per second: 45663.49 [#/sec]
Transfer rate: 47067.47 [Kbytes/sec]
vs normal
Concurrency Level: 16
Time taken for tests: 22.286 seconds
Complete requests: 1048576
Failed requests: 0
Total transferred: 1106754345 bytes
Requests per second: 47050.30 [#/sec]
Transfer rate: 48496.88 [Kbytes/sec]
Performance not so good. Could need some optimization.
Concurrency Level: 16
Time taken for tests: 33.575 seconds
Complete requests: 1048576
Failed requests: 0
Total transferred: 1106753375 bytes
Requests per second: 31230.86 [#/sec]
Transfer rate: 32191.03 [Kbytes/sec]
vs normal http
Concurrency Level: 16
Time taken for tests: 24.829 seconds
Complete requests: 1048576
Failed requests: 0
Total transferred: 1106761259 bytes
Requests per second: 42231.10 [#/sec]
Transfer rate: 43529.78 [Kbytes/sec]
Originally there are only url(ip + port), and publicUrl. Because ip was
used to listen for http service, it has less flexibility and volume
server has to be accessed via publicUrl.
Recently we added ip.bind, for binding http service.
With this change, url can be used to connect to volume servers. And
publicUrl becomes a free style piece of url information, it does not
even need to be unique.
The volume TTL and file TTL are not necessarily the same. as long as
file TTL is smaller than volume TTL, it'll be fine.
volume TTL is used when assigning file id, e.g.
http://.../dir/assign?ttl=3h
file TTL is used when uploading