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.

Archive /

Our old forums are still available as a read-only archive.

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

Running Multiple Instances / Performance?


Go to End


10 Posts   15345 Views

Avatar
zach

Community Member, 4 Posts

4 June 2008 at 8:42am

Hi folks,

I'm looking at the possibility of using SS for a rather large site I will be building. I've been picking through the forum posts looking for answers to a couple questions, but haven't found exactly I'm looking for. These questions are:

1. Is it possible to run multiple SS instances on multiple machines, with each pulling from the same database?

2. Anyone have any stats on page render times, queries per second, that sort of thing?

Also, any tales or yarns or just plain stories about large-scale site development w/ SS would be greatly appreciated. I'm particularly interested in i18n/l10n, and any performance issues or hiccups encountered.

Avatar
Tim

Community Member, 201 Posts

4 June 2008 at 11:47am

Edited: 04/06/2008 11:47am

Hi Zach,

A timely post. We've been doing a lot of work on this recently so performance is top of mind. Here are some stats.

On a server with the following specks: Dual 2.6 GHz dual Core CPU, 2 GB RAM, 2 x 146 GB
SCSI HD RAID 1. We are getting the following results;

2.2.2 handles around 50 page view per second on that server.

2.3 (not yet released) handles around 200 page views per second on the same server.

The performance code for 2.3 will likely make it's way into the trunk branch in the next few weeks if you want to try it out.

So as of 2.3, a server like the one above will be able to support around 1.7 million page views per day. If you need additional performance then you need to run multiple servers with load balances in fount of them.

Re running separate database servers, this is pretty trivial to do - just point the database connection to a new server, however unless you are running a heavily dynamic site there isn't much value in this as all the pages (as of 2.3) are statically cached, hence there are no calls to the database for most page loads.

As for some stories, we're working on a few very high load sites, one is going to have a two servers with a load balancer + a dedicated database server, and another going to have 10 - 15 servers controlled by load balances. We'll write up a bit of a post mortem in a few months.

Avatar
zach

Community Member, 4 Posts

5 June 2008 at 11:21am

Thanks for the response Tim.

Another question has come up: Is there a way to run a single site with multiple simultaneous themes/skins?

Avatar
Willr

Forum Moderator, 5523 Posts

5 June 2008 at 1:21pm

Another question has come up: Is there a way to run a single site with multiple simultaneous themes/skins?

There is ways to dynamically change the theme on the fly - see the demos of themes. - http://demo.silverstripe.com/?theme=TheThemeName eg http://demo.silverstripe.com/?theme=higherground . Setting something like that is simple what are you trying to do with multiple themes?.

Avatar
zach

Community Member, 4 Posts

6 June 2008 at 6:21am

re: why multiple themes.

i'm going to be building a site that may have to run a number of differently-branded versions of itself simultaneously. i'll poke around some more and figure out my best approach.

Avatar
Christoph

Community Member, 2 Posts

25 June 2008 at 9:17pm

Hi Tim,

50 page impressions per second on a dualcore machine is impressive. I was able to max out Silverstripe at 10 Impressions using apache flood (no keepalive, database on same machine) on a Quad-Xeon machine.
Can you give details about your Test procedure? :)

cheers
Christoph

Avatar
Fuzz10

Community Member, 791 Posts

27 June 2008 at 4:04pm

subscribe

Avatar
spenniec

Community Member, 37 Posts

30 June 2008 at 10:36pm

Edited: 30/06/2008 10:36pm

Will,

How does this work?

http://demo.silverstripe.com/?theme=higherground

Has the demo site been hacked as it says it is running 2.2.1 in the CMS but I can't get this to work on that version on my installs?

cheers
Spencer

Go to Top