Skip to content

Instantly share code, notes, and snippets.

@ehazlett
Created February 15, 2012 21:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ehazlett/1839074 to your computer and use it in GitHub Desktop.
Save ehazlett/1839074 to your computer and use it in GitHub Desktop.
COIAPI Benchmarks
Benchmarks for COI API using ApacheBench
Tests performed using apache bench from Intech network using a wired connection.
API Host: t1.micro - ec2-184-72-205-178.compute-1.amazonaws.com
MongoDB Host: m1.large - ec2-23-20-88-122.compute-1.amazonaws.com
Redis Host: t1.micro - ec2-184-72-205-178.compute-1.amazonaws.com (same as API host)
-----
1000 req with 100 concurrent to Redis
Server Software: nginx/1.1.14
Server Hostname: ec2-184-72-205-178.compute-1.amazonaws.com
Server Port: 80
Document Path: /visitors
Document Length: 25 bytes
Concurrency Level: 100
Time taken for tests: 1.218 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Total transferred: 209000 bytes
HTML transferred: 25000 bytes
Requests per second: 821.04 [#/sec] (mean)
Time per request: 121.797 [ms] (mean)
Time per request: 1.218 [ms] (mean, across all concurrent requests)
Transfer rate: 167.58 [Kbytes/sec] received
-----
-----
1000 req with 100 concurrent to MongoDB
Server Software: nginx/1.1.14
Server Hostname: ec2-184-72-205-178.compute-1.amazonaws.com
Server Port: 80
Document Path: /trials/NCT01449149.json
Document Length: 5706 bytes
Concurrency Level: 100
Time taken for tests: 2.627 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Total transferred: 5892000 bytes
HTML transferred: 5706000 bytes
Requests per second: 380.61 [#/sec] (mean)
Time per request: 262.739 [ms] (mean)
Time per request: 2.627 [ms] (mean, across all concurrent requests)
Transfer rate: 2189.97 [Kbytes/sec] received
-----
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment