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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

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

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

Performance Ponderings


Go to End


10 Posts   2543 Views

Avatar
Pix

Community Member, 158 Posts

9 June 2014 at 10:03am

Edited: 13/06/2014 8:43am

Hello SS Folks,

I present to you "Performance Ponderings". Mainly because I can't find any performance data whatsoever. Where would the latest version of SS stack up in something like this:

http://www.techempower.com/benchmarks/

or this:

http://systemsarchitect.net/performance-benchmark-of-popular-php-frameworks/

I love SilverStripe, been using it since 2.4 at least. I've used it for mostly smaller sites, but now I find myself with the opportunity to build a large project, not many page types so to speak but potentially 100,000's of members and 100'000's of DataObjects and it has me wondering about performance. I know a lot has to do with your server setup and there are a lot of things you can do like perhaps HHVM, but in general, where does SS rank and really why does it seem overlooked, why is there no data and not more traction? Like, speaking broadly could you/would you use it to build KickStarter for instance? Let the discussion begin....

THANKS!

Avatar
swaiba

Forum Moderator, 1899 Posts

11 June 2014 at 3:59am

Hi Pix,

There is a lot of common sense in http://www.silverstripe.org/improving-silverstripe-performance/ - and of these static publishing is the main key (althoguh I note not working with latest framework :( )

However there is no other silver bullets and it's normally just back to profiling and re factoring - for example I had loads of CPU taken up with "new Member()" because a certain awesome dashboard module would create one each time, unless you told it not to!

So because each install is custom, benchmarking isn't relevant for me.

Avatar
Mo

Community Member, 541 Posts

11 June 2014 at 11:28pm

Almost all of my I have Silverstripe 3.1 running on a VPS I have tunned to run SS and they are lightning fast (average load time is less than 2 seconds).

I do host a few sites on client's shared hosting solutions and regularly the performance is absolute pants (we are talking load times of over 5 seconds).

I generally find, if you run SilverStripe on a pants budget host, basically, you get what you pay for. Really first, before you worry about SilverStripe's performance, make sure you have a provider with a server in the same country as you and that uses good hardware.

Hope that helps.

Cheers,

Mo

Avatar
Guy Van Bael

Community Member, 61 Posts

12 June 2014 at 1:35am

I've had a lot of performance issues with SS3 - sites, but the thing that helped me the most is the caching of the menu.
I noticed that the "time to first byte" was causing the delay. Since i use partial caching, all my SS3 sites load in less the 1.5second.

here's another topic adressing the issue..
http://www.silverstripe.org/template-questions/show/21144

Avatar
Pix

Community Member, 158 Posts

13 June 2014 at 8:10am

Thanks for everyone's input! Honestly, I haven't had any performance issues except perhaps with 3.0. I have a dedicated server on which I have a few SS installations running on their own VPS. The server is definitely not something to write home about and I haven't done anything special with it regarding performance tuning:

Operating system: CentOS Linux 5.9
Kernel and CPU Linux: 2.6.18-371.4.1.el5 on i686
Processor information: Intel(R) Celeron(R) CPU 2.66GHz, 1 cores
Real memory: 439.29 MB total
Virtual memory: 1 GB total
Local disk space: 72.34 GB total, 14.32 GB used
PHP Version => 5.4.25

Even so, no complaints, SS is awesome. I was just wondering what happens when you get into the 100'000's of DataObjects. Obviously, your server needs to have the resources, probably much more than what my little server has now. Anyway, I'm sure I just need to read up much more on server tuning anyway, this probably has not much at all to do with SS but instead being a rock solid server admin.

@swaiba thanks for the link, that is excellent place to start!

@Mo
When you say you have tuned the VPS to run SS, can you name a few things you would recommend?

Thanks!

Avatar
Pix

Community Member, 158 Posts

13 June 2014 at 8:40am

K so I changed the title of the post to Performance Ponderings, mainly because "The Age Old Performance Question" was misleading. No complaints here about performance, and this is really turning into a thread about how to ramp up performance for SS and probably any framework for that matter when it comes to what you do with your server :0)

Avatar
Mo

Community Member, 541 Posts

14 June 2014 at 1:08am

@Pix Reading that again, it is probably a bit misleading, I haven't really tuned it for SS specifically, rather tuned it a lot in terms of doing things like disabling unused modules, adding performance modules like gzip, headers, etc and also tweaked the apache config adjusting settings like mpm worker settings etc, max servers, etc.

I almost always have permissions related problems when trying to run SilverStripe on shared hosts, so the only real SilverStripe specific customisations are ensuring all permissions are set right across the server :-).

I did find that 3.0 was noticeably slower than 3.1, but 3.1 is lightning fast for me and the VPS' I run are only a little bit more powerful than yours.

Cheers,

Mo

Avatar
Pix

Community Member, 158 Posts

14 June 2014 at 6:29am

Hi Mo,

Thanks, that makes a lot of sense. I really need to read up on fine tuning Apache :0)

Go to Top