Re: Lightweight?
"Can it serve hundreds of http: connections in a live environment?"
ApacheBench fired against the web interface of a Pi running XBMC (so yes, it's running a 3D accelerated UI at the same time as this test).
Short of it, over 1000 requests, it handled 50 concurrent connections without error, 75 caused error (on the last 12 requests) so I have no doubt a well configured Pi could handle 75-100 concurrent connections. Even so, 3 Pi's in a 2x WWW and 1x NLB setup would easily achieve 100 concurrent connections and still in <1GB RAM and <£100.
As you can probably tell, I think Pis are awesome.
# ab -n 1000 -c 50 http://xbmc-002/
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Benchmarking xbmc-002 (be patient)
Finished 1000 requests
Time taken for tests: 3.236 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Requests per second: 309.00 [#/sec] (mean)
Time per request: 161.812 [ms] (mean)
Time per request: 3.236 [ms] (mean, across all concurrent requests)
Transfer rate: 42.25 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Percentage of the requests served within a certain time (ms)
50% 68
66% 72
75% 76
80% 80
90% 95
95% 300
98% 1073
99% 1082
100% 3003 (longest request)