17488 Posts in 4473 Topics by 1978 members
|Go to End|
29 June 2008 at 8:47am
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.
3 July 2008 at 11:10pm
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).
Core Development Team
5 July 2008 at 12:42am Last edited: 5 July 2008 12:42am
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.
9 July 2008 at 3:30am
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.
Core Development Team
9 July 2008 at 8:23pm
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.
10 July 2008 at 3:32am
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).
10 July 2008 at 5:54am
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.
10 July 2008 at 11:22am Last edited: 10 July 2008 11:23am
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.
|Go to Top|