Performance Notes
How Fast is Jarvis?
The following performance results were measured under the following conditions:
- Dual-Core Intel @ 2.5 GHz, 4G of RAM. (CPU Blowfish rating 7.09).
- Kubuntu 09.10 (Karmic Koala).
- Apache 2 webserver using HTTP (not SSL).
- Apache JMeter client with five simultaneous threads.
- PostgreSQL database.
- Dataset content
<select>SELECT 1 AS result</select>
.
Result summary is:
Setup Notes | Latency | Throughput |
---|---|---|
CGI |
523ms |
~ 9 request/sec |
mod_perl |
54 ms |
~ 90 request/sec |
mod_perl + Apache::DBI (JSON) |
41 ms |
~ 120 request/sec |
mod_perl + Apache::DBI (XML) |
41 ms |
~ 120 request/sec |
This shows that the Jarvis framework is easily capable of supporting well over 100 requests per second on commodity hardware. This is suitable for many mid-range RIA applications.
Naturally, any heavy database processing will reduce this response rate accordingly.