We've been having serious lag issues with page loads for a couple of weeks or so. I've been tailing my custom page load benchmarker log for a few days now (screenshot tweet
). It's not good. Most requests load in under 2 seconds but then... The mysql calls don't seem to be the culprit; it's the php runtime. This is most likely caused by other users on BotB's shared host account. My present theory is that some new site in this space is doing dumbs. But...
I've been with Dreamhost for about 15 years now. I have received, over the past couple years, on occasion, an email stating my user has exceeded memory limits over a thousand times. These emails give me options i.e. 1) ignore it; 2) optimize yer shit; 3) upgrade to VPS! and, so, maybe it's time for BotB to put its big boy pants on (sheesh the kid is 13 already PUT ON SOME PANTS!! :U) and move to a more isolated space.
I'm looking at Dreamhost's Basic VPS
plan. Plenty of RAM! W0W!~!! Not really info on the CPU power (and some understateed info about CPU minutes
wtf are those? what if i want websockets w/ node?). The real problem is the storage: BotB's battle/entry media is 100gb in size and said Basic Plan only offers 30gb. Boo. So I took a look at their Dream Objects
which is 2.5¢/gb/month so about $2.50/month. But then there's the bandwidth cost of 5¢/gb/month where BotB seems to average around 4.7 TERABYTES/month so $235/month. SERIOUS BOO. The VPS has unlimited bandwidth so let's go back there
: Pro VPS would hold everything but could be outgrown in a couple years. Enterprise VPS is $110/month so fuck that.
BEST CHEAPER SOLUTION?: go with the Business VPS which has 60gb of space and then cache commonly accessed media there copied from the archive cloudy guy. This sucks. It'd be awesome if it works! When will I have time? How long will the site be down while this is figured out? How much could I have finished before a switch over? How long would it take in the player to start if the VPS has to grab the media from the archive cloudy guy? Oh, and managing uploads of new media to the archive cloudy guy! D: