The following tests were performed using a "hello world" type application with Rails verseion 1.2.3 on a single dual core 64 bit AMD 4200+ box running Ubuntu Linux. Mongrel 1.0.1 was used. Apache Bench (ab) was used to generate requests. All tests were conducted by running sets of 10 tests, each making 5000 requests to the server.
Rails with Mongrel -- a single process
| Concurrency | Requests/second |
|---|---|
| 1 | 404 |
| 10 | 312 |
Rails with Swiftiply/Swiftiplied Mongrel -- two backend processes
| Concurrency | Requests/second |
|---|---|
| 1 | 426 |
| 10 | 669 |
Rails with Evented Mongrel -- a single process
| Concurrency | Requests/second |
|---|---|
| 1 | 437 |
| 10 | 458 |
Rails with HAProxy 1.2.17 / Mongrel -- two backend processes
| Concurrency | Requests/second |
|---|---|
| 1 | 389 |
| 10 | 518 |
Rails with HAProxy 1.2.17 / Evented Mongrel -- two backend processes
| Concurrency | Requests/second |
|---|---|
| 1 | 405 |
| 10 | 719 |