-
Google App Engine – Caching and Downtimes (Rant)
Posted on November 13th, 2008 1 commentGoogle App Engine:
“We will be taking memcache offline tomorrow morning from 9-10am PST (GMT-8) for routine maintenance. Calls to the memcache API will *not* throw exceptions but will instead return false for set() calls and None for get() calls (just like any other cache miss.) Your app should continue serving normally during this period, and
we’ll keep you updated on our progress.”Google writes this as though it’s “no biggie – we’re just disablin
g caching for an hour – your app will operate as normal”.If you’ve used App Engine, you know how ridiculous that is. You can’t operate an App Engine site without lots and lots of caching.
App Engine takes your generous daily quota and divides it up into tiny little minute or second long quotas. Their logic is something like this:
- You can eat 2000 calories in one day.
Hurray! That’s a lot of food! - It’s good to pace yourself and not eat it all at once.
Absolutely. You wouldn’t want to pig out on breakfast and not be able to eat anything else all day. - Therefore, we will only let you eat 1.4 calories per minute.
Well, f*ck. Pass me two thirds of a tic tac?
CareerCup gets about 10,000 page views per day – not the smallest site, but hardly the biggest. CareerCup cannot operate without heavy caching. By taking down caching, they took down my site for an hour. Not cool.
Now, Google could have mitigated this by removing the absurdly small quotas temporarily. CareerCup would have run slowly, but at least it would have run. Instead, though, users get punished for expensive-ish queries, with no chance to avoid it. Not cool.
This brings me to my next point:
Google, if you’re going to take down people’s sites, can you pick a better time than 9am – 10am? Try, perhaps, 2am – 3am? I know you don’t want to come into work at 2am. I know it’s not really Google culture to tell a team that they have to be at work and away from their families 2am. But you have to. You have real users operating real businesses, many of which are a whole lot bigger than CareerCup. We depend on you to keep our websites up.Google: Don’t act like taking down memcache doesn’t disable our sites. And don’t disable our sites at 9am when you could’ve done this 2am.
1 responses to “Google App Engine – Caching and Downtimes (Rant)”

-
The problem is NOT removing caching or the time at which it was removed. The problem IS YOU and your refusal to break up tasks into tiny itty-bitty tasks. When you have your application working locally that is just the fluff. Then the real work begins. If you are man enough to use Google’s services you will need to be prepared to spend more time breaking your application’s tasks into little pieces than you spent writing it in the first place. Sounds to me like you haven’t put in the time to use Google’s App Engine. Go back and spend a couple months breaking your app into more timeslices before you complain.
Leave a reply
- You can eat 2000 calories in one day.
William Deans November 11th, 2009 at 14:33