Re: [google-appengine] Problem using Google Apps Viewer to view a blob

2011-07-19 Thread Nick Johnson (Google)
Have you checked what Mime-Type you're serving the documents as, and if it's
valid for docx documents?

-Nick Johnson

On Wed, Jul 20, 2011 at 9:55 AM, Joshua Smith wrote:

> If you look at this URL:
>
> http://www.mytowngovernment.org/meeting/1234040
>
> and click the link for one of the .doc files, they work in google's viewer.
>  But if you click on one of the .docx files, they don't.
>
> When you click on the link to view, it does this:
>
>   dlurl=re.sub('viewer','download',self.request.uri)
>   self.redirect("http://docs.google.com/viewer?url=%s"; %
> urllib.quote(dlurl))
>
> and the download handler is simply:
>
>   documentKey = self.request.get("document")
>   document = DocumentModel.get(documentKey)
>   self.send_blob(document.blob.key())
>
> Everything I've read says that google's docs viewer should be able to view
> .docx files, so I'm guessing the problem is in the way the blob is served
> from GAE to Google Apps.
>
> Any ideas?
>
> -Joshua
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>


-- 
Nick Johnson, Developer Programs Engineer, App Engine

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



[google-appengine] Problem with Blobstore and forwards

2011-07-19 Thread David D.
I tried to add an upload field in one my form, using Google Blobstore
API.
But it's not as mush easy that I thought! The Google example works
well but...

In my case, before using Blobstore (users didn't need to upload photos
before):
- I had an addItem.jsp file which contains a form with several fields.
- I had an addItemActionServlet which was called when the user
submitted the form.
- If there was an error (like an empty field), users were redirected
on the same page to correct the form to submit. If everything wa
allright, users were redirected in another page.
 (For both cases, I had to set attributes to my request, and so, I had
to use the Forward method to redirect).

Then, I added an upload field sothat users can upload photo on the
same page they fill the other fields.
I was forced to change the action, by calling the createUploadUrl()
method...ok.

Now here is the problem: Google seems to want that I use
SendRedirect() method only, not Forward().
Indeed, with the forward() method, i get :
- this error message on my page: "HTTP ERROR 500 - Expected a
redirect, tried to write content instead."
- this error on my Eclipse console: "GRAVE: Must only return a
redirect from a Blobstore upload callback." But my form is designed to
transfer lots of things between page.

Should I design my form error handling in a different manner? It would
be a big pain because there is lots of stuff! I would prefere that you
give me an intelligent tip :)

More, my code seems to be dirty because I'm calling the blobstore
service directly from addItem.jsp, and the form action always creates
an uploadURL, but it's possible that a user just would like to addItem
without uploading any photo on it!!!


So, have you got an idea to solve this problem or to proceed
differently?
Thanks a lot.

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



[google-appengine] Re: Pull-Queue with REST API

2011-07-19 Thread Nick
Hi Vivek,

Thanks for you last post. The s~ prefix solved the problem.

Thank you for your help. Hopefully this thread will help others who are 
having problems.

Nick

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



Re: [google-appengine] Re: Any mechanisms to block/wait without polling?

2011-07-19 Thread Greg Darke (Google)
If you are interested in this feature (blocking for new pull queue
tasks), please file an feature request in the issue tracker (or if one
already exists, star it).

We use the issue tracker to see what features user's are asking for
and also to gauge how popular a specific request is.

http://code.google.com/p/googleappengine/issues/list


On 20 July 2011 11:03, Jim Mittler  wrote:
> Thanks for the feedback. I can certainly understand why the blocking
> techniques are discouraged; it's still hard to get out of that frame
> of mind!
>
> As for an example of "what I shouldn't be doing", the pull queue API
> has a lease_task method, but as far as I can tell there is no way to
> call it and have it block (for any duration) until the first task
> becomes available.
>
> If I try to lease a task via the REST API or the internal API, I ill
> need to keep calling "lease_task"  over and over again until I get
> some work. So either I burn CPU or I sleep in between calls and I
> introduce an unwelcome delay in my processing.
>
> Jim
>
> On Jul 18, 6:45 pm, "Nick Johnson (Google)" 
> wrote:
>> Hi Jim,
>>
>> Blocking in App Engine is generally strongly discouraged. Can you provide an
>> example use-case in which you need to do this?
>>
>> -Nick Johnson
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> On Tue, Jul 19, 2011 at 4:43 AM, Jim Mittler  wrote:
>> > I have some patterns that I would very much like to try to implement
>> > in GAE, but I can't seem to get past a requirement to coordinate a
>> > signal between two tasks running in GAE.
>>
>> > There seems to be no GAE mechanism to wait for an event without going
>> > into some sort of polling loop. Is there something maybe that I'm
>> > missing or is this just wishful thinking?
>>
>> > 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.
>> > For more options, visit this group at
>> >http://groups.google.com/group/google-appengine?hl=en.
>>
>> --
>> Nick Johnson, Developer Programs Engineer, App Engine
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
>
>

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



Re: [google-appengine] Python app unstable

2011-07-19 Thread Robert Kluin
Hey Vinuth,
  I was seeing sporadic deploy issues late last week.  Did your HR
deploy ever go through?



Robert




On Tue, Jul 19, 2011 at 10:45, Vinuth Madinur  wrote:
> Hi,
> Since last 25 hours, my application is getting DeadlineExceeded Errors. Out
> of 30 attempts, 1 succeeds. (sen6app.appspot.com) Even requests that dont
> access database fail with latency more than 5ms. I thought this could be
> due to unpredictable behavior of Master Slave DB and thought of doing the
> migration to HR.
> For migration, I tried deploying the application with a different name. But
> that also fails with a typical 500 response:
> Cloning 1563 application files.
> Rolling back the update.
> Error 500: --- begin server output ---
> 
> 
> 500 Server Error
> 
> 
> Error: Server Error
> The server encountered an error and could not complete your
> request.If the problem persists, please  HREF="http://code.google.com/appengine/community.html";>report your
> problem and mention this error message and the query that caused it.
> 
> 
> --- end server output ---
>
> So I'm stuck since yesterday with almost all requests failing and not being
> able to migrate to HR. I dont think it is a DB problem as even app
> deployment is failing.
> However, another application also in python has been working fine.
> (india-governs.appspot.com)
> Anyone else facing these problems?
>
> Thanks,
> Vinuth.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>

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



Re: [google-appengine] Re: Any mechanisms to block/wait without polling?

2011-07-19 Thread Robert Kluin
Hi Jim,
  It sounds like push tasks might be a better fit.  As another option
you could use a push-task to initiate the processing on the
pull-queue.  If you're processing on an external server, perhaps you
could use URL fetch (possibly from a push task) to initiate the
processing.



Robert




On Tue, Jul 19, 2011 at 21:03, Jim Mittler  wrote:
> Thanks for the feedback. I can certainly understand why the blocking
> techniques are discouraged; it's still hard to get out of that frame
> of mind!
>
> As for an example of "what I shouldn't be doing", the pull queue API
> has a lease_task method, but as far as I can tell there is no way to
> call it and have it block (for any duration) until the first task
> becomes available.
>
> If I try to lease a task via the REST API or the internal API, I ill
> need to keep calling "lease_task"  over and over again until I get
> some work. So either I burn CPU or I sleep in between calls and I
> introduce an unwelcome delay in my processing.
>
> Jim
>
> On Jul 18, 6:45 pm, "Nick Johnson (Google)" 
> wrote:
>> Hi Jim,
>>
>> Blocking in App Engine is generally strongly discouraged. Can you provide an
>> example use-case in which you need to do this?
>>
>> -Nick Johnson
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> On Tue, Jul 19, 2011 at 4:43 AM, Jim Mittler  wrote:
>> > I have some patterns that I would very much like to try to implement
>> > in GAE, but I can't seem to get past a requirement to coordinate a
>> > signal between two tasks running in GAE.
>>
>> > There seems to be no GAE mechanism to wait for an event without going
>> > into some sort of polling loop. Is there something maybe that I'm
>> > missing or is this just wishful thinking?
>>
>> > 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.
>> > For more options, visit this group at
>> >http://groups.google.com/group/google-appengine?hl=en.
>>
>> --
>> Nick Johnson, Developer Programs Engineer, App Engine
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
>
>

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



[google-appengine] Re: Any mechanisms to block/wait without polling?

2011-07-19 Thread Jim Mittler
Thanks for the feedback. I can certainly understand why the blocking
techniques are discouraged; it's still hard to get out of that frame
of mind!

As for an example of "what I shouldn't be doing", the pull queue API
has a lease_task method, but as far as I can tell there is no way to
call it and have it block (for any duration) until the first task
becomes available.

If I try to lease a task via the REST API or the internal API, I ill
need to keep calling "lease_task"  over and over again until I get
some work. So either I burn CPU or I sleep in between calls and I
introduce an unwelcome delay in my processing.

Jim

On Jul 18, 6:45 pm, "Nick Johnson (Google)" 
wrote:
> Hi Jim,
>
> Blocking in App Engine is generally strongly discouraged. Can you provide an
> example use-case in which you need to do this?
>
> -Nick Johnson
>
>
>
>
>
>
>
>
>
> On Tue, Jul 19, 2011 at 4:43 AM, Jim Mittler  wrote:
> > I have some patterns that I would very much like to try to implement
> > in GAE, but I can't seem to get past a requirement to coordinate a
> > signal between two tasks running in GAE.
>
> > There seems to be no GAE mechanism to wait for an event without going
> > into some sort of polling loop. Is there something maybe that I'm
> > missing or is this just wishful thinking?
>
> > 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.
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine?hl=en.
>
> --
> Nick Johnson, Developer Programs Engineer, App Engine

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



Re: [google-appengine] Re: Blobstore: how to code the form when there is already one

2011-07-19 Thread Robert Kluin
Heh, yeah was travelling with poor connectivity.  Apparently my phone
hadn't synced or something.  At least my answers were consistent. :)

Sorry, I don't know of of any other Java blobstore examples.



Robert







On Wed, Jul 6, 2011 at 10:09, David D.  wrote:
> Haha, you just repeated the first post.
>
> On 5 juil, 01:03, Robert Kluin  wrote:
>> http://code.google.com/appengine/docs/java/blobstore/overview.html#Co...
>>
>> In the upload handler I would try to get the values just as you usually do.
>> On Jul 4, 2011 8:35 PM, "David Walt"  wrote:
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
>
>

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



[google-appengine] Problem using Google Apps Viewer to view a blob

2011-07-19 Thread Joshua Smith
If you look at this URL:

http://www.mytowngovernment.org/meeting/1234040

and click the link for one of the .doc files, they work in google's viewer.  
But if you click on one of the .docx files, they don't.

When you click on the link to view, it does this:

   dlurl=re.sub('viewer','download',self.request.uri)
   self.redirect("http://docs.google.com/viewer?url=%s"; % urllib.quote(dlurl))

and the download handler is simply:

   documentKey = self.request.get("document")
   document = DocumentModel.get(documentKey)
   self.send_blob(document.blob.key())

Everything I've read says that google's docs viewer should be able to view 
.docx files, so I'm guessing the problem is in the way the blob is served from 
GAE to Google Apps.

Any ideas?

-Joshua

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



[google-appengine] Re: Blobstore: how to code the form when there is already one

2011-07-19 Thread David D.
Could someone provide a more detailed answer please? thx a lot.

On 6 juil, 13:09, "David D."  wrote:
> Haha, you just repeated the first post.
>
> On 5 juil, 01:03, Robert Kluin  wrote:
>
>
>
>
>
>
>
> >http://code.google.com/appengine/docs/java/blobstore/overview.html#Co...
>
> > In the upload handler I would try to get the values just as you usually do.
> > On Jul 4, 2011 8:35 PM, "David Walt"  wrote:

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



[google-appengine] Re: GAE starting unnecessary instances

2011-07-19 Thread Galoch
Same here. Seems like GAE is totally ignoring Always On instances.
I also noticed that even with no user hitting our app and a single
cron job that runs every 5 minutes it is still spinning instances
every 3 minutes and then killing them in 2 minutes.

This has been happening since after the upgrade on 14th July. During
peak load this really gets nasty and brings down the performance.

This is the feedback I got yesterday from one of our customers since
it takes time to spin an instance (and yes we use Spring):

"1) I found the GUI to be very laggy"

Can someone from Google please respond?

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



Re: [google-appengine] High CPU usage and how to improve performance

2011-07-19 Thread Barry Hunter
Have you tried AppStats?
http://code.google.com/appengine/docs/python/tools/appstats.html

On Tue, Jul 19, 2011 at 8:31 PM, observer247  wrote:
> My python app engine app is somewhat popular, mainly used as via api
> from my iphone app.
>
>
> Recently I am seeing high over usage charges.
>
> The most used call already use 15 CPU hours , with stats:
>        3.7 calls/sec   26.15K requests in 12hrs        603 (0) [cpu]
>
> HTTP/1.1" 200 1839 - "QandA/5.4 CFNetwork/485.12.7 Darwin/10.4.0"
> "may.latest.nuvusanswers.appspot.com" ms=1490 cpu_ms=467 api_cpu_ms=0
> cpm_usd=0.013200 pending_ms=1058 throttle_code=1
> instance=00c61b117c8b0de1286e8d90c22f4d5b3897c8
>
> This call just reads a memcache and returns the data. Thats it. Will
> really like to know are memcache reads so expensive ? Am I using a lot
> more memcache that I need ?
>
> I have removed all other versions and have just one version running.
> The number of instances now is
>
> 28 total        0.510 (Average QPS)     281.1 ms (Average Latency)      59.5 
> MBytes
> (Average Memory)
>
> As this is the most expensive call, I am first going after that. but I
> am seeing most of my calls are now using a LOT of CPU. Will be great
> if anyone can point me to things I can debug to find out the high
> usage across the board.
>
> Thank you for reading 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-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
>
>

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



Re: [google-appengine] Re: Datastore Timeouts

2011-07-19 Thread Robert Kluin
Might try a production issue:
http://code.google.com/p/googleappengine/issues/entry?template=Production%20issue







On Tue, Jul 19, 2011 at 13:19, vivpuri  wrote:
> Folks @appengine, atleast reply this post. Even i provide better
> customer service then this for my company that earns a fraction of
> what Google does.
>
> On Jul 19, 1:14 pm, Ronoaldo José de Lana Pereira
>  wrote:
>> I can confirm that our Java app is also having lots of datastore timeouts.
>> We still use MS... Is this another hint to go ahead and jump into HRD?
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
>
>

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



Re: [google-appengine] High CPU usage and how to improve performance

2011-07-19 Thread Robert Kluin
Hi,
  What it looks like is happening is that you're requests are getting
stuck in the pending queue.  In order to get more instances you need
to reduce your call latency.  In your case this might just be
something happening in passing, since the actual request only took a
couple hundred ms.

> ms=1490 cpu_ms=467 api_cpu_ms=0
> cpm_usd=0.013200  throttle_code=1

The pending ms value (1058) is the time the request was waiting to be
serviced by an instance; as I recollect it gets added to the request
latency (the ms value).  As a note, that request does not seem to make
any API calls.  I don't recall what throttle_code 1 means, would be
great if these were documented somewhere
(http://code.google.com/p/googleappengine/issues/detail?id=4405),


Robert





On Tue, Jul 19, 2011 at 15:31, observer247  wrote:
> My python app engine app is somewhat popular, mainly used as via api
> from my iphone app.
>
>
> Recently I am seeing high over usage charges.
>
> The most used call already use 15 CPU hours , with stats:
>        3.7 calls/sec   26.15K requests in 12hrs        603 (0) [cpu]
>
> HTTP/1.1" 200 1839 - "QandA/5.4 CFNetwork/485.12.7 Darwin/10.4.0"
> "may.latest.nuvusanswers.appspot.com" ms=1490 cpu_ms=467 api_cpu_ms=0
> cpm_usd=0.013200 pending_ms=1058 throttle_code=1
> instance=00c61b117c8b0de1286e8d90c22f4d5b3897c8
>
> This call just reads a memcache and returns the data. Thats it. Will
> really like to know are memcache reads so expensive ? Am I using a lot
> more memcache that I need ?
>
> I have removed all other versions and have just one version running.
> The number of instances now is
>
> 28 total        0.510 (Average QPS)     281.1 ms (Average Latency)      59.5 
> MBytes
> (Average Memory)
>
> As this is the most expensive call, I am first going after that. but I
> am seeing most of my calls are now using a LOT of CPU. Will be great
> if anyone can point me to things I can debug to find out the high
> usage across the board.
>
> Thank you for reading 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-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
>
>

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



[google-appengine] Re: GAE starting unnecessary instances

2011-07-19 Thread Francois Masurel
Resident instances don't seem to be used at all (check attachment).

It's probably a bug on GAE side.

Any googlers around ?

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

<>

[google-appengine] Re: GAE starting unnecessary instances

2011-07-19 Thread tempy
I'm still seeing this too...

On Jul 19, 1:39 pm, Tom Phillips  wrote:
> http://code.google.com/status/appengineshows they are investigating
> issue(s) with Java currently..
>
> On Jul 19, 7:28 am, Tom Phillips  wrote:
>
>
>
>
>
>
>
> > Yes, seeing the same problem on all my apps. Java, M/S.
>
> > Raise a production issue Francois?
>
> > /Tom
>
> > On Jul 19, 6:34 am, Francois Masurel  wrote:
>
> > > Even 3 now, for just just a few new requests. Geez.
>
> > > It's getting really expensive :-(
>
> > >  Instances-VinoCities_3.jpg
> > > 43KViewDownload

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



[google-appengine] Re: High CPU usage and how to improve performance

2011-07-19 Thread observer247
Did Google change the way they calculate resource usage recently ? I
am seeing a lot of billing (~ $500 per month) now. If yes, is there
some documentation we can check.


On Jul 19, 12:31 pm, observer247  wrote:
> My python app engine app is somewhat popular, mainly used as via api
> from my iphone app.
>
> Recently I am seeing high over usage charges.
>
> The most used call already use 15 CPU hours , with stats:
>         3.7 calls/sec   26.15K requests in 12hrs        603 (0) [cpu]
>
> HTTP/1.1" 200 1839 - "QandA/5.4 CFNetwork/485.12.7 Darwin/10.4.0"
> "may.latest.nuvusanswers.appspot.com" ms=1490 cpu_ms=467 api_cpu_ms=0
> cpm_usd=0.013200 pending_ms=1058 throttle_code=1
> instance=00c61b117c8b0de1286e8d90c22f4d5b3897c8
>
> This call just reads a memcache and returns the data. Thats it. Will
> really like to know are memcache reads so expensive ? Am I using a lot
> more memcache that I need ?
>
> I have removed all other versions and have just one version running.
> The number of instances now is
>
> 28 total        0.510 (Average QPS)     281.1 ms (Average Latency)      59.5 
> MBytes
> (Average Memory)
>
> As this is the most expensive call, I am first going after that. but I
> am seeing most of my calls are now using a LOT of CPU. Will be great
> if anyone can point me to things I can debug to find out the high
> usage across the board.
>
> Thank you for reading 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-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] High CPU usage and how to improve performance

2011-07-19 Thread observer247
My python app engine app is somewhat popular, mainly used as via api
from my iphone app.


Recently I am seeing high over usage charges.

The most used call already use 15 CPU hours , with stats:
3.7 calls/sec   26.15K requests in 12hrs603 (0) [cpu]

HTTP/1.1" 200 1839 - "QandA/5.4 CFNetwork/485.12.7 Darwin/10.4.0"
"may.latest.nuvusanswers.appspot.com" ms=1490 cpu_ms=467 api_cpu_ms=0
cpm_usd=0.013200 pending_ms=1058 throttle_code=1
instance=00c61b117c8b0de1286e8d90c22f4d5b3897c8

This call just reads a memcache and returns the data. Thats it. Will
really like to know are memcache reads so expensive ? Am I using a lot
more memcache that I need ?

I have removed all other versions and have just one version running.
The number of instances now is

28 total0.510 (Average QPS) 281.1 ms (Average Latency)  59.5 
MBytes
(Average Memory)

As this is the most expensive call, I am first going after that. but I
am seeing most of my calls are now using a LOT of CPU. Will be great
if anyone can point me to things I can debug to find out the high
usage across the board.

Thank you for reading 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-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Datastore Timeouts

2011-07-19 Thread vivpuri
Folks @appengine, atleast reply this post. Even i provide better
customer service then this for my company that earns a fraction of
what Google does.

On Jul 19, 1:14 pm, Ronoaldo José de Lana Pereira
 wrote:
> I can confirm that our Java app is also having lots of datastore timeouts.
> We still use MS... Is this another hint to go ahead and jump into HRD?

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



Re: [google-appengine] Re: Datastore Timeouts

2011-07-19 Thread Ronoaldo José de Lana Pereira
I can confirm that our Java app is also having lots of datastore timeouts. 
We still use MS... Is this another hint to go ahead and jump into HRD?

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



Re: [google-appengine] Cached requests and increased bandwidth usage and bill.

2011-07-19 Thread Ronoaldo José de Lana Pereira
Thanks for explaining this Johan. There is another thread on this cached 
requests previously, and I was about to post something right now.

Can you explain more about those "cached requests" please? Are they requests 
that uses Memcache or requests that return a 304 NOT MODIFIED response (like 
the static handlers with cache configuration)?

--
Ronoaldo

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



[google-appengine] Re: redirect after upload returns NoneType even with check on the UploadHandler

2011-07-19 Thread andreas schmid
ok i found the issue. 
another process accesses and processes the uploaded binaries and deletes them. 
the js upload plugin does not access the redirect url i provide the moment i 
return it so it happens that with many assets
while the js is still uploading the other process starts working on the 
entities and when the js accesses the redirect url the entity is already gone.

On Jul 18, 2011, at 6:54 PM, andreas schmid wrote:

> hi,
> 
> im having issues when i upload many (50-100) files at on a web based upload 
> queue.
> i have 2 handlers. the FileUploadHandler saves the binary, checks if its 
> saved and redirects to the
> RedirectAfterUpload which creates a json dict for the uplaod js to tell that 
> the uplaod is done.
> 
> the issue is that sometimes i get a NoneType when i try to get the asset on 
> the second handler. 
> how is this possible if i checked that it was saved in the first handler and 
> it?
> i also use entity groups and i tried different ways of getting and putting 
> the binary by key.
> sometimes i also get a redirect to temporary-blobstore-error.appspot.com 
> which is really annoying.
> 
> here the 2 handlers:
> 
> class FileUploadHandler(blobstore_handlers.BlobstoreUploadHandler):
>def post(self, tags=None):
>uploads = self.get_uploads()
>if uploads:
>binary = uploads[0]
>bin = Binary(parent = imageapp_key,
>  blob = binary,
>  filename = binary.filename,
>  size= binary.size)
># put the entity
>bin.put()
># make a test get operation to see if the 
># asset is saved.
>testget = db.get(bin.key())
>if not testget or not bin.is_saved():
>import logging
>logging.warning('*** bin is not saved!')
>return self.error(500)
>key = str(bin.key())
>self.redirect('/assets/api/upload/%s.json' %key)
> 
> 
> class RedirectAfterUpload(RequestHandler):
>def get(self, key):
>asset = db.get(key)
># get the asset
>if not asset:
>asset = Binary.get(key)
># after the second get the get
># still returns a None
>if not asset:
>logging.warning('still no asset after second get')
>return self.error(500)
>data = dict(name = asset.filename,
>thumbnail = asset.serving_url,
>size = asset.size)
>self.response.headers["Content-Type"] = "application/x-javascript"
>self.response.out.write(jsonify(data))
> 
> i don't understand what it could be.
> 
> thx
> andreas

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



[google-appengine] Re: can not view entity in datastore viewer

2011-07-19 Thread saintthor
i tried more. it seems if the model has a textproperty, the error
occurs.

in another app 1wqshen, the same thing happens.

On Jul 18, 10:12 pm, Johan Euphrosine  wrote:
> Hi saintthor,
>
> What is your appid ?
>
> Thanks in advance.
>
> On Mon, Jul 18, 2011 at 3:50 PM, saintthor  wrote:
> > since yesterday or earlier, click the id of entity in entity list to
> > view it, always show me:
>
> > Server Error
>
> > A server error has occurred.
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "Google App Engine" group.
> > To post to this group, send email to google-appengine@googlegroups.com.
> > To unsubscribe from this group, send email to 
> > google-appengine+unsubscr...@googlegroups.com.
> > For more options, visit this group 
> > athttp://groups.google.com/group/google-appengine?hl=en.
>
> --
> Johan Euphrosine (proppy)
> Developer Programs Engineer
> Google Developer Relations

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



[google-appengine] Python app unstable

2011-07-19 Thread Vinuth Madinur
Hi,

Since last 25 hours, my application is getting DeadlineExceeded Errors. Out
of 30 attempts, 1 succeeds. (sen6app.appspot.com) Even requests that dont
access database fail with latency more than 5ms. I thought this could be
due to unpredictable behavior of Master Slave DB and thought of doing the
migration to HR.

For migration, I tried deploying the application with a different name. But
that also fails with a typical 500 response:

Cloning 1563 application files.
Rolling back the update.
Error 500: --- begin server output ---


500 Server Error


Error: Server Error
The server encountered an error and could not complete your
request.If the problem persists, please http://code.google.com/appengine/community.html";>report your problem and
mention this error message and the query that caused it.


--- end server output ---


So I'm stuck since yesterday with almost all requests failing and not being
able to migrate to HR. I dont think it is a DB problem as even app
deployment is failing.

However, another application also in python has been working fine. (
india-governs.appspot.com)

Anyone else facing these problems?


Thanks,
Vinuth.

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



[google-appengine] Re: Απ: Physics engines on GAE ?

2011-07-19 Thread Simon Knott
In that case I'm afraid it might be a case of suck-it-and-see, as there are 
a number of whitelisted JRE classes which you are allowed to use.  

If the library uses any classes which are outside of this whitelist, then 
I'm afraid you might be out of luck unless you can code a workaround.

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



[google-appengine] Απ: Physics engines on GAE ?

2011-07-19 Thread Jayjay
Physics engines can run on both server and client.

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



Re: [google-appengine] Slow log propagation

2011-07-19 Thread Rishi Arora
Yes, this is a known issue that was brought to Google's Admin Console
engineers just yesterday.  Here are the details on this issue (several
people have responded with their app-ids):

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


On Tue, Jul 19, 2011 at 8:30 AM, Brian Olson  wrote:

> I'm seeing right now, and a coworker of mine saw in the last couple days,
> really slow log propagation.
> It's now
> Tue Jul 19 13:27:55 UTC 2011
> and I haven't seen an INFO log statement since
> 2011-07-19 11:36:30.982 (UTC)
>
> However, if I drop the log console back to 'all requests' I do get current
> recent logs with no logging statements attached.
>
> These problems are on Python instances, but I'm guessing these kinds of
> logging things could be platform independent.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/8nQIhOXXLXMJ.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>

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



[google-appengine] Slow log propagation

2011-07-19 Thread Brian Olson
I'm seeing right now, and a coworker of mine saw in the last couple days, 
really slow log propagation.
It's now
Tue Jul 19 13:27:55 UTC 2011
and I haven't seen an INFO log statement since
2011-07-19 11:36:30.982 (UTC)

However, if I drop the log console back to 'all requests' I do get current 
recent logs with no logging statements attached.

These problems are on Python instances, but I'm guessing these kinds of 
logging things could be platform independent.

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



[google-appengine] Re: Physics engines on GAE ?

2011-07-19 Thread Simon Knott
Isn't this a client-side library?  GAE is a server-side hosting service.

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



[google-appengine] Απ: Some questions about AppEngine

2011-07-19 Thread Jayjay
Thank you for your answers, i'm just starting getting my head around gae.

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



[google-appengine] Physics engines on GAE ?

2011-07-19 Thread Jayjay
Are there any problems running physics engines on GAE?

Can i use for example JBullet ?

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



[google-appengine] Re: GAE starting unnecessary instances

2011-07-19 Thread Tom Phillips
http://code.google.com/status/appengine shows they are investigating
issue(s) with Java currently..

On Jul 19, 7:28 am, Tom Phillips  wrote:
> Yes, seeing the same problem on all my apps. Java, M/S.
>
> Raise a production issue Francois?
>
> /Tom
>
> On Jul 19, 6:34 am, Francois Masurel  wrote:
>
> > Even 3 now, for just just a few new requests. Geez.
>
> > It's getting really expensive :-(
>
> >  Instances-VinoCities_3.jpg
> > 43KViewDownload
>
>

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



[google-appengine] Re: GAE starting unnecessary instances

2011-07-19 Thread Tom Phillips
Yes, seeing the same problem on all my apps. Java, M/S.

Raise a production issue Francois?

/Tom

On Jul 19, 6:34 am, Francois Masurel  wrote:
> Even 3 now, for just just a few new requests. Geez.
>
> It's getting really expensive :-(
>
>  Instances-VinoCities_3.jpg
> 43KViewDownload

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



[google-appengine] Re : User-agent has disappeared from logs(static files only)

2011-07-19 Thread solsTiCe d'Hiver
Yes I confirm that.

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



[google-appengine] Re: GAE starting unnecessary instances

2011-07-19 Thread Francois Masurel
Even 3 now, for just just a few new requests. Geez.

It's getting really expensive :-(

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

<>

[google-appengine] Re: GAE starting unnecessary instances

2011-07-19 Thread Francois Masurel
It looks like 2 resident instances and 1 dynamic are stalled as they didn't 
serve any request for the last minute (check attachment).

But still one dynamic instance was started less than 2 minutes ago.

Is it normal ?

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

<>

[google-appengine] GAE starting unnecessary instances

2011-07-19 Thread Francois Masurel
Hi everybody,

It seems that GAE is starting unnecessary instances when AlwaysOn is 
activated.

My app is Java / Multi-threaded and doesn't have a lot of traffic.

Still, one to three dynamic instances are started quite regularly (check 
attachment).

Is anyone seeing the same behavior ?  It could cost a lot with the new 
pricing scheme.

Thanx for your help.

Francois

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

<>

[google-appengine] Google app engine throwing NoSuchMethodError suddenly

2011-07-19 Thread Prateek Mathur
Hi,
I started seeing the following exception on my production builds
suddenly and my application is broken because of this.

java.lang.NoSuchMethodError:
com.google.appengine.repackaged.com.google.common.base.StringUtil.isEmpty(Ljava/
lang/String;)Z
at
com.metacube.ipathshala.manager.util.SearchRequestAssembler.assemble(SearchRequestAssembler.java:
129)
at
com.metacube.ipathshala.manager.SearchManager.doSearch(SearchManager.java:
70)

Was there any changes in the runtime sdk for the StringUtil class..It
seems to indicate that the method doesnt exist anymore, while few days
back the application was running fine with the same api...
Any news on what might have happened?


Thanks,
Prateek.

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



Re: [google-appengine] Cached requests and increased bandwidth usage and bill.

2011-07-19 Thread Johan Euphrosine
Hi Andrea,

Thanks for giving me a chance to explain this.

Previously we were not accounting of all the "cached" requests coming
to applications through www.customdomain.com, meaning that the admin
console was missing some portion of the cached requests (cache hits),
and was mostly only billing non-cached request (cache misses).

That caused applications serving from appid.appspot.com to be billed
more than application serving from www.customdomain.com:
- serving cached requests from www.customdomain.com was basically free
(not billed)
- serving cached requests from appid.appspot.com was billed.

We recently fixed this, and now the admin console (and the bill)
should reflect all the cached requests coming to applications
regardless of if they are coming from www.customdomain.com or
appid.appspot.com.

Hope this explanation make things clearer.

On Tue, Jul 19, 2011 at 11:18 AM, sgabello  wrote:
> Hello everyone!
>
> Since July 1st I noticed a huge increment in the outgoing bandwidth
> used by my App. I was using around 0.3 GB/day and it's now rocketed to
> a whopping 2 GB/day. This is not due to an increase in users or a new
> version of my App. Everything is steady and nothing changed on my
> side.
>
> I've been in touch with Google App engine team and they told me that
> this is due to a change to the way the requests are counted because
> they now take into account "cached" requests. However I can't really
> understand what these "cached" requests are. They said that are those
> generated by the domain associated with the app. But that has always
> been the case: all my requests have been always generated by that
> domain before... so... if they were not counted correctly, I shouldn't
> have had any bandwidth usage recorded in the past.
>
> Of course, the change has led to a an increase in my bill. But that's
> another story...
>
> BTW... is this happening to someone else? Have you registered an
> increase in your bandwidth/request numbers since July 1st?
> Can someone explain to me what really are cached requests?
>
> Here's the ticket that I opened with the support team:
> http://code.google.com/p/googleappengine/issues/detail?id=5357
>
> Cheers,
> Andrea
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
>
>



-- 
Johan Euphrosine (proppy)
Developer Programs Engineer
Google Developer Relations

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



[google-appengine] Cached requests and increased bandwidth usage and bill.

2011-07-19 Thread sgabello
Hello everyone!

Since July 1st I noticed a huge increment in the outgoing bandwidth
used by my App. I was using around 0.3 GB/day and it's now rocketed to
a whopping 2 GB/day. This is not due to an increase in users or a new
version of my App. Everything is steady and nothing changed on my
side.

I've been in touch with Google App engine team and they told me that
this is due to a change to the way the requests are counted because
they now take into account "cached" requests. However I can't really
understand what these "cached" requests are. They said that are those
generated by the domain associated with the app. But that has always
been the case: all my requests have been always generated by that
domain before... so... if they were not counted correctly, I shouldn't
have had any bandwidth usage recorded in the past.

Of course, the change has led to a an increase in my bill. But that's
another story...

BTW... is this happening to someone else? Have you registered an
increase in your bandwidth/request numbers since July 1st?
Can someone explain to me what really are cached requests?

Here's the ticket that I opened with the support team:
http://code.google.com/p/googleappengine/issues/detail?id=5357

Cheers,
Andrea

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



[google-appengine] Re: how to integrate Gmail with other information system?

2011-07-19 Thread amit tank
Thanks

But If you want any work related to C#.net Window based
then i have worked application to manage Gmail Account as per  your
requirement.

So Sorry to not help You.

You can visit http://www.codeproject.com/ Where you can find project
related your work

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.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: bulk removing blobs in blobstore?

2011-07-19 Thread andreas schmid
i see i can write a handler to do this operation which queries for BlobInfo 
objects and deletes them.

On Jul 19, 2011, at 10:37 AM, andreas schmid wrote:

> hi,
> is there a way to delete blobs in the blobstore in a bulk operation?
> while the datastore admin tool lets you delete all entities of a kind, after 
> those are deleted the related blobs are still in the blobstore and need to be 
> removed manually which is not that straight forward if you have multiple 
> thousand blobs in there.
> 
> even accessing those blobs via remote_api_shell would be nice...
> 
> is there a way to do an operation like this in bulk?
> 
> 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-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] bulk removing blobs in blobstore?

2011-07-19 Thread andreas schmid
hi,
is there a way to delete blobs in the blobstore in a bulk operation?
while the datastore admin tool lets you delete all entities of a kind, after 
those are deleted the related blobs are still in the blobstore and need to be 
removed manually which is not that straight forward if you have multiple 
thousand blobs in there.

even accessing those blobs via remote_api_shell would be nice...

is there a way to do an operation like this in bulk?

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-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: Static SQLite files

2011-07-19 Thread 刘浩
sorry you shold say something easy my English is not good

2011/7/19 Tim Hoffman 

> Hi Jim
>
> You won't be able to load the sqlite3 module in python on appengine as it
> links to a 'binary module' (ie sqlite is not implemented in pure python.)
>
> You will need to rethink your strategy here if you want to use appengine
>
> Regards
>
> Tim
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/dNH4diB9SLsJ.
>
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>

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



[google-appengine] Cannot upload to Google App Engine using STS

2011-07-19 Thread JavaAndy
I have STS 2.7.1 with Google Eclipse Plugin on Win 7 32 bit version.
I'm having an issue uploading a Spring Roo GAE application.  The
process just hangs saying the following.


Created staging directory at: 'C:\Users\andrewr\AppData\Local\Temp
\appcfg815103646020788591.tmp'
Scanning for jsp files.
Compiling jsp files.

Anyone have any ideas for a workaround?

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



Re: [google-appengine] Some questions about AppEngine

2011-07-19 Thread Tim Hoffman
Memcache should only be considered as a cache.

Maybe look at a permanent backend for the managing game state, world clock 
etc.

Not sure how massive you could really go,  Not because appengine can't 
scale, but not sure how you could co-ordinate
game state with a massive number of players.  It would depend heavily on 
your game mechanics and how realtime it needs to be.

Rgds

Tim

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



[google-appengine] Re: Static SQLite files

2011-07-19 Thread Tim Hoffman
Hi Jim

You won't be able to load the sqlite3 module in python on appengine as it 
links to a 'binary module' (ie sqlite is not implemented in pure python.)

You will need to rethink your strategy here if you want to use appengine

Regards

Tim

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