[google-appengine] Re: Want better GAE downtime tracking / visibility??

2010-09-14 Thread Tim Hoffman
HI

I couldn't agree more.  Absolutely the single biggest issue I see with
app engine
is not feature set, performance or availability but the lack of
communication
when things  go wrong, and if you are in a appengine dead-zone trying
to get any
form acknowledgement that there is a problem.

I have lost count of the number of posts I have made along these
lines. (as you will
see about half way down this thread
http://groups.google.com.au/group/google-appengine/browse_thread/thread/ff1a8d0051b0bc64/d78e8ca4482c5ab2?q=#d78e8ca4482c5ab2
and 
http://groups.google.com.au/group/google-appengine/browse_thread/thread/23e988d494144242/8ff964f7ffcc0b37?q=#8ff964f7ffcc0b37)

Once it took over a week to get any form of acknowledgement.

And just for the record, I think appengine is great!

(I have starred this one)

T


On Sep 15, 2:16 pm, "Jan Z/ Hapara"  wrote:
> Star this:http://code.google.com/p/googleappengine/issues/detail?id=3725
>
> Like many of you, we rely on the GAE, as do our customers.  We feel
> that the GAE has an excellent overall uptime, and are in awe of the
> people who made GAE happen and keep it running on a daily basis.
>
> Some downtime is inevitable, and it's not important to us that GAE
> experiences occasional downtime.  What's important is how it is
> handled, and the communications around this (we feel) could use
> improvement.
>
> The "feature" request asks that Google provide regular and structured
> updates on outage handling.  By clicking on and "starring" the issue
> we can help Google quantify the demand for this sort of process, and
> make it easier to prioritize.
>
> So, if you want to see better tracking of downtime issues: open the
> link above, and click on the little star next to the "Issue: 3725"
> header title.
>
> J

-- 
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-appeng...@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.



[google-appengine] Annoyed with GAE System Status: Investigation Complete - Issue Resolved?

2010-09-14 Thread Jan Z/ Hapara
Star this: http://code.google.com/p/googleappengine/issues/detail?id=3726

The App Engine System Status frequently shows the following message:
---
Investigation Complete - Issue Resolved
We have determined that this spike did not affect the performance or
uptime of applications. If you feel we have incorrectly diagnosed this
issue please inform us by posting in our developer forum.
---

We appreciate that this accurately conveys the diagnostics output on
the back end, and that the tools that generate these are (presumably)
largely automated, but the wording of this message really needs to be
improved.  The text is simply not appropriate at times when the key
metric indicators are going red and apps are failing.

The "feature" request asks that Google change the wording of this
message.  By clicking on and "starring" the issue we can help Google
quantify the our collective frustration with this, and make it easier
to prioritize.

(There is a larger issue here relating to what triggers this message
in the first place, and if it is appropriate to display this when the
indicators are going red and apps are failing...)

J


-- 
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-appeng...@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.



[google-appengine] Want better GAE downtime tracking / visibility??

2010-09-14 Thread Jan Z/ Hapara
Star this: http://code.google.com/p/googleappengine/issues/detail?id=3725

Like many of you, we rely on the GAE, as do our customers.  We feel
that the GAE has an excellent overall uptime, and are in awe of the
people who made GAE happen and keep it running on a daily basis.

Some downtime is inevitable, and it's not important to us that GAE
experiences occasional downtime.  What's important is how it is
handled, and the communications around this (we feel) could use
improvement.

The "feature" request asks that Google provide regular and structured
updates on outage handling.  By clicking on and "starring" the issue
we can help Google quantify the demand for this sort of process, and
make it easier to prioritize.

So, if you want to see better tracking of downtime issues: open the
link above, and click on the little star next to the "Issue: 3725"
header title.

J

-- 
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-appeng...@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.



[google-appengine] Re: Do we have an ETA for the resolution of ongoing performance issues.

2010-09-14 Thread Tim Hoffman
Hi Ikai

I have been watching that, but it hadn't been updated for a very long
time.  (It has now though)
There just seemed to be deathly silence for over 4 hours ;-)

T

On Sep 15, 12:17 pm, "Ikai Lan (Google)" 
wrote:
> Hi Tim,
>
> You can track the progress here:
>
> http://groups.google.com/group/google-appengine-downtime-notify/brows...
>
> It's pretty hard to give an ETA, but we'd like to resolve this as soon as
> possible. We're seeing signs that the issues may have subsided, but we'd
> like a bit more confidence before giving the all clear.
>
>
>
>
>
>
>
> On Tue, Sep 14, 2010 at 6:49 PM, Tim Hoffman  wrote:
> > Hi
>
> >http://groups.google.com.au/group/google-appengine-downtime-notify/br...
> > was posted several hours ago, with no updates.
>
> > I certainly am experiencing significant ongoing issues with taskqueues
> > and datastore timeouts and half the time can't get to the dashboard.
>
> > I know someone must be working hard on this, but a little more detail
> > on progress, ie ETA to recovery would be really great
>
> > Thanks
>
> > Tim
>
> > --
> > 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-appeng...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com > e...@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-appeng...@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.



[google-appengine] Re: Do we have an ETA for the resolution of ongoing performance issues.

2010-09-14 Thread Raymond C.
As of 10:01pm (PDT, log msg time), my app is still generating a lot of
deadline exceeded error.  It happens like every 30min (not able to
backtrace too far since the log viewer is broken for me after paging)
and when it happens, all db put requests in that minute or two prompt
the error.

On Sep 15, 12:17 pm, "Ikai Lan (Google)" 
wrote:
> Hi Tim,
>
> You can track the progress here:
>
> http://groups.google.com/group/google-appengine-downtime-notify/brows...
>
> It's pretty hard to give an ETA, but we'd like to resolve this as soon as
> possible. We're seeing signs that the issues may have subsided, but we'd
> like a bit more confidence before giving the all clear.
>
>
>
> On Tue, Sep 14, 2010 at 6:49 PM, Tim Hoffman  wrote:
> > Hi
>
> >http://groups.google.com.au/group/google-appengine-downtime-notify/br...
> > was posted several hours ago, with no updates.
>
> > I certainly am experiencing significant ongoing issues with taskqueues
> > and datastore timeouts and half the time can't get to the dashboard.
>
> > I know someone must be working hard on this, but a little more detail
> > on progress, ie ETA to recovery would be really great
>
> > Thanks
>
> > Tim
>
> > --
> > 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-appeng...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com > e...@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-appeng...@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.



[google-appengine] Re: Request was aborted after waiting too long

2010-09-14 Thread Jan Z/ Hapara
What is the average response time from your app for normal requests?

If it is > 1000 msec, the GAE appears to become reluctant to start up
new VM's for you, the result being that requests queue up, and after
some period in the queue, are deemed "stale" and get kicked with this
error.

Want to test this assumption?  Flood your app with no-op requests that
don't do anything (use a URL no one would normally use, and just
return from the GET call).  If you have enough of these (simplest no-
op returns in < 50 msec), the math shifts your average to below 1000
msec, and presto.

It's a stupid solution to what's either an outright bug or an
overzealous  resource manager behind GAE, but it sure seems to cure
these.

J

On Sep 15, 4:46 am, David  wrote:
> I am seeing the mesage below frequently on my application.  The
> application ID is word-play.  It seems to have started happening in
> the past day or two, but before that I never saw it.  It looks like it
> waits for 10 seconds and then times out without using any cpu_ms.
> This is causing problems.  It says to "contact the App Engine team".
> Where/how do I do that?
>
> Thanks,
> David
>
> #0.0.0.0 - xyz [14/Sep/2010:09:04:06 -0700] "GET /play?
> p=111&g=407211&m=e,13,6/d,13,7 HTTP/1.1" 500 0 - "Xxx/1.0(Android
> 2.2),gzip(gfe)" "word-play.appspot.com:80" ms=10158 cpu_ms=0
> api_cpu_ms=0 cpm_usd=0.63
>
> #W 09-14 09:04AM 06.828
>
> Request was aborted after waiting too long to attempt to service your
> request. This may happen sporadically when the App Engine serving
> cluster is under unexpectedly high or uneven load. If you see this
> message frequently, please contact the App Engine team.

-- 
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-appeng...@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.



Re: [google-appengine] Do we have an ETA for the resolution of ongoing performance issues.

2010-09-14 Thread Ikai Lan (Google)
Hi Tim,

You can track the progress here:

http://groups.google.com/group/google-appengine-downtime-notify/browse_thread/thread/9cf3b0cafdd6c235

It's pretty hard to give an ETA, but we'd like to resolve this as soon as
possible. We're seeing signs that the issues may have subsided, but we'd
like a bit more confidence before giving the all clear.

On Tue, Sep 14, 2010 at 6:49 PM, Tim Hoffman  wrote:

> Hi
>
>
> http://groups.google.com.au/group/google-appengine-downtime-notify/browse_thread/thread/9cf3b0cafdd6c235
> was posted several hours ago, with no updates.
>
> I certainly am experiencing significant ongoing issues with taskqueues
> and datastore timeouts and half the time can't get to the dashboard.
>
> I know someone must be working hard on this, but a little more detail
> on progress, ie ETA to recovery would be really great
>
> Thanks
>
> Tim
>
> --
> 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-appeng...@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-appeng...@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.



[google-appengine] Re: Streaming Video from App Engine

2010-09-14 Thread CoolDude
any issues of using this technique so far? no 30s http limit?

-- 
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-appeng...@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.



[google-appengine] Do we have an ETA for the resolution of ongoing performance issues.

2010-09-14 Thread Tim Hoffman
Hi

http://groups.google.com.au/group/google-appengine-downtime-notify/browse_thread/thread/9cf3b0cafdd6c235
was posted several hours ago, with no updates.

I certainly am experiencing significant ongoing issues with taskqueues
and datastore timeouts and half the time can't get to the dashboard.

I know someone must be working hard on this, but a little more detail
on progress, ie ETA to recovery would be really great

Thanks

Tim

-- 
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-appeng...@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.



[google-appengine] Re: How can i allow user to download a zip file?

2010-09-14 Thread Bit Liner
I'm using java. not phyton.

On 14 Set, 06:39, Niklasro  wrote:
> On Sep 13, 12:40 am, Bit Liner  wrote:> i am developing 
> an app that uses two files, and the app needs one page
> > where user can download these two files compressed in a zip file.
>
> > But GAE doesn't support java.io, and i don't know how generate a path/
> > url that allows user to download this zip file.
>
> > Some help?
>
> With python we can generate zip files, so java should be able too.
> Here's how to gzip it in python
>
> zbuf = StringIO.StringIO()
> zfile = gzip.GzipFile(None, 'wb', 9, zbuf)
> zfile.write(buf)
> zfile.close()
> return zbuf.getvalue()

-- 
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-appeng...@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.



[google-appengine] Re: Increased CPU Time/Request after yesterdays maintenance?

2010-09-14 Thread mscwd01
Within the last 30 minutes, my apps are starting to perform much
better. No more errors and the cpu time per request is back to normal.

On 15 Sep, 01:22, "Ikai Lan (Google)" 
wrote:
> There's a thread we'll be updating:
>
> http://groups.google.com/group/google-appengine-downtime-notify/brows...
>
>
>
> On Tue, Sep 14, 2010 at 5:05 PM, David  wrote:
> > I am getting a large percentage of errors in my app yesterday and
> > today too. (appid: word-play)  I wasn't getting any of the throttling
> > errors before that.
>
> > --
> > 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-appeng...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com > e...@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-appeng...@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.



Re: [google-appengine] Re: Increased CPU Time/Request after yesterdays maintenance?

2010-09-14 Thread Ikai Lan (Google)
There's a thread we'll be updating:

http://groups.google.com/group/google-appengine-downtime-notify/browse_thread/thread/9cf3b0cafdd6c235

On Tue, Sep 14, 2010 at 5:05 PM, David  wrote:

> I am getting a large percentage of errors in my app yesterday and
> today too. (appid: word-play)  I wasn't getting any of the throttling
> errors before that.
>
> --
> 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-appeng...@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-appeng...@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.



[google-appengine] Re: High-Performance Image Serving Cache-Control

2010-09-14 Thread Peter Liu
You have to test it production. The headers on dev on all requests are
very different than in live.

I believe all the images from the live image server has a 1 day cache
expiration.

On Sep 14, 4:25 pm, Joseph Letness  wrote:
> Hi everybody,  I would like to allow browser caching of images served
> from get_serving_url().  I've had success using get_serving_url() for
> generating images and thumbnails but the Cache-Control is set to "no-
> cache" and the expiration dates are in the past (I've only implemented
> this functionality on the development server, I have not tried to
> deploy yet).
>
> Is there any way of setting the Cache-Control?  I can't seem to find
> any info in the documentation or with a general search, other than a
> reference to High-Performance Image Serving:  "It also handles setting
> proper Cache-Control headers so you don't have to worry about that."
>
> I'm using django (appenginepatch).
>
> Thanks, in advance!

-- 
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-appeng...@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.



[google-appengine] Re: Increased CPU Time/Request after yesterdays maintenance?

2010-09-14 Thread David
I am getting a large percentage of errors in my app yesterday and
today too. (appid: word-play)  I wasn't getting any of the throttling
errors before that.

-- 
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-appeng...@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.



[google-appengine] i'm eating my words on praising GAE team yesterday

2010-09-14 Thread Alan Xing
see what i said yesterday:
http://twitter.com/snsanalytics/statuses/24426274831

should i apologize to my 20k+ followers?

-- 
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-appeng...@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.



Re: [google-appengine] Re: Increased CPU Time/Request after yesterdays maintenance?

2010-09-14 Thread Alan Xing
DeadlineExceededError throughout all day today and and last night on app id
'snsanalytics' running Python.

Frequently, even the admin console is not accessible today.

On Tue, Sep 14, 2010 at 3:04 PM, Darien Caldwell
wrote:

> I had a large cluster of failures around 8PM to 8:30 PM yesterday
> (PST).  Then there was the issues at 5AM as you mentioned.
>
> I've since had clusters of issues at 8AM, 11 AM, 2PM
>
> I'm running on Python.  My App ID is slconductor
>
> Many failures are 500 Server error "The server encountered an error
> and could not complete your request."
> when they do get through, it's usually a Deadline Exceeded error, with
> the failure always in the same place:
>
> :
> Traceback (most recent call last):
>  File "/base/data/home/apps/slconductor/1-6.344784435568344209/
> cards.py", line 896, in main
>run_wsgi_app(application)
>  File "/base/python_runtime/python_lib/versions/1/google/appengine/
> ext/webapp/util.py", line 97, in run_wsgi_app
>run_bare_wsgi_app(add_wsgi_middleware(application))
>  File "/base/python_runtime/python_lib/versions/1/google/appengine/
> ext/webapp/util.py", line 115, in run_bare_wsgi_app
>result = application(env, _start_response)
>  File "/base/python_runtime/python_lib/versions/1/google/appengine/
> ext/webapp/__init__.py", line 511, in __call__
>handler.get(*groups)
>  File "/base/data/home/apps/slconductor/1-6.344784435568344209/
> cards.py", line 566, in get
>db.put([item_record, user_record])
>  File "/base/python_runtime/python_lib/versions/1/google/appengine/
> ext/db/__init__.py", line 1338, in put
>keys = datastore.Put(entities, rpc=rpc)
>  File "/base/python_runtime/python_lib/versions/1/google/appengine/
> api/datastore.py", line 291, in Put
>'datastore_v3', 'Put', req, datastore_pb.PutResponse(), rpc)
>  File "/base/python_runtime/python_lib/versions/1/google/appengine/
> api/datastore.py", line 194, in _MakeSyncCall
>rpc.wait()
>  File "/base/python_runtime/python_lib/versions/1/google/appengine/
> api/apiproxy_stub_map.py", line 460, in wait
>self.__rpc.Wait()
>  File "/base/python_runtime/python_lib/versions/1/google/appengine/
> api/apiproxy_rpc.py", line 112, in Wait
>rpc_completed = self._WaitImpl()
>  File "/base/python_runtime/python_lib/versions/1/google/appengine/
> runtime/apiproxy.py", line 108, in _WaitImpl
>rpc_completed = _apphosting_runtime___python__apiproxy.Wait(self)
>
>
> I may see 1 error a week. it's been error after error all day.
>
>
> On Sep 14, 1:45 pm, "Ikai Lan (Google)" 
> 
> >
> wrote:
> > Can you guys list how often you guys see these? Here's some information
> > that'd be helpful for us:
> >
> >  - What % of your requests return "Request was aborted"? Is it happening
> at
> > specific times? Java or Python?
> > - App ID
> >
> > There was a latency spike around 4am (
> http://groups.google.com/group/google-appengine-downtime-notify/brows...)
> > and a minor spike about 6 hours after that.
> >
> >
> >
> > On Tue, Sep 14, 2010 at 1:36 PM, Arny  wrote:
> > > We're having the same issue.
> >
> > > Worked fine until the maintenance, as far I remember.
> > > Now our logs are filled with:
> >
> > > #
> > > # Request was aborted after waiting too long to attempt to service
> > > your request. This may happen sporadically when the App Engine serving
> > > cluster is under unexpectedly high or uneven load. If you see this
> > > message frequently, please contact the App Engine team.
> > > #
> >
> > > Even we do only get about 8-10 requests/sec and all our responses are
> > > memcached.
> >
> > > Any word from the AppEngine Team?
> >
> > > On Sep 14, 11:14 am, mscwd01  wrote:
> > > > Hey,
> >
> > > > This may just be a coincidence but my average CPU time per request
> has
> > > > risen noticably since yesterdays maintenance. Whereas my average was
> > > > 250-300ms, it now takes on average 500-600ms. This is the exact same
> > > > resource without any changes made, so I cannot seem to work out why
> > > > this would be. Has anyone else noticed this?
> >
> > > > Thanks
> >
> > > --
> > > 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 e...@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-appeng...@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.
>
>


-- 
http://twitter.com/alanxing
http://twitter.com/xinghailiang
http://facebook.com/alanxing
http

[google-appengine] Re: Problems with App Engine today - Can we get an explanation?

2010-09-14 Thread mscwd01
Datastore PUTs are the problem, taking 250ms to persist a simple
object is not normal...

On Sep 15, 12:24 am, "Raymond C."  wrote:
> Still getting a large amount of timeout on db put.  Hope someone at
> google is working on it.
>
> On Sep 15, 6:42 am, Kenneth  wrote:
>
> > Someone in Google has tried turning it on and off again.  Things are
> > really flying now.
>
> > I would just ask Google to stop with the standard "We have determined
> > that this spike did not affect the performance or uptime of
> > applications."  Please change that default message to something a
> > little more vague and less insulting.
>
> > Thanks!
>
> > On Sep 14, 10:48 pm, Kenneth  wrote:
>
> > > Now the status site is just returning a blank page and the rate of 500
> > > errors has gone up significantly.
>
> > > I can't believe that downtime notice thinks this issue is over.  My
> > > app is barely usable.
>
> > > Come on Google, give us something better.  At least let us know you
> > > know there's an ongoing serious problem.
>
> > > On Sep 14, 8:16 pm, Michael Robellard  wrote:
>
> > > > I am seeing thousands of errors(all timeouts of one type or another)
> > > > on requests that typically have less than 100 errors a day. My CPU
> > > > usage per second is up 20% since the failure this morning. These are
> > > > requests that usually take less than a second and they are reaching
> > > > the 30 second mark.
>
> > > > On Sep 14, 3:04 pm, mscwd01  wrote:
>
> > > > > Hi,
>
> > > > > Can we get an official word on why the App Engine has performed so
> > > > > poorly today?
>
> > > > > My app has seen hundreds of HTTP 500 errors, is running approximately
> > > > > twice as slow (CPU time/request) as yesterday (PUTs are very slow),
> > > > > had many "HardDeadlineExceededError" errors and stats tools such as
> > > > > AppStats don't appear to be working for me (displays "real" time but
> > > > > not cpu time).
>
> > > > > It'd be reassuring to know why these problems are occurring and what
> > > > > is being done to fix these and stop the happening again.
>
> > > > > Thanks

-- 
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-appeng...@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.



[google-appengine] High-Performance Image Serving Cache-Control

2010-09-14 Thread Joseph Letness
Hi everybody,  I would like to allow browser caching of images served
from get_serving_url().  I've had success using get_serving_url() for
generating images and thumbnails but the Cache-Control is set to "no-
cache" and the expiration dates are in the past (I've only implemented
this functionality on the development server, I have not tried to
deploy yet).

Is there any way of setting the Cache-Control?  I can't seem to find
any info in the documentation or with a general search, other than a
reference to High-Performance Image Serving:  "It also handles setting
proper Cache-Control headers so you don't have to worry about that."

I'm using django (appenginepatch).

Thanks, in advance!

-- 
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-appeng...@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.



[google-appengine] Re: Problems with App Engine today - Can we get an explanation?

2010-09-14 Thread Raymond C.
Still getting a large amount of timeout on db put.  Hope someone at
google is working on it.

On Sep 15, 6:42 am, Kenneth  wrote:
> Someone in Google has tried turning it on and off again.  Things are
> really flying now.
>
> I would just ask Google to stop with the standard "We have determined
> that this spike did not affect the performance or uptime of
> applications."  Please change that default message to something a
> little more vague and less insulting.
>
> Thanks!
>
> On Sep 14, 10:48 pm, Kenneth  wrote:
>
>
>
> > Now the status site is just returning a blank page and the rate of 500
> > errors has gone up significantly.
>
> > I can't believe that downtime notice thinks this issue is over.  My
> > app is barely usable.
>
> > Come on Google, give us something better.  At least let us know you
> > know there's an ongoing serious problem.
>
> > On Sep 14, 8:16 pm, Michael Robellard  wrote:
>
> > > I am seeing thousands of errors(all timeouts of one type or another)
> > > on requests that typically have less than 100 errors a day. My CPU
> > > usage per second is up 20% since the failure this morning. These are
> > > requests that usually take less than a second and they are reaching
> > > the 30 second mark.
>
> > > On Sep 14, 3:04 pm, mscwd01  wrote:
>
> > > > Hi,
>
> > > > Can we get an official word on why the App Engine has performed so
> > > > poorly today?
>
> > > > My app has seen hundreds of HTTP 500 errors, is running approximately
> > > > twice as slow (CPU time/request) as yesterday (PUTs are very slow),
> > > > had many "HardDeadlineExceededError" errors and stats tools such as
> > > > AppStats don't appear to be working for me (displays "real" time but
> > > > not cpu time).
>
> > > > It'd be reassuring to know why these problems are occurring and what
> > > > is being done to fix these and stop the happening again.
>
> > > > Thanks

-- 
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-appeng...@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.



[google-appengine] Re: Problems with App Engine today - Can we get an explanation?

2010-09-14 Thread Kenneth
Someone in Google has tried turning it on and off again.  Things are
really flying now.

I would just ask Google to stop with the standard "We have determined
that this spike did not affect the performance or uptime of
applications."  Please change that default message to something a
little more vague and less insulting.

Thanks!


On Sep 14, 10:48 pm, Kenneth  wrote:
> Now the status site is just returning a blank page and the rate of 500
> errors has gone up significantly.
>
> I can't believe that downtime notice thinks this issue is over.  My
> app is barely usable.
>
> Come on Google, give us something better.  At least let us know you
> know there's an ongoing serious problem.
>
> On Sep 14, 8:16 pm, Michael Robellard  wrote:
>
>
>
>
>
>
>
> > I am seeing thousands of errors(all timeouts of one type or another)
> > on requests that typically have less than 100 errors a day. My CPU
> > usage per second is up 20% since the failure this morning. These are
> > requests that usually take less than a second and they are reaching
> > the 30 second mark.
>
> > On Sep 14, 3:04 pm, mscwd01  wrote:
>
> > > Hi,
>
> > > Can we get an official word on why the App Engine has performed so
> > > poorly today?
>
> > > My app has seen hundreds of HTTP 500 errors, is running approximately
> > > twice as slow (CPU time/request) as yesterday (PUTs are very slow),
> > > had many "HardDeadlineExceededError" errors and stats tools such as
> > > AppStats don't appear to be working for me (displays "real" time but
> > > not cpu time).
>
> > > It'd be reassuring to know why these problems are occurring and what
> > > is being done to fix these and stop the happening again.
>
> > > Thanks

-- 
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-appeng...@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.



[google-appengine] Re: Increased CPU Time/Request after yesterdays maintenance?

2010-09-14 Thread Darien Caldwell
I had a large cluster of failures around 8PM to 8:30 PM yesterday
(PST).  Then there was the issues at 5AM as you mentioned.

I've since had clusters of issues at 8AM, 11 AM, 2PM

I'm running on Python.  My App ID is slconductor

Many failures are 500 Server error "The server encountered an error
and could not complete your request."
when they do get through, it's usually a Deadline Exceeded error, with
the failure always in the same place:

:
Traceback (most recent call last):
  File "/base/data/home/apps/slconductor/1-6.344784435568344209/
cards.py", line 896, in main
run_wsgi_app(application)
  File "/base/python_runtime/python_lib/versions/1/google/appengine/
ext/webapp/util.py", line 97, in run_wsgi_app
run_bare_wsgi_app(add_wsgi_middleware(application))
  File "/base/python_runtime/python_lib/versions/1/google/appengine/
ext/webapp/util.py", line 115, in run_bare_wsgi_app
result = application(env, _start_response)
  File "/base/python_runtime/python_lib/versions/1/google/appengine/
ext/webapp/__init__.py", line 511, in __call__
handler.get(*groups)
  File "/base/data/home/apps/slconductor/1-6.344784435568344209/
cards.py", line 566, in get
db.put([item_record, user_record])
  File "/base/python_runtime/python_lib/versions/1/google/appengine/
ext/db/__init__.py", line 1338, in put
keys = datastore.Put(entities, rpc=rpc)
  File "/base/python_runtime/python_lib/versions/1/google/appengine/
api/datastore.py", line 291, in Put
'datastore_v3', 'Put', req, datastore_pb.PutResponse(), rpc)
  File "/base/python_runtime/python_lib/versions/1/google/appengine/
api/datastore.py", line 194, in _MakeSyncCall
rpc.wait()
  File "/base/python_runtime/python_lib/versions/1/google/appengine/
api/apiproxy_stub_map.py", line 460, in wait
self.__rpc.Wait()
  File "/base/python_runtime/python_lib/versions/1/google/appengine/
api/apiproxy_rpc.py", line 112, in Wait
rpc_completed = self._WaitImpl()
  File "/base/python_runtime/python_lib/versions/1/google/appengine/
runtime/apiproxy.py", line 108, in _WaitImpl
rpc_completed = _apphosting_runtime___python__apiproxy.Wait(self)


I may see 1 error a week. it's been error after error all day.


On Sep 14, 1:45 pm, "Ikai Lan (Google)" 
wrote:
> Can you guys list how often you guys see these? Here's some information
> that'd be helpful for us:
>
>  - What % of your requests return "Request was aborted"? Is it happening at
> specific times? Java or Python?
> - App ID
>
> There was a latency spike around 4am 
> (http://groups.google.com/group/google-appengine-downtime-notify/brows...)
> and a minor spike about 6 hours after that.
>
>
>
> On Tue, Sep 14, 2010 at 1:36 PM, Arny  wrote:
> > We're having the same issue.
>
> > Worked fine until the maintenance, as far I remember.
> > Now our logs are filled with:
>
> > #
> > # Request was aborted after waiting too long to attempt to service
> > your request. This may happen sporadically when the App Engine serving
> > cluster is under unexpectedly high or uneven load. If you see this
> > message frequently, please contact the App Engine team.
> > #
>
> > Even we do only get about 8-10 requests/sec and all our responses are
> > memcached.
>
> > Any word from the AppEngine Team?
>
> > On Sep 14, 11:14 am, mscwd01  wrote:
> > > Hey,
>
> > > This may just be a coincidence but my average CPU time per request has
> > > risen noticably since yesterdays maintenance. Whereas my average was
> > > 250-300ms, it now takes on average 500-600ms. This is the exact same
> > > resource without any changes made, so I cannot seem to work out why
> > > this would be. Has anyone else noticed this?
>
> > > Thanks
>
> > --
> > 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-appeng...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com > e...@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-appeng...@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.



[google-appengine] Re: Problems with App Engine today - Can we get an explanation?

2010-09-14 Thread herbie

I'm getting errors today too.  No changes in my app for months.

My errors are related to using sharded counters (using the well
document shd_counter,py code). . Keep getting a  TimeOut  in
RunInTransaction

Traceback (most recent call last):
...
...
  File "/base/data/home/apps/../shd_counter.py", line 47, in incr
db.run_in_transaction(txn)
  File "/base/python_runtime/python_lib/versions/1/google/appengine/
api/datastore.py", line 2197, in RunInTransaction
DEFAULT_TRANSACTION_RETRIES, function, *args, **kwargs)
  File "/base/python_runtime/python_lib/versions/1/google/appengine/
api/datastore.py", line 2319, in RunInTransactionCustomRetries
raise _ToDatastoreError(err)
Timeout: The datastore operation timed out, or the data was
temporarily unavailable.

-- 
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-appeng...@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.



[google-appengine] Re: Increased CPU Time/Request after yesterdays maintenance?

2010-09-14 Thread mscwd01
Java

12% of all requests (several thousand) have resulted in an error.

Not sure of the specific cause but most errors are 500 errors being
returned. My biggest moan would have to be the huge increase in cpu
time used which is being caused by PUT requests made to the datastore
taking AGES to complete. Yesterday my resource would use approximately
300ms in total, today a single PUT (of which I have three) is taking
anywhere between 300ms and 400ms - it's just not acceptable.

On Sep 14, 10:25 pm, coltsith  wrote:
> java
>
> % Errors last 14 hrs
> 
> 2.9%
> 2.1%
> 1.4%
> 1.2%
> 1.1%
> 0.8%
> 0.6%
> 0.7%
>
> On Sep 14, 9:59 pm, Arny  wrote:
>
> > Our data:
> > appid radiodeck, java
>
> > ###
> > URI
>
> > Count
>
> > % Errors
> > last 14 hrs
> > /api/2c56a38fe84d6336b9a2099409313901/json/
> > 669     3.0%
> > /api/2c56a38fe84d6336b9a2099409313901/json/station/aglyYWRpb
> > 259     2.3%
>
> > 
> > ###
>
> > We never saw that many errors yet.
>
> > On Sep 14, 10:45 pm, "Ikai Lan (Google)" 
> > wrote:
>
> > > Can you guys list how often you guys see these? Here's some information
> > > that'd be helpful for us:
>
> > >  - What % of your requests return "Request was aborted"? Is it happening 
> > > at
> > > specific times? Java or Python?
> > > - App ID
>
> > > There was a latency spike around 4am 
> > > (http://groups.google.com/group/google-appengine-downtime-notify/brows...)
> > > and a minor spike about 6 hours after that.
>
> > > On Tue, Sep 14, 2010 at 1:36 PM, Arny  wrote:
> > > > We're having the same issue.
>
> > > > Worked fine until the maintenance, as far I remember.
> > > > Now our logs are filled with:
>
> > > > #
> > > > # Request was aborted after waiting too long to attempt to service
> > > > your request. This may happen sporadically when the App Engine serving
> > > > cluster is under unexpectedly high or uneven load. If you see this
> > > > message frequently, please contact the App Engine team.
> > > > #
>
> > > > Even we do only get about 8-10 requests/sec and all our responses are
> > > > memcached.
>
> > > > Any word from the AppEngine Team?
>
> > > > On Sep 14, 11:14 am, mscwd01  wrote:
> > > > > Hey,
>
> > > > > This may just be a coincidence but my average CPU time per request has
> > > > > risen noticably since yesterdays maintenance. Whereas my average was
> > > > > 250-300ms, it now takes on average 500-600ms. This is the exact same
> > > > > resource without any changes made, so I cannot seem to work out why
> > > > > this would be. Has anyone else noticed this?
>
> > > > > Thanks
>
> > > > --
> > > > 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-appeng...@googlegroups.com.
> > > > To unsubscribe from this group, send email to
> > > > google-appengine+unsubscr...@googlegroups.com > > >  e...@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-appeng...@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.



[google-appengine] Re: Problems with App Engine today - Can we get an explanation?

2010-09-14 Thread Kenneth
Now the status site is just returning a blank page and the rate of 500
errors has gone up significantly.

I can't believe that downtime notice thinks this issue is over.  My
app is barely usable.

Come on Google, give us something better.  At least let us know you
know there's an ongoing serious problem.


On Sep 14, 8:16 pm, Michael Robellard  wrote:
> I am seeing thousands of errors(all timeouts of one type or another)
> on requests that typically have less than 100 errors a day. My CPU
> usage per second is up 20% since the failure this morning. These are
> requests that usually take less than a second and they are reaching
> the 30 second mark.
>
> On Sep 14, 3:04 pm, mscwd01  wrote:
>
>
>
>
>
>
>
> > Hi,
>
> > Can we get an official word on why the App Engine has performed so
> > poorly today?
>
> > My app has seen hundreds of HTTP 500 errors, is running approximately
> > twice as slow (CPU time/request) as yesterday (PUTs are very slow),
> > had many "HardDeadlineExceededError" errors and stats tools such as
> > AppStats don't appear to be working for me (displays "real" time but
> > not cpu time).
>
> > It'd be reassuring to know why these problems are occurring and what
> > is being done to fix these and stop the happening again.
>
> > Thanks

-- 
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-appeng...@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.



[google-appengine] Re: Application stuck in "awaiting recurring charge cancellation" for 2 months.

2010-09-14 Thread David W.
Hi Robert,

I'd filed a billing support request, but now there is also a
production bug.

Thanks,


David

On Sep 13, 7:18 pm, Robert Kluin  wrote:
> Have you tried 
> either:http://code.google.com/p/googleappengine/issues/entry?template=Produc...
> orhttp://code.google.com/support/bin/request.py?contact_type=AppEngineB...
>
> Robert
>
> On Mon, Sep 13, 2010 at 12:25, David W.  wrote:
> > My application is still down hard. Anyone?
>
> > My (toy) application is a sitting duck right now – I wouldn't even
> > remotely consider recommending App Engine, even for toys, with crap
> > like this going on.
>
> > David
>
> > On Sep 9, 8:34 pm, "David W."  wrote:
> >> My card number changed, leaving an outstanding charge of 1 cent for my
> >> application, that I cannot clear or request more quota since disabling
> >> billing.
>
> >> Can someone poke it, add interest to the cent, or whatever? AppId is
> >> twitdiff. :)
>
> >> David
>
> > --
> > 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-appeng...@googlegroups.com.
> > To unsubscribe from this group, send email to 
> > google-appengine+unsubscr...@googlegroups.com.
> > For more options, visit this group 
> > athttp://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-appeng...@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.



[google-appengine] Re: Increased CPU Time/Request after yesterdays maintenance?

2010-09-14 Thread coltsith
java

% Errors last 14 hrs

2.9%
2.1%
1.4%
1.2%
1.1%
0.8%
0.6%
0.7%

On Sep 14, 9:59 pm, Arny  wrote:
> Our data:
> appid radiodeck, java
>
> ###
> URI
>
> Count
>
> % Errors
> last 14 hrs
> /api/2c56a38fe84d6336b9a2099409313901/json/
> 669     3.0%
> /api/2c56a38fe84d6336b9a2099409313901/json/station/aglyYWRpb
> 259     2.3%
>
> 
> ###
>
> We never saw that many errors yet.
>
> On Sep 14, 10:45 pm, "Ikai Lan (Google)" 
> wrote:
>
>
>
> > Can you guys list how often you guys see these? Here's some information
> > that'd be helpful for us:
>
> >  - What % of your requests return "Request was aborted"? Is it happening at
> > specific times? Java or Python?
> > - App ID
>
> > There was a latency spike around 4am 
> > (http://groups.google.com/group/google-appengine-downtime-notify/brows...)
> > and a minor spike about 6 hours after that.
>
> > On Tue, Sep 14, 2010 at 1:36 PM, Arny  wrote:
> > > We're having the same issue.
>
> > > Worked fine until the maintenance, as far I remember.
> > > Now our logs are filled with:
>
> > > #
> > > # Request was aborted after waiting too long to attempt to service
> > > your request. This may happen sporadically when the App Engine serving
> > > cluster is under unexpectedly high or uneven load. If you see this
> > > message frequently, please contact the App Engine team.
> > > #
>
> > > Even we do only get about 8-10 requests/sec and all our responses are
> > > memcached.
>
> > > Any word from the AppEngine Team?
>
> > > On Sep 14, 11:14 am, mscwd01  wrote:
> > > > Hey,
>
> > > > This may just be a coincidence but my average CPU time per request has
> > > > risen noticably since yesterdays maintenance. Whereas my average was
> > > > 250-300ms, it now takes on average 500-600ms. This is the exact same
> > > > resource without any changes made, so I cannot seem to work out why
> > > > this would be. Has anyone else noticed this?
>
> > > > Thanks
>
> > > --
> > > 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-appeng...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > google-appengine+unsubscr...@googlegroups.com > >  e...@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-appeng...@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.



[google-appengine] Re: Increased CPU Time/Request after yesterdays maintenance?

2010-09-14 Thread Arny
Our data:
appid radiodeck, java

###
URI

Count

% Errors
last 14 hrs
/api/2c56a38fe84d6336b9a2099409313901/json/
669 3.0%
/api/2c56a38fe84d6336b9a2099409313901/json/station/aglyYWRpb
259 2.3%


###

We never saw that many errors yet.


On Sep 14, 10:45 pm, "Ikai Lan (Google)" 
wrote:
> Can you guys list how often you guys see these? Here's some information
> that'd be helpful for us:
>
>  - What % of your requests return "Request was aborted"? Is it happening at
> specific times? Java or Python?
> - App ID
>
> There was a latency spike around 4am 
> (http://groups.google.com/group/google-appengine-downtime-notify/brows...)
> and a minor spike about 6 hours after that.
>
>
>
> On Tue, Sep 14, 2010 at 1:36 PM, Arny  wrote:
> > We're having the same issue.
>
> > Worked fine until the maintenance, as far I remember.
> > Now our logs are filled with:
>
> > #
> > # Request was aborted after waiting too long to attempt to service
> > your request. This may happen sporadically when the App Engine serving
> > cluster is under unexpectedly high or uneven load. If you see this
> > message frequently, please contact the App Engine team.
> > #
>
> > Even we do only get about 8-10 requests/sec and all our responses are
> > memcached.
>
> > Any word from the AppEngine Team?
>
> > On Sep 14, 11:14 am, mscwd01  wrote:
> > > Hey,
>
> > > This may just be a coincidence but my average CPU time per request has
> > > risen noticably since yesterdays maintenance. Whereas my average was
> > > 250-300ms, it now takes on average 500-600ms. This is the exact same
> > > resource without any changes made, so I cannot seem to work out why
> > > this would be. Has anyone else noticed this?
>
> > > Thanks
>
> > --
> > 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-appeng...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com > e...@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-appeng...@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.



[google-appengine] Re: Increased CPU Time/Request after yesterdays maintenance?

2010-09-14 Thread Jason C
Our app (appid steprep, python) has been exploding all day with
DeadlineExceededErrors. Here is a snippet of the error rate from our
Dashboard:

URI

Count

% Errors
last 14 hrs
/_ah/queue/deferred
5790036%
/exec-reports/queue/generate-pdf
1542781%
/exec-reports/queue/generate-email
1007174%
/exec-reports/queue/send-email
8758 71%
/exec-reports/queue/increment-counter
7797 68%
/mgmt/alerts/worker/
1190 42%

Those failure rates are normally < 2%.

I'm a bit shocked that you don't see this at your end?

j

On Sep 14, 2:45 pm, "Ikai Lan (Google)" 
wrote:
> Can you guys list how often you guys see these? Here's some information
> that'd be helpful for us:
>
>  - What % of your requests return "Request was aborted"? Is it happening at
> specific times? Java or Python?
> - App ID
>
> There was a latency spike around 4am 
> (http://groups.google.com/group/google-appengine-downtime-notify/brows...)
> and a minor spike about 6 hours after that.
>
>
>
> On Tue, Sep 14, 2010 at 1:36 PM, Arny  wrote:
> > We're having the same issue.
>
> > Worked fine until the maintenance, as far I remember.
> > Now our logs are filled with:
>
> > #
> > # Request was aborted after waiting too long to attempt to service
> > your request. This may happen sporadically when the App Engine serving
> > cluster is under unexpectedly high or uneven load. If you see this
> > message frequently, please contact the App Engine team.
> > #
>
> > Even we do only get about 8-10 requests/sec and all our responses are
> > memcached.
>
> > Any word from the AppEngine Team?
>
> > On Sep 14, 11:14 am, mscwd01  wrote:
> > > Hey,
>
> > > This may just be a coincidence but my average CPU time per request has
> > > risen noticably since yesterdays maintenance. Whereas my average was
> > > 250-300ms, it now takes on average 500-600ms. This is the exact same
> > > resource without any changes made, so I cannot seem to work out why
> > > this would be. Has anyone else noticed this?
>
> > > Thanks
>
> > --
> > 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-appeng...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com > e...@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-appeng...@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.



[google-appengine] Please Stop Throttling my App!

2010-09-14 Thread Coding Social
Hi,

I have had appid mapthislink for many months now.  Recently my
extensions that use this web service to unwind urls have been featured
by Google Chrome and Apple Safari so usage is up substantially.

Can someone turn off the throttle?  Causing latency and 13% error
rate.

Thank you.

-- 
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-appeng...@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.



Re: [google-appengine] Re: Increased CPU Time/Request after yesterdays maintenance?

2010-09-14 Thread Ikai Lan (Google)
Can you guys list how often you guys see these? Here's some information
that'd be helpful for us:

 - What % of your requests return "Request was aborted"? Is it happening at
specific times? Java or Python?
- App ID

There was a latency spike around 4am (
http://groups.google.com/group/google-appengine-downtime-notify/browse_thread/thread/7a9705743782ce81)
and a minor spike about 6 hours after that.

On Tue, Sep 14, 2010 at 1:36 PM, Arny  wrote:

> We're having the same issue.
>
> Worked fine until the maintenance, as far I remember.
> Now our logs are filled with:
>
> #
> # Request was aborted after waiting too long to attempt to service
> your request. This may happen sporadically when the App Engine serving
> cluster is under unexpectedly high or uneven load. If you see this
> message frequently, please contact the App Engine team.
> #
>
> Even we do only get about 8-10 requests/sec and all our responses are
> memcached.
>
> Any word from the AppEngine Team?
>
> On Sep 14, 11:14 am, mscwd01  wrote:
> > Hey,
> >
> > This may just be a coincidence but my average CPU time per request has
> > risen noticably since yesterdays maintenance. Whereas my average was
> > 250-300ms, it now takes on average 500-600ms. This is the exact same
> > resource without any changes made, so I cannot seem to work out why
> > this would be. Has anyone else noticed this?
> >
> > Thanks
>
> --
> 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-appeng...@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-appeng...@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.



[google-appengine] Re: Increased CPU Time/Request after yesterdays maintenance?

2010-09-14 Thread Arny
We're having the same issue.

Worked fine until the maintenance, as far I remember.
Now our logs are filled with:

#
# Request was aborted after waiting too long to attempt to service
your request. This may happen sporadically when the App Engine serving
cluster is under unexpectedly high or uneven load. If you see this
message frequently, please contact the App Engine team.
#

Even we do only get about 8-10 requests/sec and all our responses are
memcached.

Any word from the AppEngine Team?

On Sep 14, 11:14 am, mscwd01  wrote:
> Hey,
>
> This may just be a coincidence but my average CPU time per request has
> risen noticably since yesterdays maintenance. Whereas my average was
> 250-300ms, it now takes on average 500-600ms. This is the exact same
> resource without any changes made, so I cannot seem to work out why
> this would be. Has anyone else noticed this?
>
> Thanks

-- 
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-appeng...@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.



Re: [google-appengine] Re: Can Google CDNs cache dynamically generated files ?

2010-09-14 Thread Francois MASUREL
Thanx Ikai, that was the final answer we were waiting for.

We now have a good solution for serving more than 3000 GWT generated files
efficiently :-)

François


On Tue, Sep 14, 2010 at 22:12, Ikai Lan (Google)

> wrote:

> I wouldn't call it a CDN, but the caching infrastructure at Google may hold
> on to static assets with the correct headers set. One of the key benefits
> here is that you won't be charged CPU time for serving the asset, though
> bandwidth charges will still be applied. This is only a best effort caching
> and is not guaranteed, so in the worst case scenario the caching
> infrastructure will not hold on to your data and the requests will still be
> routed to your application instances.
>
> On Tue, Sep 14, 2010 at 12:57 PM, Francois MASUREL wrote:
>
>> Full answer there :
>>
>> http://www.kyle-jensen.com/proxy-caching-on-google-appengine
>>
>>
>>
>>
>> On Tue, Sep 14, 2010 at 21:47, Stephen  wrote:
>>
>>>
>>>
>>> On Sep 13, 5:25 pm, Francois Masurel  wrote:
>>> > Let me explain :
>>> >
>>> > I have potentially too many (> 3000) GWT generated files in my java
>>> > application.  I've already packed all my java classes in a jar.
>>> >
>>> > So I made a zip of all these files and implemented a servlet to serve
>>> > them dynamically.
>>> >
>>> > The servlet url-pattern matches an include path defined in my
>>> > appengine-web.xml static-files block.
>>> >
>>> > The question is : will the files served by my servlet be cached on
>>> > Google CDNs as supposed in this thread :
>>> >
>>> > http://groups.google.com/group/google-appengine/browse_thread/thread/.
>>> ..
>>> >
>>> > It doesn't seem to be the case as each time I purge my browser cache,
>>> > the files are served again from my servlet.
>>>
>>>
>>> http://code.google.com/p/googleappengine/issues/detail?id=2258
>>>
>>> --
>>> 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-appeng...@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-appeng...@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-appeng...@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-appeng...@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.



Re: [google-appengine] Re: Can Google CDNs cache dynamically generated files ?

2010-09-14 Thread Ikai Lan (Google)
I wouldn't call it a CDN, but the caching infrastructure at Google may hold
on to static assets with the correct headers set. One of the key benefits
here is that you won't be charged CPU time for serving the asset, though
bandwidth charges will still be applied. This is only a best effort caching
and is not guaranteed, so in the worst case scenario the caching
infrastructure will not hold on to your data and the requests will still be
routed to your application instances.

On Tue, Sep 14, 2010 at 12:57 PM, Francois MASUREL wrote:

> Full answer there :
>
> http://www.kyle-jensen.com/proxy-caching-on-google-appengine
>
>
>
>
> On Tue, Sep 14, 2010 at 21:47, Stephen  wrote:
>
>>
>>
>> On Sep 13, 5:25 pm, Francois Masurel  wrote:
>> > Let me explain :
>> >
>> > I have potentially too many (> 3000) GWT generated files in my java
>> > application.  I've already packed all my java classes in a jar.
>> >
>> > So I made a zip of all these files and implemented a servlet to serve
>> > them dynamically.
>> >
>> > The servlet url-pattern matches an include path defined in my
>> > appengine-web.xml static-files block.
>> >
>> > The question is : will the files served by my servlet be cached on
>> > Google CDNs as supposed in this thread :
>> >
>> > http://groups.google.com/group/google-appengine/browse_thread/thread/.
>> ..
>> >
>> > It doesn't seem to be the case as each time I purge my browser cache,
>> > the files are served again from my servlet.
>>
>>
>> http://code.google.com/p/googleappengine/issues/detail?id=2258
>>
>> --
>> 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-appeng...@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-appeng...@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-appeng...@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.



Re: [google-appengine] Re: 502 Bad Gateway from High Performance Images

2010-09-14 Thread Ikai Lan (Google)
Do you have any times for when the wrong image was being served? If it's
within ~5 minutes that helps a lot.

On Tue, Sep 14, 2010 at 11:57 AM, jorge  wrote:

> Here's an example of one of the corrupted images:
>
>
> http://commondatastorage.googleapis.com/jorge/Screen%20shot%202010-09-14%20at%2011.43.53%20AM.png
>
> And this is the URL for it:
>
>
> http://lh5.ggpht.com/44WJv1aPhOXAXixYbwNj_MV60aTQFzECDMtAauLqkhrJ82d6XdWpyodcZ9k3mehwbf_Kj1u3u4Y8WWXhyl7mc1zBTck=s144
>
> At any rate, everything seems to be back to normal.  Let me know if
> there is any more info you need from me.
>
> On Sep 14, 11:42 am, jorge  wrote:
> > Request URL:http://lh3.ggpht.com/e2mu21H9orKFmwm5AEXRK-
> > r68qmGvCEu2JPNlByG5OtFp206CrnXcYchsJiNg-
> > ZkYufdmP86E6IDFgkQlBHwlKXxj0vFhw=s144
> > Request Method:GET
> > Status Code:502 Bad Gateway
> >
> > That was one of them, but they seem to be serving fine now.  I host
> > about 800 images, most of them were failing with 502, and the ones
> > that were being served were corrupted.
> >
> > On Sep 14, 11:36 am, "Ikai Lan (Google)" 
> > 
> >
> > wrote:
> >
> >
> >
> > > Are you seeing the 502 errors on the images themselves or calling
> > > getServingUrl()? Can you provide some example URLs that are causing
> errors?
> >
> > > On Tue, Sep 14, 2010 at 11:30 AM, jorge 
> wrote:
> > > > I'm getting a lot of 502 errors from images served by the high
> > > > performance image servers.  Anyone else seeing this?
> >
> > > > --
> > > > 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-appeng...@googlegroups.com.
> > > > To unsubscribe from this group, send email to
> > > > google-appengine+unsubscr...@googlegroups.com e...@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-appeng...@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-appeng...@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.



Re: [google-appengine] Re: Can Google CDNs cache dynamically generated files ?

2010-09-14 Thread Francois MASUREL
Full answer there :

http://www.kyle-jensen.com/proxy-caching-on-google-appengine



On Tue, Sep 14, 2010 at 21:47, Stephen  wrote:

>
>
> On Sep 13, 5:25 pm, Francois Masurel  wrote:
> > Let me explain :
> >
> > I have potentially too many (> 3000) GWT generated files in my java
> > application.  I've already packed all my java classes in a jar.
> >
> > So I made a zip of all these files and implemented a servlet to serve
> > them dynamically.
> >
> > The servlet url-pattern matches an include path defined in my
> > appengine-web.xml static-files block.
> >
> > The question is : will the files served by my servlet be cached on
> > Google CDNs as supposed in this thread :
> >
> > http://groups.google.com/group/google-appengine/browse_thread/thread/...
> >
> > It doesn't seem to be the case as each time I purge my browser cache,
> > the files are served again from my servlet.
>
>
> http://code.google.com/p/googleappengine/issues/detail?id=2258
>
> --
> 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-appeng...@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-appeng...@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.



Re: [google-appengine] Re: Can Google CDNs cache dynamically generated files ?

2010-09-14 Thread Robert Kluin
Interesting.  Thanks for the info.






On Tue, Sep 14, 2010 at 15:44, Francois Masurel  wrote:
> Yes, it works !  Thanx everybody.
>
> I just added the  "Cache-Control:public" header to my content.  I
> cleared my browser cache.  After refreshing the page I don't see any
> log coming from my ZipServingServlet.  Cool.
>
> BTW if you don't add the max-age info to your Cache-Control header,
> Google sets it by default to 600 (10 minutes).
>
> On 14 sep, 21:19, Francois Masurel  wrote:
>> Hi Jason, thanx for your answer.
>>
>> Do you really mean that putting the right cache-control headers in my
>> content will allow it to be cached by Google CDNs ?
>>
>> That would be great.   I'll make a test as soon as possible.
>>
>> On 14 sep, 19:28, Jason C  wrote:
>>
>>
>>
>> > Cache-Control: public, max-age=[seconds as an integer]
>>
>> > Should do the trick. "Public" is important otherwise downstream caches
>> > (i.e., the Google CDN) won't hold the content (e.g., "private" will be
>> > end-browser cache only).
>>
>> > If you want some good 304 revalidation, also use Last-Modified or
>> > ETag. I think the G CDN supports this.
>>
>> > j
>>
>> > On Sep 14, 7:49 am, Francois Masurel  wrote:
>>
>> > > For the moment, I'll use memcache on the server side and cache control
>> > > headers on the client side.
>>
>> > > On Sep 14, 11:10 am, Andrius A  wrote:
>>
>> > > > it wont be cached in CDN, but if you specify the correct http headers 
>> > > > it
>> > > > will be cached by the browser. 
>> > > > check:http://code.google.com/appengine/docs/python/config/appconfig.html#St...
>>
>> > > > On 13 September 2010 21:44, Francois Masurel  wrote:
>>
>> > > > > @Robert : yep, that's what I meant
>>
>> > > > > @Peter : can someone at Google confirms that putting the right cache
>> > > > > controls headers (to be determined) servlet generated content can be
>> > > > > cached in Google CDNs ?
>>
>> > > > > Thanx everybody for your answers.
>>
>> > > > > On 13 sep, 22:00, Peter Liu  wrote:
>> > > > > > From my experience, dynamic content is also cached if you set the
>> > > > > > cache control headers.
>>
>> > > > > > On Sep 13, 9:25 am, Francois Masurel  wrote:
>>
>> > > > > > > Let me explain :
>>
>> > > > > > > I have potentially too many (> 3000) GWT generated files in my 
>> > > > > > > java
>> > > > > > > application.  I've already packed all my java classes in a jar.
>>
>> > > > > > > So I made a zip of all these files and implemented a servlet to 
>> > > > > > > serve
>> > > > > > > them dynamically.
>>
>> > > > > > > The servlet url-pattern matches an include path defined in my
>> > > > > > > appengine-web.xml static-files block.
>>
>> > > > > > > The question is : will the files served by my servlet be cached 
>> > > > > > > on
>> > > > > > > Google CDNs as supposed in this thread :
>>
>> > > > > > >http://groups.google.com/group/google-appengine/browse_thread/thread/.
>> > > > > ..
>>
>> > > > > > > It doesn't seem to be the case as each time I purge my browser 
>> > > > > > > cache,
>> > > > > > > the files are served again from my servlet.
>>
>> > > > > > > Thanx for your help.
>>
>> > > > > > > Francois
>>
>> > > > > --
>> > > > > 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-appeng...@googlegroups.com.
>> > > > > To unsubscribe from this group, send email to
>> > > > > google-appengine+unsubscr...@googlegroups.com> > > > >  e...@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-appeng...@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-appeng...@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.



[google-appengine] Re: Can Google CDNs cache dynamically generated files ?

2010-09-14 Thread Stephen


On Sep 13, 5:25 pm, Francois Masurel  wrote:
> Let me explain :
>
> I have potentially too many (> 3000) GWT generated files in my java
> application.  I've already packed all my java classes in a jar.
>
> So I made a zip of all these files and implemented a servlet to serve
> them dynamically.
>
> The servlet url-pattern matches an include path defined in my
> appengine-web.xml static-files block.
>
> The question is : will the files served by my servlet be cached on
> Google CDNs as supposed in this thread :
>
> http://groups.google.com/group/google-appengine/browse_thread/thread/...
>
> It doesn't seem to be the case as each time I purge my browser cache,
> the files are served again from my servlet.


http://code.google.com/p/googleappengine/issues/detail?id=2258

-- 
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-appeng...@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.



[google-appengine] Re: Can Google CDNs cache dynamically generated files ?

2010-09-14 Thread Francois Masurel
Yes, it works !  Thanx everybody.

I just added the  "Cache-Control:public" header to my content.  I
cleared my browser cache.  After refreshing the page I don't see any
log coming from my ZipServingServlet.  Cool.

BTW if you don't add the max-age info to your Cache-Control header,
Google sets it by default to 600 (10 minutes).

On 14 sep, 21:19, Francois Masurel  wrote:
> Hi Jason, thanx for your answer.
>
> Do you really mean that putting the right cache-control headers in my
> content will allow it to be cached by Google CDNs ?
>
> That would be great.   I'll make a test as soon as possible.
>
> On 14 sep, 19:28, Jason C  wrote:
>
>
>
> > Cache-Control: public, max-age=[seconds as an integer]
>
> > Should do the trick. "Public" is important otherwise downstream caches
> > (i.e., the Google CDN) won't hold the content (e.g., "private" will be
> > end-browser cache only).
>
> > If you want some good 304 revalidation, also use Last-Modified or
> > ETag. I think the G CDN supports this.
>
> > j
>
> > On Sep 14, 7:49 am, Francois Masurel  wrote:
>
> > > For the moment, I'll use memcache on the server side and cache control
> > > headers on the client side.
>
> > > On Sep 14, 11:10 am, Andrius A  wrote:
>
> > > > it wont be cached in CDN, but if you specify the correct http headers it
> > > > will be cached by the browser. 
> > > > check:http://code.google.com/appengine/docs/python/config/appconfig.html#St...
>
> > > > On 13 September 2010 21:44, Francois Masurel  wrote:
>
> > > > > @Robert : yep, that's what I meant
>
> > > > > @Peter : can someone at Google confirms that putting the right cache
> > > > > controls headers (to be determined) servlet generated content can be
> > > > > cached in Google CDNs ?
>
> > > > > Thanx everybody for your answers.
>
> > > > > On 13 sep, 22:00, Peter Liu  wrote:
> > > > > > From my experience, dynamic content is also cached if you set the
> > > > > > cache control headers.
>
> > > > > > On Sep 13, 9:25 am, Francois Masurel  wrote:
>
> > > > > > > Let me explain :
>
> > > > > > > I have potentially too many (> 3000) GWT generated files in my 
> > > > > > > java
> > > > > > > application.  I've already packed all my java classes in a jar.
>
> > > > > > > So I made a zip of all these files and implemented a servlet to 
> > > > > > > serve
> > > > > > > them dynamically.
>
> > > > > > > The servlet url-pattern matches an include path defined in my
> > > > > > > appengine-web.xml static-files block.
>
> > > > > > > The question is : will the files served by my servlet be cached on
> > > > > > > Google CDNs as supposed in this thread :
>
> > > > > > >http://groups.google.com/group/google-appengine/browse_thread/thread/.
> > > > > ..
>
> > > > > > > It doesn't seem to be the case as each time I purge my browser 
> > > > > > > cache,
> > > > > > > the files are served again from my servlet.
>
> > > > > > > Thanx for your help.
>
> > > > > > > Francois
>
> > > > > --
> > > > > 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-appeng...@googlegroups.com.
> > > > > To unsubscribe from this group, send email to
> > > > > google-appengine+unsubscr...@googlegroups.com > > > >  e...@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-appeng...@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.



[google-appengine] Re: Stringified Key format: which characters?

2010-09-14 Thread John McLaughlin
Funny, I was looking at the same wikipedia page today.
I've seen the '=' pad character in the Dev Server keys, but not
production keys.
I'm hoping that the key names avoid '_' since I'm using it as a token
separator in one place.  But it would be nice to know definitively.

On Sep 14, 6:28 am, Francesco Donadon  wrote:
> Hello.
>
> I am developing an application using django, and I need a regexp to
> match the stringified keys in an URL, so that I can use urls like "/
> view/".
>
> I started off using letters and digits, but then I realised searching
> in this group that the key in its string format is

-- 
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-appeng...@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.



[google-appengine] Re: No more "this request caused a new process to be started" in the logs

2010-09-14 Thread Geoffrey Spear


On Sep 14, 3:14 pm, Francois Masurel  wrote:
> "this request caused a new process to be started" messages seem to
> have disappeared from my application logs.
>
> But request durations indicate clearly that GAE is still starting new
> processes from time to time.

Francois; I have a log with that message from as recently as 3 minutes
ago, so they haven't gone away.  Maybe you're just getting lucky with
hot instances staying around?

-- 
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-appeng...@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.



[google-appengine] Re: Can Google CDNs cache dynamically generated files ?

2010-09-14 Thread Francois Masurel
Hi Jason, thanx for your answer.

Do you really mean that putting the right cache-control headers in my
content will allow it to be cached by Google CDNs ?

That would be great.   I'll make a test as soon as possible.


On 14 sep, 19:28, Jason C  wrote:
> Cache-Control: public, max-age=[seconds as an integer]
>
> Should do the trick. "Public" is important otherwise downstream caches
> (i.e., the Google CDN) won't hold the content (e.g., "private" will be
> end-browser cache only).
>
> If you want some good 304 revalidation, also use Last-Modified or
> ETag. I think the G CDN supports this.
>
> j
>
> On Sep 14, 7:49 am, Francois Masurel  wrote:
>
>
>
> > For the moment, I'll use memcache on the server side and cache control
> > headers on the client side.
>
> > On Sep 14, 11:10 am, Andrius A  wrote:
>
> > > it wont be cached in CDN, but if you specify the correct http headers it
> > > will be cached by the browser. 
> > > check:http://code.google.com/appengine/docs/python/config/appconfig.html#St...
>
> > > On 13 September 2010 21:44, Francois Masurel  wrote:
>
> > > > @Robert : yep, that's what I meant
>
> > > > @Peter : can someone at Google confirms that putting the right cache
> > > > controls headers (to be determined) servlet generated content can be
> > > > cached in Google CDNs ?
>
> > > > Thanx everybody for your answers.
>
> > > > On 13 sep, 22:00, Peter Liu  wrote:
> > > > > From my experience, dynamic content is also cached if you set the
> > > > > cache control headers.
>
> > > > > On Sep 13, 9:25 am, Francois Masurel  wrote:
>
> > > > > > Let me explain :
>
> > > > > > I have potentially too many (> 3000) GWT generated files in my java
> > > > > > application.  I've already packed all my java classes in a jar.
>
> > > > > > So I made a zip of all these files and implemented a servlet to 
> > > > > > serve
> > > > > > them dynamically.
>
> > > > > > The servlet url-pattern matches an include path defined in my
> > > > > > appengine-web.xml static-files block.
>
> > > > > > The question is : will the files served by my servlet be cached on
> > > > > > Google CDNs as supposed in this thread :
>
> > > > > >http://groups.google.com/group/google-appengine/browse_thread/thread/.
> > > > ..
>
> > > > > > It doesn't seem to be the case as each time I purge my browser 
> > > > > > cache,
> > > > > > the files are served again from my servlet.
>
> > > > > > Thanx for your help.
>
> > > > > > Francois
>
> > > > --
> > > > 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-appeng...@googlegroups.com.
> > > > To unsubscribe from this group, send email to
> > > > google-appengine+unsubscr...@googlegroups.com > > >  e...@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-appeng...@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.



[google-appengine] Re: Problems with App Engine today - Can we get an explanation?

2010-09-14 Thread Michael Robellard
I am seeing thousands of errors(all timeouts of one type or another)
on requests that typically have less than 100 errors a day. My CPU
usage per second is up 20% since the failure this morning. These are
requests that usually take less than a second and they are reaching
the 30 second mark.

On Sep 14, 3:04 pm, mscwd01  wrote:
> Hi,
>
> Can we get an official word on why the App Engine has performed so
> poorly today?
>
> My app has seen hundreds of HTTP 500 errors, is running approximately
> twice as slow (CPU time/request) as yesterday (PUTs are very slow),
> had many "HardDeadlineExceededError" errors and stats tools such as
> AppStats don't appear to be working for me (displays "real" time but
> not cpu time).
>
> It'd be reassuring to know why these problems are occurring and what
> is being done to fix these and stop the happening again.
>
> Thanks

-- 
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-appeng...@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.



[google-appengine] No more "this request caused a new process to be started" in the logs

2010-09-14 Thread Francois Masurel
"this request caused a new process to be started" messages seem to
have disappeared from my application logs.

But request durations indicate clearly that GAE is still starting new
processes from time to time.

-- 
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-appeng...@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.



[google-appengine] Problems with App Engine today - Can we get an explanation?

2010-09-14 Thread mscwd01
Hi,

Can we get an official word on why the App Engine has performed so
poorly today?

My app has seen hundreds of HTTP 500 errors, is running approximately
twice as slow (CPU time/request) as yesterday (PUTs are very slow),
had many "HardDeadlineExceededError" errors and stats tools such as
AppStats don't appear to be working for me (displays "real" time but
not cpu time).

It'd be reassuring to know why these problems are occurring and what
is being done to fix these and stop the happening again.

Thanks

-- 
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-appeng...@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.



[google-appengine] Re: 502 Bad Gateway from High Performance Images

2010-09-14 Thread jorge
Here's an example of one of the corrupted images:

http://commondatastorage.googleapis.com/jorge/Screen%20shot%202010-09-14%20at%2011.43.53%20AM.png

And this is the URL for it:

http://lh5.ggpht.com/44WJv1aPhOXAXixYbwNj_MV60aTQFzECDMtAauLqkhrJ82d6XdWpyodcZ9k3mehwbf_Kj1u3u4Y8WWXhyl7mc1zBTck=s144

At any rate, everything seems to be back to normal.  Let me know if
there is any more info you need from me.

On Sep 14, 11:42 am, jorge  wrote:
> Request URL:http://lh3.ggpht.com/e2mu21H9orKFmwm5AEXRK-
> r68qmGvCEu2JPNlByG5OtFp206CrnXcYchsJiNg-
> ZkYufdmP86E6IDFgkQlBHwlKXxj0vFhw=s144
> Request Method:GET
> Status Code:502 Bad Gateway
>
> That was one of them, but they seem to be serving fine now.  I host
> about 800 images, most of them were failing with 502, and the ones
> that were being served were corrupted.
>
> On Sep 14, 11:36 am, "Ikai Lan (Google)" 
> wrote:
>
>
>
> > Are you seeing the 502 errors on the images themselves or calling
> > getServingUrl()? Can you provide some example URLs that are causing errors?
>
> > On Tue, Sep 14, 2010 at 11:30 AM, jorge  wrote:
> > > I'm getting a lot of 502 errors from images served by the high
> > > performance image servers.  Anyone else seeing this?
>
> > > --
> > > 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-appeng...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > google-appengine+unsubscr...@googlegroups.com > >  e...@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-appeng...@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.



[google-appengine] Re: 502 Bad Gateway from High Performance Images

2010-09-14 Thread jorge
Request URL:http://lh3.ggpht.com/e2mu21H9orKFmwm5AEXRK-
r68qmGvCEu2JPNlByG5OtFp206CrnXcYchsJiNg-
ZkYufdmP86E6IDFgkQlBHwlKXxj0vFhw=s144
Request Method:GET
Status Code:502 Bad Gateway

That was one of them, but they seem to be serving fine now.  I host
about 800 images, most of them were failing with 502, and the ones
that were being served were corrupted.

On Sep 14, 11:36 am, "Ikai Lan (Google)" 
wrote:
> Are you seeing the 502 errors on the images themselves or calling
> getServingUrl()? Can you provide some example URLs that are causing errors?
>
>
>
> On Tue, Sep 14, 2010 at 11:30 AM, jorge  wrote:
> > I'm getting a lot of 502 errors from images served by the high
> > performance image servers.  Anyone else seeing this?
>
> > --
> > 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-appeng...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com > e...@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-appeng...@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.



Re: [google-appengine] 502 Bad Gateway from High Performance Images

2010-09-14 Thread Ikai Lan (Google)
Are you seeing the 502 errors on the images themselves or calling
getServingUrl()? Can you provide some example URLs that are causing errors?

On Tue, Sep 14, 2010 at 11:30 AM, jorge  wrote:

> I'm getting a lot of 502 errors from images served by the high
> performance image servers.  Anyone else seeing this?
>
> --
> 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-appeng...@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-appeng...@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.



Re: [google-appengine] Roadmap Dates

2010-09-14 Thread Ikai Lan (Google)
The 6 months rule is a very loose rule of thumb and sound be seen as more of
a median rather than hard deadline. In general, we do not post ETAs for
features, though you can usually see upcoming features for a release by
paying attention to release notes in a prerelease SDK.

On Tue, Sep 14, 2010 at 11:02 AM, Robert Kluin wrote:

> It was probably last updated about 5 to 9 months ago.  :/
>
>
>
>
>
>
> On Tue, Sep 14, 2010 at 09:51, RSan  wrote:
> > Hi,
> > I was checking the roadmap of google appengine
> > http://code.google.com/appengine/docs/roadmap.html
> > and I saw that the features on the deck are intended to be launched
> > within 6 months. However, I don't see the date when the article was
> > posted and therefore I don't know when to expect the new services.
> > Anybody has an idea of when the article was posted?
> > Thank you
> >
> > --
> > 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-appeng...@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-appeng...@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-appeng...@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.



[google-appengine] Re: 502 Bad Gateway from High Performance Images

2010-09-14 Thread jorge
Appears to have been fixed, images being served fine now.

On Sep 14, 11:30 am, jorge  wrote:
> I'm getting a lot of 502 errors from images served by the high
> performance image servers.  Anyone else seeing this?

-- 
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-appeng...@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.



Re: [google-appengine] Querying objects that are not part of a criteria

2010-09-14 Thread Ikai Lan (Google)
You cannot query on an unindexed property. You'll have to walk through the
entire list of students if you want to add a property.

If you're doing a data migration to add a new property, the strategy is to
do this:

1. Deploy a version of your application that adds the new property
2. After deployment, migrate your new entities. Until this migration is
complete, your entities may be in a grandfathered state, but you won't need
to worry about new entities being unqueryable.

On Tue, Sep 14, 2010 at 9:48 AM, tabmarcio  wrote:

> This is my first message to this group. Let me know if you think I
> should post this somewhere else.
>
> I am working in a new personal app. My need is to assign a value to
> all the entities for a store. Let's say I have students with about
> 1001 students in the store. I want to be able to assign grades to them
> but they never had the grade relationship before. So let's say it was
> only Student with name attribute. Grade is going to be new.
>
> I understand I will need to make a few ( at least 2 ) fetches in order
> to traverse this store of students, in order to populate all them with
> grade. I also understood I could use cursor so I can traverse using
> multiple fetches and continue from the last fetch point.
>
> My question here is related to the fact that I may be doing this
> operation, but I could miss some student because a new student could
> be inserted in the database. So by the time I did the 1001 student
> assigned grades, I new 1002 could show up in the database and he/she
> won't have a grade.
>
> Is it possible I would query for students that don't have a given
> attribute? Like the lackness of something?
>
> Other ideas to solve this problem? Would you know what experienced
> store developers do? Transactions? Do they fix the New student
> ( .put ) code first then work on the pending/list solution later? Any
> lights?
>
> --
> 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-appeng...@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-appeng...@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.



[google-appengine] 502 Bad Gateway from High Performance Images

2010-09-14 Thread jorge
I'm getting a lot of 502 errors from images served by the high
performance image servers.  Anyone else seeing this?

-- 
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-appeng...@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.



Re: [google-appengine] Driving a GA with an asp.net backend

2010-09-14 Thread Ikai Lan (Google)
No, you need to write your applications in Python or a JVM language to host
on App Engine.

It sounds like you are developing a Google Apps Marketplace application and
not developing on App Engine. There are .NET libraries and code examples
here:

http://code.google.com/googleapps/domain/libraries_and_samples.html

On Mon, Sep 13, 2010 at 1:26 PM, justSteve  wrote:

> Greets - first time poster here...
>
> I've developed a IIS7-based webapp that I would like to integrate into
> a Google App. I understand the out-of-the-box options are Python and
> Java but surely examples exist where asp.net-based resources are
> integrated with a Google App?
>
> But searching 'asp.net' in the group's archives returns only one
> question so perhaps i'm totally missing the point of GA.
>
> thx
>
> --
> 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-appeng...@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-appeng...@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.



[google-appengine] Re: Retrieving image from a Blob

2010-09-14 Thread John McLaughlin
@Robert.  Right you are.  I checked the docs and db.get is a magic get
anything function.  Sorry for the noise.

So I'm going for door #2 now.  In ServePhoto "photo" must be the
correctly returned key.  Otherwise accessing "photo.photo" would give
an error.  So photo.photo must truly be a false value.  This means to
me that although "photo" is a valid object, the photo.photo property
never got set properly.  This takes us back to "UploadPhoto".  It's
unlikely that photo.put() failed.   And it's likely that "db.Blob"
created a valid db.Blob object.  However accessing "photo.photo"
doesn't return the db.Blob object, but rather the underlying data that
came into it.  Therefore I think your original hunch that the incoming
data for db.Blob is an empty string is correct.  I've struggled with
multi-part posts so I'm not 100% sure about the html.  One thing that
looks suspicious is the hard coding of the hostname:port in the post
action.  Are you sure you don't want simply "/uploadphoto"?   That
could send the uploads to the wrong place, for example different ports
use different datastores on the Dev Server.

On Sep 14, 9:17 am, Robert Kluin  wrote:
> db.get() will grab an entity of _any_ kind.  Model.get checks that the
> key is for the correct kind of entity before fetching it.  Either will
> work.  When I use db.get I usually include a check to make sure the
> keys are the correct kind.
>
> The key he posted in his initial thread is a Photo.
>
> Robert
>
> On Tue, Sep 14, 2010 at 11:34, John McLaughlin
>
>
>
>  wrote:
> > The one thing that looked off to me is that the line in ServePhoto
>
> >     photo = db.get(self.request.get("photo_id"))
>
> > might want to be
>
> >     photo = Photo.get(self.request.get("photo_id"))
>
> > I think db.get is a datastore method, not an inherited method from
> > db.Model
>
> > On Sep 13, 8:09 pm, Robert Kluin  wrote:
> >> I glanced over your code, nothing really major jumped out at me.  If
> >> you are not getting an exception in ServePhoto then the model is
> >> clearly getting created and successfully fetched.
>
> >> So, here are my first thoughts:
> >> Have you tried logging some debug info in the UploadPhoto and
> >> ServePhoto handlers?    Specifically are you sure data is actually in
> >> the photo property and it is not just an empty string or something?
> >> Maybe you could try logging len(photo.photo) right before saving it,
> >> then again right after fetching it.
>
> >> What happens when you remove the if and simply return photo.photo?
>
> >> Robert
>
> >> class ServePhoto (webapp.RequestHandler):
> >>    def get(self):
> >>      photo = db.get(self.request.get("photo_id"))
> >>      if photo.photo:
> >>          self.response.headers['Content-Type'] = "image/jpg"
> >>          self.response.out.write(photo.photo)
> >>      else:
> >>          self.error(404)
>
> >> --
> >> Robert Kluin
> >> Ezox Systems, LLC
>
> >> On Sun, Sep 12, 2010 at 22:03, Raymond
>
> >>  wrote:
> >> > Hi All,
>
> >> > I have been trying to understand how to upload and download images
> >> > from to a Blobstore and have hit a wall.
> >> > I have essentially made a modified version of the Guestbook example
> >> > provided by google and modified it to suit my needs, I have tested the
> >> > guestbook app as is and got it working, somehow somewhere I am making
> >> > a simple mistake that frustrate every attempt at getting it working in
> >> > my own code.
> >> > I have stripped down my code to the essential in the hope of
> >> > understanding what is wrong, but I am still stuck.
>
> >> > What am I attempting to do ?
> >> > Upload in a blobstore an image and display it in a web page.
>
> >> > What is my code ?
>
> >> > 1) My upload form served from a static page
>
> >> > ...
> >> > http://192.168.0.196:8083/uploadphoto";
> >> > enctype="multipart/form-data" method="post">
> >> >        Attempt at uploading a picture using a form >> > deiv>
> >> >        
> >> >        
> >> > 
> >> > ...
>
> >> > 2) My db model :
>
> >> > class Photo(db.Model):
> >> >        photo = db.BlobProperty()
> >> >        date = db.DateTimeProperty(auto_now_add=True)
>
> >> > 3) The code uploading the photo and saving it in the blobstore
>
> >> > class UploadPhoto(webapp.RequestHandler):
> >> >        def post(self):
> >> >                photo = Photo()
> >> >                img = self.request.get('photo')
> >> >                photo.photo = db.Blob(img)
> >> >                photo.put()
>
> >> > 4) The code creating the web page displaying the images :
>
> >> > class PhotoPage(webapp.RequestHandler):
> >> >        def get(self):
> >> >                self.response.out.write('')
> >> >                self.response.out.write('Date&Time  Photo')
> >> >                photos = db.GqlQuery("SELECT * FROM Photo ORDER BY date 
> >> > DESC LIMIT
> >> > 10")
> >> >                for photo in photos:
> >> >                        self.response.out.write('%s  ' % photo.date)
> >> >                        self.response.out.

Re: [google-appengine] Re: 500 error accessing http://appengine.google.com/

2010-09-14 Thread Ikai Lan (Google)
You may need to rollback if you attempted to deploy and your deployment was
stuck. See the following thread for more information:

http://groups.google.com/group/google-appengine-downtime-notify/browse_thread/thread/7a9705743782ce81

I highly recommend subscribing to that list as soon as your site goes live.

On Tue, Sep 14, 2010 at 10:08 AM, Moorthy  wrote:

> Too many timeouts and 500 Server Errors. Request Google to fix this
> as soon as possible.
>
> On Sep 14, 10:02 pm, coltsith  wrote:
> > I'm now seeing 500 server errors on the console as well:
> >
> > "500 Server Error
> >
> > Error: Server Error
> > The server encountered an error and could not complete your request.
> >
> > If the problem persists, please report your problem and mention this
> > error message and the query that caused it."
> >
> > On Sep 14, 5:51 pm, Jason C  wrote:
> >
> >
> >
> > > We're still seeing problems on the console.
> >
> > > We're also seeing a large number for DownloadError ApplicationError 5
> > > (i.e., from urlfetch). (appid steprep)
> >
> > > j
> >
> > > On Sep 14, 8:37 am, "Raymond C."  wrote:
> >
> > > > Its better now but still happens occasionally
> >
> > > > On Sep 14, 8:54 pm, James  wrote:
> >
> > > > > While things seem to have stabilized, trying to deploy earlier this
> > > > > morning seems to have "hung" a deployment of mine.  I now get an
> > > > > error:
> >
> > > > > "Another transaction by user xxx is already in progress for this
> app
> > > > > and major version. That user can undo the transaction with
> appcfg.py's
> > > > > "rollback" command."
> >
> > > > > I'm mentioning this for the GAE team just in case this NEEDS to be
> > > > > done.  Otherwise I'm content to just push out a different major
> > > > > version and eventually delete the stalled one.  I'm doing it this
> way
> > > > > because I use Java so I don't have the rollback command handy.
> >
> > > > > James
> >
> > > > > On Sep 14, 7:44 am, James  wrote:
> >
> > > > > > Right now.  Also can't deploy ("Rolling back update" error).
>
> --
> 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-appeng...@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-appeng...@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.



Re: [google-appengine] The perils of deploying Python applications in Debug mode

2010-09-14 Thread Ikai Lan (Google)
It's not a real debugger; it just shows tracebacks to the user. I don't have
any numbers about the overhead. My guess is it's negligible relative to IO.

On Mon, Sep 13, 2010 at 8:14 PM, Harshal  wrote:

> Thanks Ikai for that. Do you also have any stats on what is the performance
> overhead if the debugger is left on?
>
>
>
> On Tue, Sep 14, 2010 at 3:24 AM, Ikai Lan (Google) <
> ikai.l+gro...@google.com > wrote:
>
>> Hey everyone,
>>
>> I just wanted to do a quick post to remind everyone writing Python
>> applications that you'll probably want to turn Debug mode off when you
>> deploy your applications. This code snippet that ships with Webapp:
>>
>> application = webapp.WSGIApplication([
>>('/', MainPage)
>> ], debug=True)
>>
>> ... should look like this before deployment:
>>
>> application = webapp.WSGIApplication([
>>('/', MainPage)
>> ])
>>
>> (You can also explicitly set debug=False, but this is a default value)
>>
>> Most of the time, forgetting to do this is pretty harmless. However, by
>> not turning the debug flag off, you risk exposing possible sensitive keys or
>> information to an end user looking at your site from a web view. Consider
>> the following micro application:
>>
>> http://pastie.org/1156814
>>
>> If we leave the debug flag set to true and the exception is raised, we get
>> a traceback that looks like this:
>>
>> Traceback (most recent call last):
>>   File 
>> "/Users/ikai/Library/appengine/google_appengine_1_3_5/google/appengine/ext/webapp/__init__.py",
>>  line 511, in __call__
>> handler.get(*groups)
>>   File "/Users/ikai/Documents/python/exporesource/main.py", line 21, in get
>> wrapper(True)
>>   File "/Users/ikai/Documents/python/exporesource/main.py", line 16, in 
>> wrapper
>> sensitive("someu...@domain.com", "password", throws_exception)
>>   File "/Users/ikai/Documents/python/exporesource/main.py", line 11, in 
>> sensitive
>> raise CrazyException()
>> CrazyException
>>
>>
>> Oops, we just exposed a password. This behavior is documented here:
>>
>>
>> http://code.google.com/appengine/docs/python/tools/webapp/wsgiapplicationclass.html
>>
>> It's fairly unlikely you'll have plaintext strings in your code like in
>> the example, but it definitely does happen (
>> http://news.ycombinator.com/item?id=1685615). We'll update the docs to be
>> more explicit about this behavior, but in the meantime, we've just decided
>> to post in the groups to let everyone know.
>>
>>
>> --
>> Ikai Lan
>> Developer Programs Engineer, Google App Engine
>> Blog: http://googleappengine.blogspot.com
>> Twitter: http://twitter.com/app_engine
>> Reddit: http://www.reddit.com/r/appengine
>>
>>  --
>> 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-appeng...@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-appeng...@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-appeng...@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.



Re: [google-appengine] Roadmap Dates

2010-09-14 Thread Robert Kluin
It was probably last updated about 5 to 9 months ago.  :/






On Tue, Sep 14, 2010 at 09:51, RSan  wrote:
> Hi,
> I was checking the roadmap of google appengine
> http://code.google.com/appengine/docs/roadmap.html
> and I saw that the features on the deck are intended to be launched
> within 6 months. However, I don't see the date when the article was
> posted and therefore I don't know when to expect the new services.
> Anybody has an idea of when the article was posted?
> Thank you
>
> --
> 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-appeng...@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-appeng...@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.



[google-appengine] Record Corruption, again...

2010-09-14 Thread Daniel
After last nights maintenance (in fact after every scheduled
maintenance) I had a record go corrupt.  I have issued a support
ticket but would like to expedite fixing this problem.

The app is looxii-beta
The kind is 'Keyword'
The key is 'agtsb294aWktYmV0YXIaCxIHS2V5d29yZCINa2V5X3N5bnRoZXNpbww'

You can see more about this error and the last time this record went
corrupt here: 
http://groups.google.com/group/google-appengine/browse_thread/thread/2896013a94ba8479

-- 
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-appeng...@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.



[google-appengine] Stringified Key format: which characters?

2010-09-14 Thread Francesco Donadon
Hello.

I am developing an application using django, and I need a regexp to
match the stringified keys in an URL, so that I can use urls like "/
view/".

I started off using letters and digits, but then I realised searching
in this group that the key in its string format is
actually a base64 encoding of something.

I saw that one of the two symbols used by the google implementation of
base64 is the hyphen (-), but I have not been able to experimentally
find the other symbol (there must be another one), nor find an answer
searching.

For now I am capturing all the other symbols that I've read on
wikipedia, that is plus (+), underscore (_) and dot(.).
I assume that the slash is out of discussion, as Google recommends
using keys in URLs.

So my question is, as I am a perfectionist :-), which is the other
symbol that may appear in the keys beside the hyphen?

Thank you very much for your replies, and for the marvellous job in
creating AppEngine.

Best Regards,
Francesco Donadon

-- 
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-appeng...@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.



[google-appengine] Re: 500 error accessing http://appengine.google.com/

2010-09-14 Thread Sven
For me, rolling back helped. I was able to deploy my application now.

I used the Java appcfg as described here:
http://code.google.com/appengine/docs/java/tools/uploadinganapp.html

On Sep 14, 2:54 pm, James  wrote:
> While things seem to have stabilized, trying to deploy earlier this
> morning seems to have "hung" a deployment of mine.  I now get an
> error:
>
> "Another transaction by user xxx is already in progress for this app
> and major version. That user can undo the transaction with appcfg.py's
> "rollback" command."
>
> I'm mentioning this for the GAE team just in case this NEEDS to be
> done.  Otherwise I'm content to just push out a different major
> version and eventually delete the stalled one.  I'm doing it this way
> because I use Java so I don't have the rollback command handy.
>
> James
>
> On Sep 14, 7:44 am, James  wrote:
>
> > Right now.  Also can't deploy ("Rolling back update" error).
>
>

-- 
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-appeng...@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.



[google-appengine] Re: 500 error accessing http://appengine.google.com/

2010-09-14 Thread Sven
Same here, since a couple of hours. 500 and 409 erorrs when deploying,
500 errors in 2 out of 3 times when accessing appengine.google.com.

On Sep 14, 1:44 pm, James  wrote:
> Right now.  Also can't deploy ("Rolling back update" error).

-- 
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-appeng...@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.



[google-appengine] Re: 500 error accessing http://appengine.google.com/

2010-09-14 Thread KC
Getting a 500 here too. Can't access my AppEngine settings via my
browser.

On Sep 14, 12:44 pm, James  wrote:
> Right now.  Also can't deploy ("Rolling back update" error).

-- 
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-appeng...@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.



[google-appengine] Driving a GA with an asp.net backend

2010-09-14 Thread justSteve
Greets - first time poster here...

I've developed a IIS7-based webapp that I would like to integrate into
a Google App. I understand the out-of-the-box options are Python and
Java but surely examples exist where asp.net-based resources are
integrated with a Google App?

But searching 'asp.net' in the group's archives returns only one
question so perhaps i'm totally missing the point of GA.

thx

-- 
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-appeng...@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.



[google-appengine] Stringified Key format: which characters?

2010-09-14 Thread Francesco Donadon
Hello.

I am developing an application using django, and I need a regexp to
match the stringified keys in an URL, so that I can use urls like "/
view/".

I started off using letters and digits, but then I realised searching
in this group that the key in its string format is

-- 
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-appeng...@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.



[google-appengine] Re: 500 error accessing http://appengine.google.com/

2010-09-14 Thread Moorthy
Too many timeouts and 500 Server Errors. Request Google to fix this
as soon as possible.

On Sep 14, 10:02 pm, coltsith  wrote:
> I'm now seeing 500 server errors on the console as well:
>
> "500 Server Error
>
> Error: Server Error
> The server encountered an error and could not complete your request.
>
> If the problem persists, please report your problem and mention this
> error message and the query that caused it."
>
> On Sep 14, 5:51 pm, Jason C  wrote:
>
>
>
> > We're still seeing problems on the console.
>
> > We're also seeing a large number for DownloadError ApplicationError 5
> > (i.e., from urlfetch). (appid steprep)
>
> > j
>
> > On Sep 14, 8:37 am, "Raymond C."  wrote:
>
> > > Its better now but still happens occasionally
>
> > > On Sep 14, 8:54 pm, James  wrote:
>
> > > > While things seem to have stabilized, trying to deploy earlier this
> > > > morning seems to have "hung" a deployment of mine.  I now get an
> > > > error:
>
> > > > "Another transaction by user xxx is already in progress for this app
> > > > and major version. That user can undo the transaction with appcfg.py's
> > > > "rollback" command."
>
> > > > I'm mentioning this for the GAE team just in case this NEEDS to be
> > > > done.  Otherwise I'm content to just push out a different major
> > > > version and eventually delete the stalled one.  I'm doing it this way
> > > > because I use Java so I don't have the rollback command handy.
>
> > > > James
>
> > > > On Sep 14, 7:44 am, James  wrote:
>
> > > > > Right now.  Also can't deploy ("Rolling back update" error).

-- 
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-appeng...@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.



[google-appengine] Querying objects that are not part of a criteria

2010-09-14 Thread tabmarcio
This is my first message to this group. Let me know if you think I
should post this somewhere else.

I am working in a new personal app. My need is to assign a value to
all the entities for a store. Let's say I have students with about
1001 students in the store. I want to be able to assign grades to them
but they never had the grade relationship before. So let's say it was
only Student with name attribute. Grade is going to be new.

I understand I will need to make a few ( at least 2 ) fetches in order
to traverse this store of students, in order to populate all them with
grade. I also understood I could use cursor so I can traverse using
multiple fetches and continue from the last fetch point.

My question here is related to the fact that I may be doing this
operation, but I could miss some student because a new student could
be inserted in the database. So by the time I did the 1001 student
assigned grades, I new 1002 could show up in the database and he/she
won't have a grade.

Is it possible I would query for students that don't have a given
attribute? Like the lackness of something?

Other ideas to solve this problem? Would you know what experienced
store developers do? Transactions? Do they fix the New student
( .put ) code first then work on the pending/list solution later? Any
lights?

-- 
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-appeng...@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.



[google-appengine] using flash to store blob

2010-09-14 Thread Shane Ryan
Hi I am trying to store a actionscript ByteArray as a Blob in the
datastore. Does anyone have experience doing this?

So far I can create a blob from a string but not from a ByteArray. I
definitely can't read it back. I am very new to Python and GAE, and
fairly new to actionscript.

Any pointers would be appreciated!

Thanks


package
{
import flash.display.Sprite;
import flash.events.*;
import flash.net.*;
import flash.text.TextField;
import flash.text.TextFieldAutoSize;
import flash.utils.ByteArray;
import flash.errors.EOFError;



public class Main extends Sprite
{
private var netConnection:NetConnection = null;

private var output:TextField = null;

public function Main()
{
netConnection = new NetConnection();

netConnection.addEventListener(NetStatusEvent.NET_STATUS,
netStatusHandler);

netConnection.addEventListener(SecurityErrorEvent.SECURITY_ERROR,
securityErrorHandler);
output = new TextField();
output.autoSize = TextFieldAutoSize.LEFT;
output.x = 100;
output.y = 100;
addChild(output);
netConnection.connect("http://localhost:8080/";);

//netConnection.connect("http://antfarmtest1.appspot.com";);
var byteArray:ByteArray = new ByteArray();
byteArray.writeUTF();
insertBlob(byteArray);
}

private function insertBlob(value:ByteArray): void
{

try {
var test:String = value.readUTF();
}
catch(e:EOFError) {
trace(e);   // EOFError: Error #2030: 
End of file was
encountered.
test = "dd";
}

var responder:Responder = new 
Responder(insertBlobSuccess, onFail);
netConnection.call("antfarm.insertBlob", responder, 
test);
}

private function insertBlobSuccess(results:String):void
{
output.htmlText = "Insert Successful";
}



private function insertValue(value:String): void
{
var responder:Responder = new Responder(insertSuccess, 
onFail);
netConnection.call("antfarm.insertData", responder, 
value);
}

private function insertSuccess(results:String):void
{
output.htmlText = "Insert Successful";
}


private function retrieveValue(value:String): void
{
var responder:Responder = new 
Responder(retrieveSuccess, onFail);
netConnection.call("antfarm.selectData", responder, 
value);
}

private function retrieveSuccess(results:String):void
{
output.htmlText = results;
}


private function netStatusHandler(event:NetStatusEvent):void
{
switch (event.info.code)
{
case "NetConnection.Connect.Success":
break;
case "NetConnection.Call.Failed":
break;
default:
trace("Unhandled Net Status Event");
}
trace("NetStatusEvent Code:\t" + event.info.code);
trace("NetStatusEvent Desc:\t" + 
event.info.description);
trace("NetStatusEvent Details:\t" + event.info.details);
trace("NetStatusEvent Level:\t" + event.info.level);
}

private function 
securityErrorHandler(event:SecurityErrorEvent):void
{
trace("securityErrorHandler: " + event);
}

private function onComplete(results:String):void
{
output.htmlText = results;
}

private function onFail(results:Object):void
{
switch (results.code)
{
case "Service.ResourceNotFound":
output.appendText(results.code);
output.appendText("\n");
output.appendText(results.descrip

[google-appengine] Logs are 20 minutes behind now

2010-09-14 Thread pbadn
Has anyone else noticed that the logs are not updating?  I haven't
gotten an update in over 20 minutes.

-- 
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-appeng...@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.



Re: [google-appengine] Re: 500 error accessing http://appengine.google.com/

2010-09-14 Thread Ken Liu
I'm getting errors in the console as well.

On Tue, Sep 14, 2010 at 12:51 PM, Jason C  wrote:
> We're still seeing problems on the console.
>
> We're also seeing a large number for DownloadError ApplicationError 5
> (i.e., from urlfetch). (appid steprep)
>
> j
>
> On Sep 14, 8:37 am, "Raymond C."  wrote:
>> Its better now but still happens occasionally
>>
>> On Sep 14, 8:54 pm, James  wrote:
>>
>>
>>
>> > While things seem to have stabilized, trying to deploy earlier this
>> > morning seems to have "hung" a deployment of mine.  I now get an
>> > error:
>>
>> > "Another transaction by user xxx is already in progress for this app
>> > and major version. That user can undo the transaction with appcfg.py's
>> > "rollback" command."
>>
>> > I'm mentioning this for the GAE team just in case this NEEDS to be
>> > done.  Otherwise I'm content to just push out a different major
>> > version and eventually delete the stalled one.  I'm doing it this way
>> > because I use Java so I don't have the rollback command handy.
>>
>> > James
>>
>> > On Sep 14, 7:44 am, James  wrote:
>>
>> > > Right now.  Also can't deploy ("Rolling back update" error).
>
> --
> 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-appeng...@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-appeng...@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.



[google-appengine] Request was aborted after waiting too long

2010-09-14 Thread David
I am seeing the mesage below frequently on my application.  The
application ID is word-play.  It seems to have started happening in
the past day or two, but before that I never saw it.  It looks like it
waits for 10 seconds and then times out without using any cpu_ms.
This is causing problems.  It says to "contact the App Engine team".
Where/how do I do that?

Thanks,
David

#0.0.0.0 - xyz [14/Sep/2010:09:04:06 -0700] "GET /play?
p=111&g=407211&m=e,13,6/d,13,7 HTTP/1.1" 500 0 - "Xxx/1.0(Android
2.2),gzip(gfe)" "word-play.appspot.com:80" ms=10158 cpu_ms=0
api_cpu_ms=0 cpm_usd=0.63

#W 09-14 09:04AM 06.828

Request was aborted after waiting too long to attempt to service your
request. This may happen sporadically when the App Engine serving
cluster is under unexpectedly high or uneven load. If you see this
message frequently, please contact the App Engine team.

-- 
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-appeng...@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.



[google-appengine] Roadmap Dates

2010-09-14 Thread RSan
Hi,
I was checking the roadmap of google appengine
http://code.google.com/appengine/docs/roadmap.html
and I saw that the features on the deck are intended to be launched
within 6 months. However, I don't see the date when the article was
posted and therefore I don't know when to expect the new services.
Anybody has an idea of when the article was posted?
Thank you

-- 
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-appeng...@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.



[google-appengine] Re: Can Google CDNs cache dynamically generated files ?

2010-09-14 Thread Jason C

Cache-Control: public, max-age=[seconds as an integer]

Should do the trick. "Public" is important otherwise downstream caches
(i.e., the Google CDN) won't hold the content (e.g., "private" will be
end-browser cache only).

If you want some good 304 revalidation, also use Last-Modified or
ETag. I think the G CDN supports this.

j

On Sep 14, 7:49 am, Francois Masurel  wrote:
> For the moment, I'll use memcache on the server side and cache control
> headers on the client side.
>
> On Sep 14, 11:10 am, Andrius A  wrote:
>
>
>
> > it wont be cached in CDN, but if you specify the correct http headers it
> > will be cached by the browser. 
> > check:http://code.google.com/appengine/docs/python/config/appconfig.html#St...
>
> > On 13 September 2010 21:44, Francois Masurel  wrote:
>
> > > @Robert : yep, that's what I meant
>
> > > @Peter : can someone at Google confirms that putting the right cache
> > > controls headers (to be determined) servlet generated content can be
> > > cached in Google CDNs ?
>
> > > Thanx everybody for your answers.
>
> > > On 13 sep, 22:00, Peter Liu  wrote:
> > > > From my experience, dynamic content is also cached if you set the
> > > > cache control headers.
>
> > > > On Sep 13, 9:25 am, Francois Masurel  wrote:
>
> > > > > Let me explain :
>
> > > > > I have potentially too many (> 3000) GWT generated files in my java
> > > > > application.  I've already packed all my java classes in a jar.
>
> > > > > So I made a zip of all these files and implemented a servlet to serve
> > > > > them dynamically.
>
> > > > > The servlet url-pattern matches an include path defined in my
> > > > > appengine-web.xml static-files block.
>
> > > > > The question is : will the files served by my servlet be cached on
> > > > > Google CDNs as supposed in this thread :
>
> > > > >http://groups.google.com/group/google-appengine/browse_thread/thread/.
> > > ..
>
> > > > > It doesn't seem to be the case as each time I purge my browser cache,
> > > > > the files are served again from my servlet.
>
> > > > > Thanx for your help.
>
> > > > > Francois
>
> > > --
> > > 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-appeng...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > google-appengine+unsubscr...@googlegroups.com > >  e...@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-appeng...@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.



[google-appengine] Re: "this spike did not affect the performance or uptime of applications"

2010-09-14 Thread Elias Torres
Same here. I'm not sure how it could not affect the performance or
uptime of my application, if I haven't been able to write to the
datastore. Tons of DeadlinedExceeded errors. Tons of TransientErrors.

-Elias

On Sep 14, 1:04 pm, mathijs  wrote:
> Is appengine having problems? Our site is throwing very many 500s.
>
> The dashboard shows a spike earlier today, which brought our site down
> for a good 15 minutes, but it is already marked with the default "We
> have determined that this spike did not affect the performance or
> uptime of applications.". I feel this definitely has been incorrectly
> diagnosed, there was a clear outage, and there seems to be an outage
> right at this point again (even though the appengine status dashboard
> doesn't show it,http://api-status.com/6404/117406/Google-App-Engine-API
> does).
>
> Best regards,
>
> Mathijs

-- 
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-appeng...@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.



[google-appengine] "this spike did not affect the performance or uptime of applications"

2010-09-14 Thread mathijs
Is appengine having problems? Our site is throwing very many 500s.

The dashboard shows a spike earlier today, which brought our site down
for a good 15 minutes, but it is already marked with the default "We
have determined that this spike did not affect the performance or
uptime of applications.". I feel this definitely has been incorrectly
diagnosed, there was a clear outage, and there seems to be an outage
right at this point again (even though the appengine status dashboard
doesn't show it, http://api-status.com/6404/117406/Google-App-Engine-API
does).

Best regards,

Mathijs

-- 
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-appeng...@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.



[google-appengine] Re: 500 error accessing http://appengine.google.com/

2010-09-14 Thread coltsith
I'm now seeing 500 server errors on the console as well:


"500 Server Error

Error: Server Error
The server encountered an error and could not complete your request.

If the problem persists, please report your problem and mention this
error message and the query that caused it."

On Sep 14, 5:51 pm, Jason C  wrote:
> We're still seeing problems on the console.
>
> We're also seeing a large number for DownloadError ApplicationError 5
> (i.e., from urlfetch). (appid steprep)
>
> j
>
> On Sep 14, 8:37 am, "Raymond C."  wrote:
>
>
>
> > Its better now but still happens occasionally
>
> > On Sep 14, 8:54 pm, James  wrote:
>
> > > While things seem to have stabilized, trying to deploy earlier this
> > > morning seems to have "hung" a deployment of mine.  I now get an
> > > error:
>
> > > "Another transaction by user xxx is already in progress for this app
> > > and major version. That user can undo the transaction with appcfg.py's
> > > "rollback" command."
>
> > > I'm mentioning this for the GAE team just in case this NEEDS to be
> > > done.  Otherwise I'm content to just push out a different major
> > > version and eventually delete the stalled one.  I'm doing it this way
> > > because I use Java so I don't have the rollback command handy.
>
> > > James
>
> > > On Sep 14, 7:44 am, James  wrote:
>
> > > > Right now.  Also can't deploy ("Rolling back update" error).

-- 
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-appeng...@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.



[google-appengine] Re: Localized load problems?

2010-09-14 Thread Jason C
These bursts are still happening, but system status says everything is
operating correctly.

Does anyone at Google have any ideas about this? If you believe it to
be entirely within our code, please say so. Please say something.

Thanks,
j

On Sep 10, 10:00 am, Jason C  wrote:
> On one of our applications (steprep), we see periods of extreme
> burstiness in errors.
>
> For example, from 8.32a to 8.35a (Sept 10, log time), we saw:
>
>  - 20 transaction could not be committed errors
>  - 14 datastore timeouts, or unavailable
>  - 47 deadline exceeded errors
>
> This code, which is largely background tasks and not really impacted
> by end-user access, runs well at other times during the day. We also
> have a demo server with similar code and data characteristics (steprep-
> demo) that does not see these issues, though it does do only about a
> third to a half of the background work that our primary does.
>
> I fully understand that a system like App Engine has transient issues
> and that it's important for us as developers to architect our software
> around this. I fully understand that resources like UrlFetch rely on
> non-Google services and may be the root of (seemingly random)
> DeadlineExceededErrors.
>
> However, I've seen this behaviour before, and I believe it was
> attributed to localized load (i.e., the particular set of applications
> that were on the same physical hardware).
>
> Is it possible that this is happening again? We've only seen this
> level of errors for perhaps the last 7-10 days.

-- 
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-appeng...@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.



Re: [google-appengine] Re: 500 error accessing http://appengine.google.com/

2010-09-14 Thread Viðar Svansson
AppEngine seems to be pretty much down at the moment.

On Tue, Sep 14, 2010 at 4:51 PM, Jason C  wrote:
> We're still seeing problems on the console.
>
> We're also seeing a large number for DownloadError ApplicationError 5
> (i.e., from urlfetch). (appid steprep)
>
> j
>
> On Sep 14, 8:37 am, "Raymond C."  wrote:
>> Its better now but still happens occasionally
>>
>> On Sep 14, 8:54 pm, James  wrote:
>>
>>
>>
>> > While things seem to have stabilized, trying to deploy earlier this
>> > morning seems to have "hung" a deployment of mine.  I now get an
>> > error:
>>
>> > "Another transaction by user xxx is already in progress for this app
>> > and major version. That user can undo the transaction with appcfg.py's
>> > "rollback" command."
>>
>> > I'm mentioning this for the GAE team just in case this NEEDS to be
>> > done.  Otherwise I'm content to just push out a different major
>> > version and eventually delete the stalled one.  I'm doing it this way
>> > because I use Java so I don't have the rollback command handy.
>>
>> > James
>>
>> > On Sep 14, 7:44 am, James  wrote:
>>
>> > > Right now.  Also can't deploy ("Rolling back update" error).
>
> --
> 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-appeng...@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-appeng...@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.



[google-appengine] Re: urlfetch and HTTPS since maintenance

2010-09-14 Thread Jason C
We are seeing huge numbers of DownloadError ApplicationError 5 since
the maintenance. (AppID steprep).

On Sep 14, 2:53 am, Tonny <12br...@gmail.com> wrote:
> Hi
>
> I've experiencing a lot of DownloadError: ApplicationError 2,  for for
> HTTPS request against a web server with a self signed certificate this
> morning. Every now and then there is a periode of time where requests
> succeeds, but mot of the time they fail.
>
> HTTP and HTTPS against a trusted certificate seems to be ok.
>
> Being at European Central i could be related to something introduced
> during maintenance last night (for me).
>
> Is anybody else experiencing problems?
>
> Regards
> Tonny

-- 
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-appeng...@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.



[google-appengine] Re: Increased CPU Time/Request after yesterdays maintenance?

2010-09-14 Thread Jason C
We get lots of bursts of DeadlineExceedError's, as well as transaction
collisions and general datastore timeouts. AppId: steprep

They all come in bursts and have been happening (in large numbers) for
perhaps the past 2 weeks.

It's really quite bad.

On Sep 14, 8:28 am, coltsith  wrote:
> I've gotten a small string of DeadlineExceededException in the past
> couple hours.
>
> On Sep 14, 2:15 pm, ZeroCool  wrote:
>
>
>
> > My apps are having the same problem.
> > The error rate is nearly 94% for some pages with following errors:
>
> > com.google.appengine.api.datastore.DatastoreTimeoutException: The
> > datastore operation timed out, or the data was temporarily
> > unavailable.
>
> > or
>
> > com.google.apphosting.api.DeadlineExceededException: This request
> > (e368bee26d2ba9cd) started at 2010/09/14 11:18:27.769 UTC and was
> > still executing at 2010/09/14 11:18:57.168 UTC.
>
> > On Sep 14, 7:03 pm, "Raymond C."  wrote:
>
> > > My app got a huge amount of deadline exceeded error on DB put, which
> > > last for like 5 - 10min for all requests when it happens.  Didnt have
> > > these issues before the maintenance.
>
> > > On Sep 14, 5:36 pm, mscwd01  wrote:
>
> > > > Yes I got that too, shortly after the maintenance period ended, I dont
> > > > seem to get them anymore though.
>
> > > > During maintenance I got some huge CPU time per request readings -
> > > > which I guess is understandable?. However, I simply cannot see how my
> > > > resource consistently uses nearly double the the CPU time it did
> > > > before the maintenance. Unless the changes they made were to make
> > > > requests more expensive ;)
>
> > > > On 14 Sep, 10:31, Tonny <12br...@gmail.com> wrote:
>
> > > > > I get a general 500 error for an app. Same source as yesterday - so
> > > > > would say it's not a coincidence.
>
> > > > > This message appears in the log:
> > > > > Request was aborted after waiting too long to attempt to service your
> > > > > request. This may happen sporadically when the App Engine serving
> > > > > cluster is under unexpectedly high or uneven load. If you see this
> > > > > message frequently, please contact the App Engine team.
>
> > > > > On Sep 14, 11:14 am, mscwd01  wrote:
>
> > > > > > Hey,
>
> > > > > > This may just be a coincidence but my average CPU time per request 
> > > > > > has
> > > > > > risen noticably since yesterdays maintenance. Whereas my average was
> > > > > > 250-300ms, it now takes on average 500-600ms. This is the exact same
> > > > > > resource without any changes made, so I cannot seem to work out why
> > > > > > this would be. Has anyone else noticed this?
>
> > > > > > Thanks

-- 
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-appeng...@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.



[google-appengine] Re: 500 error accessing http://appengine.google.com/

2010-09-14 Thread Jason C
We're still seeing problems on the console.

We're also seeing a large number for DownloadError ApplicationError 5
(i.e., from urlfetch). (appid steprep)

j

On Sep 14, 8:37 am, "Raymond C."  wrote:
> Its better now but still happens occasionally
>
> On Sep 14, 8:54 pm, James  wrote:
>
>
>
> > While things seem to have stabilized, trying to deploy earlier this
> > morning seems to have "hung" a deployment of mine.  I now get an
> > error:
>
> > "Another transaction by user xxx is already in progress for this app
> > and major version. That user can undo the transaction with appcfg.py's
> > "rollback" command."
>
> > I'm mentioning this for the GAE team just in case this NEEDS to be
> > done.  Otherwise I'm content to just push out a different major
> > version and eventually delete the stalled one.  I'm doing it this way
> > because I use Java so I don't have the rollback command handy.
>
> > James
>
> > On Sep 14, 7:44 am, James  wrote:
>
> > > Right now.  Also can't deploy ("Rolling back update" error).

-- 
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-appeng...@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.



[google-appengine] Re: How to control blobstore quota usage?

2010-09-14 Thread Domini
Or...

I have a form for upload of multiple files at once. Someone wants to
spoil my day, uploads dozens of files, servlet goes out of time
processing (deleting) them and I end up cleaning them manually.

Do I miss something? Is this really a defect of Blobstore service?
Should this be posted to issue tracker?

-- 
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-appeng...@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.



Re: [google-appengine] Re: Retrieving image from a Blob

2010-09-14 Thread Robert Kluin
db.get() will grab an entity of _any_ kind.  Model.get checks that the
key is for the correct kind of entity before fetching it.  Either will
work.  When I use db.get I usually include a check to make sure the
keys are the correct kind.

The key he posted in his initial thread is a Photo.

Robert






On Tue, Sep 14, 2010 at 11:34, John McLaughlin
 wrote:
> The one thing that looked off to me is that the line in ServePhoto
>
>     photo = db.get(self.request.get("photo_id"))
>
> might want to be
>
>     photo = Photo.get(self.request.get("photo_id"))
>
> I think db.get is a datastore method, not an inherited method from
> db.Model
>
>
> On Sep 13, 8:09 pm, Robert Kluin  wrote:
>> I glanced over your code, nothing really major jumped out at me.  If
>> you are not getting an exception in ServePhoto then the model is
>> clearly getting created and successfully fetched.
>>
>> So, here are my first thoughts:
>> Have you tried logging some debug info in the UploadPhoto and
>> ServePhoto handlers?    Specifically are you sure data is actually in
>> the photo property and it is not just an empty string or something?
>> Maybe you could try logging len(photo.photo) right before saving it,
>> then again right after fetching it.
>>
>> What happens when you remove the if and simply return photo.photo?
>>
>> Robert
>>
>> class ServePhoto (webapp.RequestHandler):
>>    def get(self):
>>      photo = db.get(self.request.get("photo_id"))
>>      if photo.photo:
>>          self.response.headers['Content-Type'] = "image/jpg"
>>          self.response.out.write(photo.photo)
>>      else:
>>          self.error(404)
>>
>> --
>> Robert Kluin
>> Ezox Systems, LLC
>>
>> On Sun, Sep 12, 2010 at 22:03, Raymond
>>
>>
>>
>>  wrote:
>> > Hi All,
>>
>> > I have been trying to understand how to upload and download images
>> > from to a Blobstore and have hit a wall.
>> > I have essentially made a modified version of the Guestbook example
>> > provided by google and modified it to suit my needs, I have tested the
>> > guestbook app as is and got it working, somehow somewhere I am making
>> > a simple mistake that frustrate every attempt at getting it working in
>> > my own code.
>> > I have stripped down my code to the essential in the hope of
>> > understanding what is wrong, but I am still stuck.
>>
>> > What am I attempting to do ?
>> > Upload in a blobstore an image and display it in a web page.
>>
>> > What is my code ?
>>
>> > 1) My upload form served from a static page
>>
>> > ...
>> > http://192.168.0.196:8083/uploadphoto";
>> > enctype="multipart/form-data" method="post">
>> >        Attempt at uploading a picture using a form> > deiv>
>> >        
>> >        
>> > 
>> > ...
>>
>> > 2) My db model :
>>
>> > class Photo(db.Model):
>> >        photo = db.BlobProperty()
>> >        date = db.DateTimeProperty(auto_now_add=True)
>>
>> > 3) The code uploading the photo and saving it in the blobstore
>>
>> > class UploadPhoto(webapp.RequestHandler):
>> >        def post(self):
>> >                photo = Photo()
>> >                img = self.request.get('photo')
>> >                photo.photo = db.Blob(img)
>> >                photo.put()
>>
>> > 4) The code creating the web page displaying the images :
>>
>> > class PhotoPage(webapp.RequestHandler):
>> >        def get(self):
>> >                self.response.out.write('')
>> >                self.response.out.write('Date&Time  Photo')
>> >                photos = db.GqlQuery("SELECT * FROM Photo ORDER BY date 
>> > DESC LIMIT
>> > 10")
>> >                for photo in photos:
>> >                        self.response.out.write('%s  ' % photo.date)
>> >                        self.response.out.write('> > src="servephoto?photo_id=%s" />'
>> > % photo.key())
>> >                self.response.out.write('')
>>
>> > 5) The code serving the images :
>>
>> > class ServePhoto (webapp.RequestHandler):
>> >    def get(self):
>> >      photo = db.get(self.request.get("photo_id"))
>> >      if photo.photo:
>> >          self.response.headers['Content-Type'] = "image/jpg"
>> >          self.response.out.write(photo.photo)
>> >      else:
>> >          self.error(404)
>>
>> > Everything seem to work until this last stage, I can select an image
>> > in my form, upload it, Something is written in Binary in the
>> > Blobstore.
>> > When I visit the page supposed to display the image I see all info but
>> > a broken image icon.
>> > I checked the source code and the HTML seem to be just fine, here it
>> > is with one record in the blobstore, I get the blob key which mena
>> > that there is a record with some binary stuff in it.
>>
>> > Date&Time        Photo2010-09-13 00:31:14.477698 
>> > > > src="servephoto?photo_id=agt0ZXN0cmF5c3Bvc3ILCxIFUGhvdG8YWww" />> > pre>
>>
>> > I also know that the ServePhoto class is called and executed but it if
>> > photo.photo always return false and execute self-eror(404).
>> > I tried replacing this with a different error code and it always
>> > display the e

[google-appengine] Re: How to control blobstore quota usage?

2010-09-14 Thread Domini
Up.

-- 
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-appeng...@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.



[google-appengine] Re: Retrieving image from a Blob

2010-09-14 Thread John McLaughlin
The one thing that looked off to me is that the line in ServePhoto

 photo = db.get(self.request.get("photo_id"))

might want to be

 photo = Photo.get(self.request.get("photo_id"))

I think db.get is a datastore method, not an inherited method from
db.Model


On Sep 13, 8:09 pm, Robert Kluin  wrote:
> I glanced over your code, nothing really major jumped out at me.  If
> you are not getting an exception in ServePhoto then the model is
> clearly getting created and successfully fetched.
>
> So, here are my first thoughts:
> Have you tried logging some debug info in the UploadPhoto and
> ServePhoto handlers?    Specifically are you sure data is actually in
> the photo property and it is not just an empty string or something?
> Maybe you could try logging len(photo.photo) right before saving it,
> then again right after fetching it.
>
> What happens when you remove the if and simply return photo.photo?
>
> Robert
>
> class ServePhoto (webapp.RequestHandler):
>    def get(self):
>      photo = db.get(self.request.get("photo_id"))
>      if photo.photo:
>          self.response.headers['Content-Type'] = "image/jpg"
>          self.response.out.write(photo.photo)
>      else:
>          self.error(404)
>
> --
> Robert Kluin
> Ezox Systems, LLC
>
> On Sun, Sep 12, 2010 at 22:03, Raymond
>
>
>
>  wrote:
> > Hi All,
>
> > I have been trying to understand how to upload and download images
> > from to a Blobstore and have hit a wall.
> > I have essentially made a modified version of the Guestbook example
> > provided by google and modified it to suit my needs, I have tested the
> > guestbook app as is and got it working, somehow somewhere I am making
> > a simple mistake that frustrate every attempt at getting it working in
> > my own code.
> > I have stripped down my code to the essential in the hope of
> > understanding what is wrong, but I am still stuck.
>
> > What am I attempting to do ?
> > Upload in a blobstore an image and display it in a web page.
>
> > What is my code ?
>
> > 1) My upload form served from a static page
>
> > ...
> > http://192.168.0.196:8083/uploadphoto";
> > enctype="multipart/form-data" method="post">
> >        Attempt at uploading a picture using a form > deiv>
> >        
> >        
> > 
> > ...
>
> > 2) My db model :
>
> > class Photo(db.Model):
> >        photo = db.BlobProperty()
> >        date = db.DateTimeProperty(auto_now_add=True)
>
> > 3) The code uploading the photo and saving it in the blobstore
>
> > class UploadPhoto(webapp.RequestHandler):
> >        def post(self):
> >                photo = Photo()
> >                img = self.request.get('photo')
> >                photo.photo = db.Blob(img)
> >                photo.put()
>
> > 4) The code creating the web page displaying the images :
>
> > class PhotoPage(webapp.RequestHandler):
> >        def get(self):
> >                self.response.out.write('')
> >                self.response.out.write('Date&Time  Photo')
> >                photos = db.GqlQuery("SELECT * FROM Photo ORDER BY date DESC 
> > LIMIT
> > 10")
> >                for photo in photos:
> >                        self.response.out.write('%s  ' % photo.date)
> >                        self.response.out.write(' > src="servephoto?photo_id=%s" />'
> > % photo.key())
> >                self.response.out.write('')
>
> > 5) The code serving the images :
>
> > class ServePhoto (webapp.RequestHandler):
> >    def get(self):
> >      photo = db.get(self.request.get("photo_id"))
> >      if photo.photo:
> >          self.response.headers['Content-Type'] = "image/jpg"
> >          self.response.out.write(photo.photo)
> >      else:
> >          self.error(404)
>
> > Everything seem to work until this last stage, I can select an image
> > in my form, upload it, Something is written in Binary in the
> > Blobstore.
> > When I visit the page supposed to display the image I see all info but
> > a broken image icon.
> > I checked the source code and the HTML seem to be just fine, here it
> > is with one record in the blobstore, I get the blob key which mena
> > that there is a record with some binary stuff in it.
>
> > Date&Time        Photo2010-09-13 00:31:14.477698  > src="servephoto?photo_id=agt0ZXN0cmF5c3Bvc3ILCxIFUGhvdG8YWww" /> > pre>
>
> > I also know that the ServePhoto class is called and executed but it if
> > photo.photo always return false and execute self-eror(404).
> > I tried replacing this with a different error code and it always
> > display the error code so I am sure the if statement get a false.
>
> > My questions is, why would the if statement get a false if there is
> > effectively an image in the blobstore (Proved by the fact that I can
> > retrieve it's key) ?
>
> > I am sorry for the long post, and hope I am not too confusing.
>
> > Thanks for any hint that would get me on the right way and forgive me
> > if the answer is obvious, I probably need new eyes.
>
> > Raymond
>
> > --
> > You received this message because you are subscribe

[google-appengine] How to control blobstore quota usage?

2010-09-14 Thread Domini
I want to let my users upload small files (1 Mb < size < 10 Mb) for
further processing and deletion. Somehow I'm sure that there will be
no more than 100 uploaded unprocessed files at every moment, so, I
assume I won't go above free blobstore quota in the very most cases,
so I setup quota cap for stored data at 2 Gb and am sure that
1. I will pay at most some cents a day, rarely,
2. there can be no "over quota" error.

However, after reading docs and some testing it seems that I shouldn't
be so sure. I can restrict files >10 Mb no earlier they are uploaded
and counted towards quota (by deleting them in servlet after checking
their size), so - anyone just uploads 2 Gb file everyday to make me
pay those "some cents". Moreover, for the very short period of time
between file is uploaded and servlet checked its size and deleted
other users can get "over quota" error.

Also I have a thought on how to consume N * 2 Gb of quota, making app
owner pay more than just "some cents" in case his quota cap for stored
data is much higher than 2 Gb.

The questions are
1. Is there a way to restrict file uploads on some condition before
they were counted towards quota?
2. If no, is it planned?

-- 
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-appeng...@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.



[google-appengine] Re: 500 error accessing http://appengine.google.com/

2010-09-14 Thread Raymond C.
Its better now but still happens occasionally

On Sep 14, 8:54 pm, James  wrote:
> While things seem to have stabilized, trying to deploy earlier this
> morning seems to have "hung" a deployment of mine.  I now get an
> error:
>
> "Another transaction by user xxx is already in progress for this app
> and major version. That user can undo the transaction with appcfg.py's
> "rollback" command."
>
> I'm mentioning this for the GAE team just in case this NEEDS to be
> done.  Otherwise I'm content to just push out a different major
> version and eventually delete the stalled one.  I'm doing it this way
> because I use Java so I don't have the rollback command handy.
>
> James
>
> On Sep 14, 7:44 am, James  wrote:
>
>
>
> > Right now.  Also can't deploy ("Rolling back update" error).

-- 
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-appeng...@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.



[google-appengine] Re: Increased CPU Time/Request after yesterdays maintenance?

2010-09-14 Thread coltsith
I've gotten a small string of DeadlineExceededException in the past
couple hours.

On Sep 14, 2:15 pm, ZeroCool  wrote:
> My apps are having the same problem.
> The error rate is nearly 94% for some pages with following errors:
>
> com.google.appengine.api.datastore.DatastoreTimeoutException: The
> datastore operation timed out, or the data was temporarily
> unavailable.
>
> or
>
> com.google.apphosting.api.DeadlineExceededException: This request
> (e368bee26d2ba9cd) started at 2010/09/14 11:18:27.769 UTC and was
> still executing at 2010/09/14 11:18:57.168 UTC.
>
> On Sep 14, 7:03 pm, "Raymond C."  wrote:
>
>
>
> > My app got a huge amount of deadline exceeded error on DB put, which
> > last for like 5 - 10min for all requests when it happens.  Didnt have
> > these issues before the maintenance.
>
> > On Sep 14, 5:36 pm, mscwd01  wrote:
>
> > > Yes I got that too, shortly after the maintenance period ended, I dont
> > > seem to get them anymore though.
>
> > > During maintenance I got some huge CPU time per request readings -
> > > which I guess is understandable?. However, I simply cannot see how my
> > > resource consistently uses nearly double the the CPU time it did
> > > before the maintenance. Unless the changes they made were to make
> > > requests more expensive ;)
>
> > > On 14 Sep, 10:31, Tonny <12br...@gmail.com> wrote:
>
> > > > I get a general 500 error for an app. Same source as yesterday - so
> > > > would say it's not a coincidence.
>
> > > > This message appears in the log:
> > > > Request was aborted after waiting too long to attempt to service your
> > > > request. This may happen sporadically when the App Engine serving
> > > > cluster is under unexpectedly high or uneven load. If you see this
> > > > message frequently, please contact the App Engine team.
>
> > > > On Sep 14, 11:14 am, mscwd01  wrote:
>
> > > > > Hey,
>
> > > > > This may just be a coincidence but my average CPU time per request has
> > > > > risen noticably since yesterdays maintenance. Whereas my average was
> > > > > 250-300ms, it now takes on average 500-600ms. This is the exact same
> > > > > resource without any changes made, so I cannot seem to work out why
> > > > > this would be. Has anyone else noticed this?
>
> > > > > Thanks

-- 
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-appeng...@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.



[google-appengine] Re: File app.yaml on local PC and appspot - not equal work!

2010-09-14 Thread GAE-framework.googlecode.com
Thank you!

I have fixed this problem. Problem is in the incorrect defined
"upload" attribute.

Correct app.yaml definition is:

handlers:
# serving global static files
- url: /static/css
  static_dir: static/css
- url: /static/js
  static_dir: static/js
- url: /static/img
  static_dir: static/img
# serving static files: static/app_name/... -> app_name/static/...
- url: /static/(\w+)/(.*)
  static_files: \1/static/\2
  upload: (\w+)/static/(.*)

You can found more good ideas in our Open Source project -
http://appengine-framework.googlecode.com

Thank you!

On 13 сен, 17:41, alon  wrote:
> http://www.mail-archive.com/google-appengine@googlegroups.com/msg0713...
>
> maybe this would help?
>
> On Sep 13, 3:59 pm, "GAE-framework.googlecode.com"
>
>
>
>  wrote:
> > Hi all!
>
> > Try to do this (in my case this is Python environment).
>
> > #1. add code to app.yaml file
>
> > application: your-app-id
> > version: 1
> > runtime: python
> > api_version: 1
>
> > handlers:
> > # serving global static files
> > - url: /static/css
> >   static_dir: static/css
> > - url: /static/js
> >   static_dir: static/js
> > - url: /static/img
> >   static_dir: static/img
> > # serving static files: static/app_name/... -> app_name/static/...
> > - url: /static/(\w+)/(.*)
> >   static_files: \\1/static/\\2
> >   upload: \\1/static/\\2
>
> > #2. create file "static/css/test.css". Run application and try 
> > loadhttp://localhost:8080/static/css/test.css-content appear in the
> > browser
>
> > #3. create file "myapp/static/css/test.css". Run application and try
> > loadhttp://localhost:8080/static/myapp/css/test.css-content appear
> > in the browser. This handled by regular expressions in the app.yaml
> > file. File in url "app_name/static/..." to be converted to "static/
> > app_name/..."
>
> > #4. load this project to your appspot server. Try step #2 and #3 on
> > server. In my case step #2 work well, but step #3 don't work.
>
> > Please, can you help me investigate this situation and find how to fix
> > this. Google App Engine developers - I need your help!
>
> > Thank you!

-- 
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-appeng...@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.



[google-appengine] Re: Can Google CDNs cache dynamically generated files ?

2010-09-14 Thread Francois Masurel
For the moment, I'll use memcache on the server side and cache control
headers on the client side.

On Sep 14, 11:10 am, Andrius A  wrote:
> it wont be cached in CDN, but if you specify the correct http headers it
> will be cached by the browser. 
> check:http://code.google.com/appengine/docs/python/config/appconfig.html#St...
>
> On 13 September 2010 21:44, Francois Masurel  wrote:
>
>
>
> > @Robert : yep, that's what I meant
>
> > @Peter : can someone at Google confirms that putting the right cache
> > controls headers (to be determined) servlet generated content can be
> > cached in Google CDNs ?
>
> > Thanx everybody for your answers.
>
> > On 13 sep, 22:00, Peter Liu  wrote:
> > > From my experience, dynamic content is also cached if you set the
> > > cache control headers.
>
> > > On Sep 13, 9:25 am, Francois Masurel  wrote:
>
> > > > Let me explain :
>
> > > > I have potentially too many (> 3000) GWT generated files in my java
> > > > application.  I've already packed all my java classes in a jar.
>
> > > > So I made a zip of all these files and implemented a servlet to serve
> > > > them dynamically.
>
> > > > The servlet url-pattern matches an include path defined in my
> > > > appengine-web.xml static-files block.
>
> > > > The question is : will the files served by my servlet be cached on
> > > > Google CDNs as supposed in this thread :
>
> > > >http://groups.google.com/group/google-appengine/browse_thread/thread/.
> > ..
>
> > > > It doesn't seem to be the case as each time I purge my browser cache,
> > > > the files are served again from my servlet.
>
> > > > Thanx for your help.
>
> > > > Francois
>
> > --
> > 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-appeng...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com > e...@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-appeng...@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.



[google-appengine] Re: Increased CPU Time/Request after yesterdays maintenance?

2010-09-14 Thread ZeroCool
My apps are having the same problem.
The error rate is nearly 94% for some pages with following errors:

com.google.appengine.api.datastore.DatastoreTimeoutException: The
datastore operation timed out, or the data was temporarily
unavailable.

or

com.google.apphosting.api.DeadlineExceededException: This request
(e368bee26d2ba9cd) started at 2010/09/14 11:18:27.769 UTC and was
still executing at 2010/09/14 11:18:57.168 UTC.



On Sep 14, 7:03 pm, "Raymond C."  wrote:
> My app got a huge amount of deadline exceeded error on DB put, which
> last for like 5 - 10min for all requests when it happens.  Didnt have
> these issues before the maintenance.
>
> On Sep 14, 5:36 pm, mscwd01  wrote:
>
>
>
> > Yes I got that too, shortly after the maintenance period ended, I dont
> > seem to get them anymore though.
>
> > During maintenance I got some huge CPU time per request readings -
> > which I guess is understandable?. However, I simply cannot see how my
> > resource consistently uses nearly double the the CPU time it did
> > before the maintenance. Unless the changes they made were to make
> > requests more expensive ;)
>
> > On 14 Sep, 10:31, Tonny <12br...@gmail.com> wrote:
>
> > > I get a general 500 error for an app. Same source as yesterday - so
> > > would say it's not a coincidence.
>
> > > This message appears in the log:
> > > Request was aborted after waiting too long to attempt to service your
> > > request. This may happen sporadically when the App Engine serving
> > > cluster is under unexpectedly high or uneven load. If you see this
> > > message frequently, please contact the App Engine team.
>
> > > On Sep 14, 11:14 am, mscwd01  wrote:
>
> > > > Hey,
>
> > > > This may just be a coincidence but my average CPU time per request has
> > > > risen noticably since yesterdays maintenance. Whereas my average was
> > > > 250-300ms, it now takes on average 500-600ms. This is the exact same
> > > > resource without any changes made, so I cannot seem to work out why
> > > > this would be. Has anyone else noticed this?
>
> > > > Thanks

-- 
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-appeng...@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.



[google-appengine] Re: 500 error accessing http://appengine.google.com/

2010-09-14 Thread ingo
although it looks like this is solved, still some requests take a lot
longer than others e.g. every ~10th request or so takes more than 8
seconds in my application. all other requests take 50-600ms. i would
too appreciate to get some information about those peaks.

kind regards,
ingo

On 14 Sep., 14:50, mscwd01  wrote:
> I've experienced large increases in CPU time per request since the
> maintenance yesterday. I would like to here some official comment
> regarding this...
> GET and PUTs seem to take much longer than a day or so ago.
>
> On 14 Sep, 13:22, Kenneth  wrote:
>
> > I've been having errors all morning.  Sigh.
>
> > Something's up, and it ain't the datastore:
>
> >http://code.google.com/status/appengine/detail/datastore/2010/09/14#a...
>
> > On Sep 14, 12:55 pm, "Raymond C."  wrote:
>
> > > Cant even connect to my application.
>
> > > On Sep 14, 7:44 pm, James  wrote:
>
> > > > Right now.  Also can't deploy ("Rolling back update" error).
>
>

-- 
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-appeng...@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.



[google-appengine] Re: 500 error accessing http://appengine.google.com/

2010-09-14 Thread James
While things seem to have stabilized, trying to deploy earlier this
morning seems to have "hung" a deployment of mine.  I now get an
error:

"Another transaction by user xxx is already in progress for this app
and major version. That user can undo the transaction with appcfg.py's
"rollback" command."

I'm mentioning this for the GAE team just in case this NEEDS to be
done.  Otherwise I'm content to just push out a different major
version and eventually delete the stalled one.  I'm doing it this way
because I use Java so I don't have the rollback command handy.

James



On Sep 14, 7:44 am, James  wrote:
> Right now.  Also can't deploy ("Rolling back update" error).

-- 
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-appeng...@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.



[google-appengine] Re: 500 error accessing http://appengine.google.com/

2010-09-14 Thread mscwd01
I've experienced large increases in CPU time per request since the
maintenance yesterday. I would like to here some official comment
regarding this...
GET and PUTs seem to take much longer than a day or so ago.

On 14 Sep, 13:22, Kenneth  wrote:
> I've been having errors all morning.  Sigh.
>
> Something's up, and it ain't the datastore:
>
> http://code.google.com/status/appengine/detail/datastore/2010/09/14#a...
>
> On Sep 14, 12:55 pm, "Raymond C."  wrote:
>
> > Cant even connect to my application.
>
> > On Sep 14, 7:44 pm, James  wrote:
>
> > > Right now.  Also can't deploy ("Rolling back update" error).

-- 
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-appeng...@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.



[google-appengine] Re: 500 error accessing http://appengine.google.com/

2010-09-14 Thread Kenneth
I've been having errors all morning.  Sigh.

Something's up, and it ain't the datastore:

http://code.google.com/status/appengine/detail/datastore/2010/09/14#ae-trust-detail-datastore-get-latency


On Sep 14, 12:55 pm, "Raymond C."  wrote:
> Cant even connect to my application.
>
> On Sep 14, 7:44 pm, James  wrote:
>
>
>
>
>
>
>
> > Right now.  Also can't deploy ("Rolling back update" error).

-- 
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-appeng...@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.



[google-appengine] Re: 500 error accessing http://appengine.google.com/

2010-09-14 Thread Alexander M
Same here -- intermittent outages on the appengine console, as well as
for my application.

On Sep 14, 1:55 pm, "Raymond C."  wrote:
> Cant even connect to my application.
>
> On Sep 14, 7:44 pm, James  wrote:
>
>
>
> > Right now.  Also can't deploy ("Rolling back update" error).

-- 
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-appeng...@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.



Re: [google-appengine] Create Application

2010-09-14 Thread lezizi domain
Thanks!

2010/9/14 Robert Kluin 

> Are you logging in at appspot.com/a/lezizi.org?
>
>
>
> Robert
>
>
>
>
>
>
> On Sat, Sep 11, 2010 at 10:10, w...@lezizi.org  wrote:
> > I have created an application on Google App Engine, but it was not
> > showed on the dashboard.
> >
> > It says:
> > Before getting started, you want to learn more about developing and
> > deploying applications.
> > Learn more about Google App Engine by reading the Getting Started
> > Guide, the FAQ, or the Developer's Guide.
> >
> > Then I created another application . It wasn't showed on the dashboard
> > either, but it says 'You have 8 applications remaining'.
> >
> > I really want to know how to deal with this strange problem
> >
> > Thanks!
> >
> > --
> > 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-appeng...@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-appeng...@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-appeng...@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.



[google-appengine] Re: 500 error accessing http://appengine.google.com/

2010-09-14 Thread ingo
well, seems to be fixed now :)

could you provide any details about the results of your
investigations?

kind regards,
ingo

On 14 Sep., 14:08, ingo  wrote:
> hello app engine team,
>
> i have the same problem.
>
> in general, i love developing gwt apps for the app engine. but this is
> not the first time i cannot reach the administration console, cannot
> deploy my app or cannot use my app without any warning. there have
> been similar errors in the last weeks (e.g. inaccessible svn
> repository or the 502 bad gateway error).
>
> please reduce the frequency of 502 and 500 errors as soon as possible.
> to me this is very important. already my trust in the platform
> decreased a bit.
>
> kind regards,
> ingo
>
> On 14 Sep., 13:44, James  wrote:
>
> > Right now.  Also can't deploy ("Rolling back update" error).
>
>

-- 
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-appeng...@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.



[google-appengine] 500 error accessing http://appengine.google.com/

2010-09-14 Thread James
Right now.  Also can't deploy ("Rolling back update" error).

-- 
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-appeng...@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.



[google-appengine] Re: 500 error accessing http://appengine.google.com/

2010-09-14 Thread ingo
hello app engine team,

i have the same problem.

in general, i love developing gwt apps for the app engine. but this is
not the first time i cannot reach the administration console, cannot
deploy my app or cannot use my app without any warning. there have
been similar errors in the last weeks (e.g. inaccessible svn
repository or the 502 bad gateway error).

please reduce the frequency of 502 and 500 errors as soon as possible.
to me this is very important. already my trust in the platform
decreased a bit.

kind regards,
ingo

On 14 Sep., 13:44, James  wrote:
> Right now.  Also can't deploy ("Rolling back update" error).

-- 
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-appeng...@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.



[google-appengine] Re: 500 error accessing http://appengine.google.com/

2010-09-14 Thread Raymond C.
Cant even connect to my application.

On Sep 14, 7:44 pm, James  wrote:
> Right now.  Also can't deploy ("Rolling back update" error).

-- 
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-appeng...@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.



[google-appengine] Re: Increased CPU Time/Request after yesterdays maintenance?

2010-09-14 Thread Raymond C.
My app got a huge amount of deadline exceeded error on DB put, which
last for like 5 - 10min for all requests when it happens.  Didnt have
these issues before the maintenance.

On Sep 14, 5:36 pm, mscwd01  wrote:
> Yes I got that too, shortly after the maintenance period ended, I dont
> seem to get them anymore though.
>
> During maintenance I got some huge CPU time per request readings -
> which I guess is understandable?. However, I simply cannot see how my
> resource consistently uses nearly double the the CPU time it did
> before the maintenance. Unless the changes they made were to make
> requests more expensive ;)
>
> On 14 Sep, 10:31, Tonny <12br...@gmail.com> wrote:
>
>
>
> > I get a general 500 error for an app. Same source as yesterday - so
> > would say it's not a coincidence.
>
> > This message appears in the log:
> > Request was aborted after waiting too long to attempt to service your
> > request. This may happen sporadically when the App Engine serving
> > cluster is under unexpectedly high or uneven load. If you see this
> > message frequently, please contact the App Engine team.
>
> > On Sep 14, 11:14 am, mscwd01  wrote:
>
> > > Hey,
>
> > > This may just be a coincidence but my average CPU time per request has
> > > risen noticably since yesterdays maintenance. Whereas my average was
> > > 250-300ms, it now takes on average 500-600ms. This is the exact same
> > > resource without any changes made, so I cannot seem to work out why
> > > this would be. Has anyone else noticed this?
>
> > > Thanks

-- 
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-appeng...@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.



  1   2   >