Created
March 23, 2011 03:16
-
-
Save j2labs/882555 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# All of this testing was done on an AWS m1.large with a single Python | |
# process. I ran the commands multiple times and the numbers below are | |
# typical of the behavior, though they are the results of two particular | |
# cases | |
# Brubeck with Gevent | |
$ siege -c500 -t10s localhost:6767/brubeck | |
Lifting the server siege... done. | |
Transactions: 9187 hits | |
Availability: 100.00 % | |
Elapsed time: 10.03 secs | |
Data transferred: 0.14 MB | |
Response time: 0.02 secs | |
Transaction rate: 915.95 trans/sec | |
Throughput: 0.01 MB/sec | |
Concurrency: 15.72 | |
Successful transactions: 9189 | |
Failed transactions: 0 | |
Longest transaction: 0.43 | |
Shortest transaction: 0.00 | |
# Tornado | |
$ siege -c500 -t10s localhost:8000 | |
Lifting the server siege... done. | |
Transactions: 7831 hits | |
Availability: 100.00 % | |
Elapsed time: 9.44 secs | |
Data transferred: 0.12 MB | |
Response time: 0.08 secs | |
Transaction rate: 829.56 trans/sec | |
Throughput: 0.01 MB/sec | |
Concurrency: 62.48 | |
Successful transactions: 7831 | |
Failed transactions: 0 | |
Longest transaction: 3.09 | |
Shortest transaction: 0.00 | |
Hmm... that test is due for an update with gevent so I'll replace that soon.
I'll have to check with Siege as to why that would happen.
Neat! What are the webservers actually serving? Hello world?
Yep. Just hello world.
…On Mar 28, 2012, at 3:18 PM, "A. Jesse Jiryu Davis" ***@***.*** wrote:
Neat! What are the webservers actually serving? Hello world?
---
Reply to this email directly or view it on GitHub:
https://gist.github.com/882555
I have updated the gist to use gevent and we now see a 15% performance difference. It's still just hello world. Both systems returning 16 bytes of data as the output.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
O RLY?