Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Anyone Using MediaTemple (GS)

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

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

Page: 1
Go to End
Author Topic: 4992 Views
  • morethanfire
    Avatar
    Community Member
    13 Posts

    Anyone Using MediaTemple (GS) Link to this post

    Hi,

    I am just seeing if anyone is using MediaTemple's GridService and it successfully is running ok without any really bad lag times. If you are can you explain on how you went about doing this. I have a very basic site that has silverstripe in the backend, but it's just awfully slow when loading. i have noticed though once you go to all pages using the navigation you can get to each page fast without the lag, but after a while it lags again. Let me know if you are. I am sort of considering Expression Engine if I can't get this issue fixed.

    Cameron

  • Ingo
    Avatar
    Forum Moderator
    801 Posts

    Re: Anyone Using MediaTemple (GS) Link to this post

    matt might have more info on this (he deployed a site for a large client using GS), but from what i recall: you have to make sure that all grid-instances use the same cache directory. otherwise a random page request on ~100 different instances is very likely to rebuild the template/class cache automatically (it expires after an hour, or after file modification).

  • Matt
    Avatar
    Core Development Team
    84 Posts

    Re: Anyone Using MediaTemple (GS) Link to this post

    Hi Cameron,

    I made this post on the Wiki which details what I had to do to get pages rendering in acceptable times.

    It's also worth noting that the (gs) Grid Service offering is just a collection of servers serving your request all from one location, and so if you live outside of the States, the site can often load quite slowly still.

    I had this issue with www.demconvention.com - even now it sometimes takes ~10 seconds to load for me in New Zealand, but out client in the States sees it load with ~2-3 seconds, including all images and Javascript etc.

  • morethanfire
    Avatar
    Community Member
    13 Posts

    Re: Anyone Using MediaTemple (GS) Link to this post

    Hi Matt, thanks for the reply. I have tried and successfully set up the cache folder. I have only one site using silverstripe currently right now and it is using the "domains/domain-name.com/html/silverstripe-cache" folder for the cache: there are four files in the folder currently right now that were generated automagically.

    Was there anything else you did or you can suggest? Maybe I did something wrong? I live in the US, California, which I think is where MediaTemple is located.

  • Matt
    Avatar
    Core Development Team
    84 Posts

    Re: Anyone Using MediaTemple (GS) Link to this post

    Hi Cameron,

    The reason it usually takes so long to load for us in NZ is because of the routing of traffic between their servers and us, so you should be fine.

    I'm not certain of what the problem could be if it is using silverstripe-cache as the cache directory, because that should be shared across all the servers. One thing you could try is deleting all the files out of the directory and see if it re-creates them when you next load a page on the site? And if it is creating them properly, can the web server access the files? I'm not sure how much you know about the Unix permission system, but if the web server can't access them then it will try and re-cache the files all the time.

    Matt.

  • morethanfire
    Avatar
    Community Member
    13 Posts

    Re: Anyone Using MediaTemple (GS) Link to this post

    Matt,

    I have deleted the files and they populated back into the folder once I visited the homepage. It took a while to load after deleting the cache still.

    How do you give permissions so that the server can access the files in that folder? The only thing I know how to do is set the permissions to 755, 777, and so on (owner, group, others).

    Cameron

  • vcmusic42
    Avatar
    Community Member
    22 Posts

    Re: Anyone Using MediaTemple (GS) Link to this post

    I'm not on MediaTemple, but you are not alone: http://www.silverstripe.com/site-builders-forum/flat/43294#post43294

    I'm on MediaLayer which has been lightning fast for other projects, and I've had a consistent lag when first loading SS pages, and sometimes the admin. I love SS and it seems like a small point, but 1-2 seconds is significant for picky clients and impatient visitors.

    I just tried to load the newest site in the Showcase - a blog with *no content,* and it took 6 seconds. And no, I'm not on dialup.

  • morethanfire
    Avatar
    Community Member
    13 Posts

    Re: Anyone Using MediaTemple (GS) Link to this post

    Yeah the lag with SS is pretty crappy. I had issues also on DreamHost with SS, but recently switched to MediaTemple about a couple months ago (for different reasons) and have not been able to figure out the problem with that initial load time. Hopefully Matt can let me know on his secrets on what he did for the Democrat site.

    Cameron

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