Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Average of 4.6 seconds / request -- isn't this slow...?


Reply


819 Views

Avatar
nicktacular

Community Member, 8 Posts

23 September 2009 at 6:52am

Long story short: a new site was developed in SilverStripe and we wanted to test how well our site was doing as far as response times. We've been experiencing some sluggish response just by browsing, so we tried to run Apache's benchmarking for one location to the server (not geographically close). Here are the results of that test:

C:\Program Files\Apache Software Foundation\Apache2.2\bin>ab -n 1000 -c 5 http://******************/
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking ************** (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Completed 1000 requests
Finished 1000 requests

Server Software: Apache/2.2.3
Server Hostname: *************
Server Port: 80

Document Path: /
Document Length: 29780 bytes

Concurrency Level: 5
Time taken for tests: 919.070 seconds
Complete requests: 1000
Failed requests: 852
(Connect: 0, Receive: 0, Length: 852, Exceptions: 0)
Write errors: 0
Total transferred: 30107400 bytes
HTML transferred: 29737400 bytes
Requests per second: 1.09 [#/sec] (mean)
Time per request: 4595.351 [ms] (mean)
Time per request: 919.070 [ms] (mean, across all concurrent requests)
Transfer rate: 31.99 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 11 7.4 16 47
Processing: 2047 4581 2027.0 4453 61796
Waiting: 1953 4327 902.1 4250 24859
Total: 2047 4592 2026.7 4469 61796

Percentage of the requests served within a certain time (ms)
50% 4469
66% 4609
75% 4719
80% 4797
90% 5156
95% 5531
98% 6047
99% 6500
100% 61796 (longest request)

------

Somehow, these results seem to be a tad sluggish. I would love to hear advice or opinions from anyone! Please feel free to let me know what you think. Is this slow?

Oh, and we're running 4GB RAM, Apache 2, php w/ APC.

I'm looking forward to your responses!

Thanks,
N