Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Running Multiple Instances / Performance?

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

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

Page: 1 2
Go to End
Author Topic: 13369 Views
  • zach
    Avatar
    Community Member
    4 Posts

    Running Multiple Instances / Performance? Link to this post

    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.

  • Tim
    Avatar
    Core Development Team
    201 Posts

    Re: Running Multiple Instances / Performance? Link to this post

    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.

  • zach
    Avatar
    Community Member
    4 Posts

    Re: Running Multiple Instances / Performance? Link to this post

    Thanks for the response Tim.

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

  • Willr
    Avatar
    Forum Moderator
    5482 Posts

    Re: Running Multiple Instances / Performance? Link to this post

    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?.

  • zach
    Avatar
    Community Member
    4 Posts

    Re: Running Multiple Instances / Performance? Link to this post

    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.

  • Christoph
    Avatar
    Community Member
    2 Posts

    Re: Running Multiple Instances / Performance? Link to this post

    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

  • Fuzz10
    Avatar
    Community Member
    787 Posts

    Re: Running Multiple Instances / Performance? Link to this post

    subscribe

  • spenniec
    Avatar
    Community Member
    37 Posts

    Re: Running Multiple Instances / Performance? Link to this post

    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

    13369 Views
Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.