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