Jump to:

546 Posts in 2160 Topics by 237 members

Hosting Requirements

SilverStripe Forums » Hosting Requirements » Hi-Load Systems

What you need to consider when choosing a hosting provider and plan.

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

Page: 1
Go to End
Author Topic: 2072 Views
  • Tonyair
    Avatar
    Community Member
    81 Posts

    Hi-Load Systems Link to this post

    Let's combine all speeding up tricks for silverstripe and websites generaly.

    Mine:
    memcached for sessions,
    client side swf image resizing,
    turned off mod_rewrite (just set 404 page to sapphire/main.php it's faster),
    imagemagic server side image resizing,
    wget retriving remote data,
    xcache,
    analytics js-scripts sometimes is slow so server side analytics,
    minifing of HTML, JS, CSS,
    caching of everything that isn't changed,
    expire headers,
    subdomain for static content and ngix running on it (CDN and dedicated IP will be better),
    gzip compression,
    removing dev servers directive,
    combining css and js as much as possible

  • Ingo
    Avatar
    Forum Moderator
    801 Posts

    Re: Hi-Load Systems Link to this post

    Very interesting stuff Tony! Would you mind to elaborate a bit on what customizations you had to do in SilverStripe to get these various tuning aspects going? Specifically:

    > memcached for sessions,
    Transparent throug a PHP module, or customized in SS?

    > client side swf image resizing,
    First I'm hearing of it, do you have benchmarks?

    > caching of everything that isn't changed,
    > expire headers,
    Are you caching SS generated HTML responses? With Last-Modified headers, or just generic Expires header?

    > subdomain for static content and ngix running on it (CDN and dedicated IP will be better),
    Are you referencing all static content with absolute URLs, or did you bend SS to rewrite *.gif|png|jpg links somehow?

  • shizny8
    Avatar
    Community Member
    3 Posts

    Re: Hi-Load Systems Link to this post

    Hi, I'm having issues with setting up memcached in silverstripe. What other config file did you update and do you know how to get silverstripe to use memcached for the template cacheing... I'm still getting a lot of files written to silverstripe-cache directory?

    my _config has

    SS_Cache::add_backend('primary_memcached', 'Memcached', array('host' => 'localhost', 'port' => 11211, 'persistent' => true, 'weight' => 1, 'timeout' => 5, 'retry_interval' => 15, 'status' => true, 'failure_callback' => '' ) );

    SS_Cache::pick_backend('primary_memcached', 'any', 10);
    SS_Cache::pick_backend('default', 'aggregate', 20);

  • obj63mc
    Avatar
    Community Member
    24 Posts

    Re: Hi-Load Systems Link to this post

    Hi All,

    I am having the same issue with Memcached any help would be appreciated.

    I am also trying to cache some things manually as well as described in willr's post at http://willrossi.tumblr.com/post/1187670605/caching-memory-intensive-tasks-in-silverstripe

    in the memcache but it doesn't seem to be storing. When I run a call back to load something from the cache it is always returning false and then running the code anyway.

    I am using 3.0x right now for my production site.

    Thanks all.

    2072 Views
Page: 1
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.