FWIW, GAE has always changed for datastore reads & writes, they just
upped the price.

It sounds like you have a fundamental architectural issue in that your
cache invalidation is too heavy-handed.  I would look for ways to
invalidate smaller parts of the cache, or put it on a schedule
(presumably you don't need *realtime* updates of the page content).  I
sympathize that GAE's old pricing model led you to an cost-inefficient
architecture, but I'm not sure you're going to do better on AWS -
pulling thousands of items per second out of a clunky EBS-backed MySQL
might be a problem at the bottom end of the budget.

Suerte,
Jeff

On Thu, Nov 3, 2011 at 12:21 PM, Xin Liu <v2ex.li...@me.com> wrote:
> My site's typical page is like this:
>
> http://www.v2ex.com/t/7577
>
> As you have seen, a topic with dozens replies, each reply carry 3 entities:
> reply, member and avatar. And there are other supporting dynamic elements on
> the page (most of them can be cached).
>
> But when someone replied to the topic, then it will trigger a lot memcached
> objects to be removed. For hot topics, memcached objects can just survive
> minutes or even seconds.
>
> And there could be 100+ or even 1000+ entities on one page.
>
> If I knew they're going to charge datastore reads/writes, I may think
> another way to write the code. But now, it's too painful to rewrite the
> whole site.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/0dfGjryGNWwJ.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to