dhardy92 / thumbor_hbase

hbase storage for thumbor (https://github.com/globocom/thumbor)
9 stars 7 forks source link

Feature upgrade to thumbor5 #7

Closed dhardy92 closed 9 years ago

dhardy92 commented 9 years ago

reverted from happybase, Make hbase storage async for Thumbor 5.0 requirements

dhardy92 commented 9 years ago

thumbor 4.12 :

ab -c 10 -n 100 'http://192.168.255.2/URdKxuX0tEhVVnGwx6yVpBp2uqc=/60x60/member/002whatavk5dazi?ts=1388940879000'
This is ApacheBench, Version 2.3 <$Revision: 1528965 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking 192.168.255.2 (be patient).....done

Server Software:        nginx/1.8.0
Server Hostname:        192.168.255.2
Server Port:            80

Document Path:          /URdKxuX0tEhVVnGwx6yVpBp2uqc=/60x60/member/002whatavk5dazi?ts=1388940879000
Document Length:        2047 bytes

Concurrency Level:      10
Time taken for tests:   22.436 seconds
Complete requests:      100
Failed requests:        0
Total transferred:      232100 bytes
HTML transferred:       204700 bytes
Requests per second:    4.46 [#/sec] (mean)
Time per request:       2243.590 [ms] (mean)
Time per request:       224.359 [ms] (mean, across all concurrent requests)
Transfer rate:          10.10 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.1      0       1
Processing:   722 2142 965.6   2097    5383
Waiting:      722 2142 965.6   2097    5383
Total:        722 2142 965.6   2098    5384

Percentage of the requests served within a certain time (ms)
  50%   2098
  66%   2350
  75%   2774
  80%   2877
  90%   3329
  95%   4049
  98%   4881
  99%   5384
 100%   5384 (longest request)

Thumbor 5.0.3:

ab -c 10 -n 100 'http://192.168.255.2/URdKxuX0tEhVVnGwx6yVpBp2uqc=/60x60/member/002whatavk5dazi?ts=1388940879000'
This is ApacheBench, Version 2.3 <$Revision: 1528965 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking 192.168.255.2 (be patient).....done

Server Software:        nginx/1.8.0
Server Hostname:        192.168.255.2
Server Port:            80

Document Path:          /URdKxuX0tEhVVnGwx6yVpBp2uqc=/60x60/member/002whatavk5dazi?ts=1388940879000
Document Length:        2352 bytes

Concurrency Level:      10
Time taken for tests:   21.540 seconds
Complete requests:      100
Failed requests:        0
Total transferred:      262600 bytes
HTML transferred:       235200 bytes
Requests per second:    4.64 [#/sec] (mean)
Time per request:       2153.972 [ms] (mean)
Time per request:       215.397 [ms] (mean, across all concurrent requests)
Transfer rate:          11.91 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.2      0       1
Processing:   721 2058 2108.7   1553   21067
Waiting:      721 2058 2108.7   1553   21067
Total:        722 2058 2108.7   1554   21068

Percentage of the requests served within a certain time (ms)
  50%   1554
  66%   2040
  75%   2638
  80%   2867
  90%   3079
  95%   3826
  98%   4645
  99%  21068
 100%  21068 (longest request)