I used a tool call appstats.  I don't know if there's a java version of the
tool, but here's the python version:
https://developers.google.com/appengine/docs/python/tools/appstats

Installation requires a slight modification to the app.yaml and
appengine_config.py files.  The only other modification you might have to
make is to reduce your memory footprint.  Enabling appstats caused a small
percentage of my POST requests to exceed the soft memory limit.  I worked
around that by selectively disabling appstats for those requests.

Hope this helps.

On Tue, May 22, 2012 at 2:04 PM, Gayle Laakmann <[email protected]> wrote:

> I think I'm having the same issue.
>
> How did you get that look at memcache latency specifically?
>
> On May 22, 9:41 am, Rishi Arora <[email protected]> wrote:
> > Ah, I was mistaken.  The restriction is the other way round.  Py2.7
> > requires HRD.
> >
> > On Tue, May 22, 2012 at 11:24 AM, Joshua Smith <[email protected]
> >wrote:
> >
> >
> >
> >
> >
> >
> >
> > > HRD does not require Py2.7
> >
> > > On May 22, 2012, at 12:01 PM, Rishi Arora wrote:
> >
> > > Also, I imagine going to HRD would indirectly help my situation because
> > > I'll be forced to upgrade to python2.7.  So, while my instance is
> waiting
> > > forever for memcache to return some data, it would be available to
> service
> > > other requests, and keep the number of active instances low.  Am I
> correct
> > > in this reasoning?
> >
> > > On Tue, May 22, 2012 at 10:59 AM, Rishi Arora <
> [email protected]>wrote:
> >
> > >> My app usually consumes ~30 instance hours every day, and occasionally
> > >> spikes to ~35 when Master-Slave datastore latencies go up.  We will be
> > >> transitioning to HRD soon, but today large latency spikes have caused
> my
> > >> instance hours to reach ~50 already, in the first 9 hours of the day.
>  I
> > >> peeked at the appstats output to see where this spike is coming from,
> and
> > >> it appears to be memcache (see attached pic).  This seems absurd and
> not
> > >> something app operators should be expected to pay for.  Anybody else
> seen
> > >> this?
> >
> > >> Thanks in advance
> > >> - Rishi
> >
> > > --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "Google App Engine" group.
> > > To post to this group, send email to [email protected]
> .
> > > To unsubscribe from this group, send email to
> > > [email protected].
> > > 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 [email protected]
> .
> > > To unsubscribe from this group, send email to
> > > [email protected].
> > > 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 [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> 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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to