Code Monkey home page Code Monkey logo

Comments (2)

geerlingguy avatar geerlingguy commented on May 20, 2024

A few benchmarks:

Uncached requests:

$ ab -n 100 -c 10 http://pidramble.com/about?nocache=true
This is ApacheBench, Version 2.3 <$Revision: 1554214 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking pidramble.com (be patient).....done


Server Software:        nginx/1.6.2
Server Hostname:        pidramble.com
Server Port:            80

Document Path:          /about?nocache=true
Document Length:        5761 bytes

Concurrency Level:      10
Time taken for tests:   5.390 seconds
Complete requests:      100
Failed requests:        0
Total transferred:      682400 bytes
HTML transferred:       576100 bytes
Requests per second:    18.55 [#/sec] (mean)
Time per request:       538.976 [ms] (mean)
Time per request:       53.898 [ms] (mean, across all concurrent requests)
Transfer rate:          123.64 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.1      0       1
Processing:   200  526 141.6    531     845
Waiting:      200  521 140.4    523     840
Total:        200  527 141.6    531     845

Percentage of the requests served within a certain time (ms)
  50%    531
  66%    587
  75%    634
  80%    671
  90%    695
  95%    737
  98%    833
  99%    845
 100%    845 (longest request)

Authenticated requests:

$ ab -n 100 -c 10 -C "SESS9eb99385b41c33b80abf45e1142e4e28=Lch2JC6iRxmgdQYc_TxEQGDd_Tdg1I63eQ" http://pidramble.com/about
This is ApacheBench, Version 2.3 <$Revision: 1554214 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking pidramble.com (be patient).....done


Server Software:        nginx/1.6.2
Server Hostname:        pidramble.com
Server Port:            80

Document Path:          /about
Document Length:        5776 bytes

Concurrency Level:      10
Time taken for tests:   5.395 seconds
Complete requests:      100
Failed requests:        0
Total transferred:      695500 bytes
HTML transferred:       577600 bytes
Requests per second:    18.54 [#/sec] (mean)
Time per request:       539.495 [ms] (mean)
Time per request:       53.949 [ms] (mean, across all concurrent requests)
Transfer rate:          125.90 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.4      0       3
Processing:   168  525 189.1    569     880
Waiting:      167  522 188.2    567     876
Total:        168  525 189.1    570     881

Percentage of the requests served within a certain time (ms)
  50%    570
  66%    640
  75%    674
  80%    694
  90%    748
  95%    779
  98%    863
  99%    881
 100%    881 (longest request)

Cached requests:

$ ab -n 10000 -c 100 http://pidramble.com/about
This is ApacheBench, Version 2.3 <$Revision: 1554214 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking pidramble.com (be patient)
Completed 1000 requests
Completed 2000 requests
Completed 3000 requests
Completed 4000 requests
Completed 5000 requests
Completed 6000 requests
Completed 7000 requests
Completed 8000 requests
Completed 9000 requests
Completed 10000 requests
Finished 10000 requests


Server Software:        nginx/1.6.2
Server Hostname:        pidramble.com
Server Port:            80

Document Path:          /about
Document Length:        5776 bytes

Concurrency Level:      100
Time taken for tests:   5.921 seconds
Complete requests:      10000
Failed requests:        0
Total transferred:      68380000 bytes
HTML transferred:       57760000 bytes
Requests per second:    1688.87 [#/sec] (mean)
Time per request:       59.211 [ms] (mean)
Time per request:       0.592 [ms] (mean, across all concurrent requests)
Transfer rate:          11277.79 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.4      0       8
Processing:     3   59   5.9     58      79
Waiting:        3   58   5.8     58      79
Total:          8   59   5.7     58      79

Percentage of the requests served within a certain time (ms)
  50%     58
  66%     60
  75%     61
  80%     62
  90%     67
  95%     69
  98%     72
  99%     73
 100%     79 (longest request)

from raspberry-pi-dramble.

geerlingguy avatar geerlingguy commented on May 20, 2024

I was able to tweak things to get 2000+ req/s uncached, and 20 req/s authenticated, but I'm hitting my poor MacBook Air's limits with 6 VMs running and eating up pretty much all available RAM and CPU!

from raspberry-pi-dramble.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.