[appengine-java] Re: How to efficiently implement Quotas

2011-11-26 Thread Max
We use memcache + datastore counter and it works quite well. Let's say datastore counter will be updated every time count % 1000 == 0. then even the memcache crashed then you lose 1000 uncharged API call at most. -- You received this message because you are subscribed to the Google Groups

[appengine-java] could not locate file appengine-​web.xml

2011-11-26 Thread Booye
Hi, 'appcfg.cmd update' response with: java.io.FileNotFoundException: C: \aviv\Guestbook\WEB-INF\appengine-web.xml although the file is located under WEB-INF. see: c:\Program Files\Java\appengine-java-sdk-1.6.0\appengine-java- sdk-1.6.0\binappcfg.cmd update C:\aviv\Guestbook Reading application

[appengine-java] Re: How to efficiently implement Quotas

2011-11-26 Thread Aviv Keren
I asked about something else: Hi, 'appcfg.cmd update' response with: java.io.FileNotFoundException: C: \aviv\Guestbook\WEB-INF\appengine-web.xml although the file is located under WEB-INF. see: c:\Program Files\Java\appengine-java-sdk-1.6.0\appengine-java- sdk-1.6.0\binappcfg.cmd update

[appengine-java] Unreliable Email Service

2011-11-26 Thread Jeff Gager
Please see this post in the General GAE Group https://groups.google.com/group/google-appengine/browse_thread/thread/c9b98fb136eb7d02/fb53b9e4f5965875?hl=en#fb53b9e4f5965875 And this issue http://code.google.com/p/googleappengine/issues/detail?id=5776#c1 I have been having problems with the

[appengine-java] Google Cloud Sql

2011-11-26 Thread Nauman Zubair
Hi ! I am new to google app engine and using google cloud sql for my android application database. I am stuck for last few days to access database that i have created via sql prompt. I want to apply CRUD operations via JAVA code in my android application. Please help me to get rid from this

Re: [appengine-java] Unreliable Email Service

2011-11-26 Thread Aviv Keren
Hi Jeff, I don't know why did you send me this email, it has nothing to do with my problem. I'll be glad to get some help with what I've described. my problem issue: *'appcfg.cmd update' response with: java.io.FileNotFoundException: C: \aviv\Guestbook\WEB-INF\appengine-web.xml although the file

[appengine-java] Deploy not working

2011-11-26 Thread Tron
Hello, I need deploy an app but it's not working Deploying: Uploading 30 files. Uploaded 7 files. on backend null. java.net.SocketTimeoutException: Read timed out Can sameone help me ? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java

[google-appengine] Quantified Price Reduction through Optimizations

2011-11-26 Thread Brandon Wirtz
The Top bill is post optimizations. The bottom bill is pre. You can see that the top bill has .77 Million writes and the bottom had .36 so the top is more than double the Traffic, (2.53 Gigs out, 1.2 Gigs out) but the price is less than half. $3.05 vs $7.79. That's 5x savings. I believe edge

[google-appengine] Datastore Small Operations and Nov 7th

2011-11-26 Thread Millisecond
It appears that on the same day billing was enabled (Nov 7th), what counted as a Datastore Small Operation also changed. Is that true? In all of my billing previews before Nov 7th, the count was at an acceptable level, but started to climb on Nov 7th, topping out at around 100x what it was

[google-appengine] Question about indexing of properties

2011-11-26 Thread Ice13ill
Hi, I was wandering which of the following data models are ore efficient. Let's say i have three fields form my entity: name (a simple fileld), some_property (simple field), list_of_properties (a list of properites). - case 1. index: ^name, ^some_propery, ^list_of_properties. - case 2. index:

[google-appengine] Re: Why is the Email Service so unreliable

2011-11-26 Thread Jeff Gager
Found the following issue raised and added a link to this thread. http://code.google.com/p/googleappengine/issues/detail?id=5776can=5 - Jeff On Nov 22, 10:25 pm, Jeff Gager jeffga...@gmail.com wrote: Thanks very much to everyone who replied. Really interesting that PK is getting such a good

[google-appengine] Re: Idle instances do not turn off automatically. Please help

2011-11-26 Thread WallyDD
Hi Nick, Thanks for responding and looking into this. See my response below; On Nov 24, 8:57 pm, Nick Johnson nickjohn...@google.com wrote: On Thu, Nov 24, 2011 at 5:48 PM, WallyDD shaneb...@gmail.com wrote: I am having something of similar problem with instances not turning off. This

[google-appengine] Re: how to develop on tomcat and deploy on GAE

2011-11-26 Thread sombriks
Hello and thanks so much for sharing your knowledge. Indeed i miss so much hot swap, debug, or even the regular project facet as seen in a ordinary wtp project. I just feel uncomfortable convincing my manager the real cause of slowdown and having to re-teach the team how to work on a java-web

[google-appengine] Datastore Small Operations optimization suggestions

2011-11-26 Thread Martin Dvorak
Hi all! I'm looking for a lesson from 'pricing oriented programming'. My service has a REST-style endpoint that I use to replicate/export/import data. Surprisingly export consumes ~10x more Datastore Small Operations than Datastore Read Operations. Thus I'm almost running out of free quota.

[google-appengine] Re: Datastore Small Operations optimization suggestions

2011-11-26 Thread sb
memcache http://code.google.com/appengine/docs/python/memcache/usingmemcache.html On Nov 26, 11:54 am, Martin Dvorak martin.dvo...@mindforger.com wrote: Hi all! I'm looking for a lesson from 'pricing oriented programming'. My service has a REST-style endpoint that I use to

[google-appengine] Re: Datastore Small Operations optimization suggestions

2011-11-26 Thread Simon Knott
Hi, Your problem actually may be the counts - read this post by Alfred, who is part of the datastore team I believe. https://groups.google.com/d/msg/google-appengine/LsVSKbFCLwI/FpYEd1fPFLYJ Cheers, Simon -- You received this message because you are subscribed to the Google Groups Google

[google-appengine] Re: Datastore Small Operations optimization suggestions

2011-11-26 Thread Martin Dvorak
Obviously I use memcache through the application. Unfortunately this is not solution to my problem as the export I described above is typically used for backup before upgrades and majority of entities is read occasionally. It may be that I'm wrong. Is it a best practice to have a custom write

[google-appengine] Re: Datastore Small Operations optimization suggestions

2011-11-26 Thread Martin Dvorak
Obviously I use memcache through the application. Unfortunately this is not solution to my problem as the export I described above is typically used for backup before upgrades and majority of entities is read occasionally. It may be that I'm wrong. Is it a best practice to have a custom write

[google-appengine] Re: Datastore Small Operations optimization suggestions

2011-11-26 Thread Martin Dvorak
Thanks, I have read this post before I sent my question to the group. However it 1 count() operation is much more cheaper that loading one entity (that in the collection I checked takes ~7 Datastore Key Fetch Ops on average). Actually I need to reformulate the question I originally asked:

[google-appengine] Re: how to develop on tomcat and deploy on GAE

2011-11-26 Thread Renzo Nuccitelli
Like Ian said, don´t use Tomcat, use GAE Eclipse plugin for development. For debuging in this enviroment, one option is testing your application through Unit Testing (http://code.google.com/intl/en/ appengine/docs/java/tools/localunittesting.html). There is no need to generate a wtp project,

RE: [google-appengine] Re: how to develop on tomcat and deploy on GAE

2011-11-26 Thread Brandon Wirtz
If you want to use the DataStore over HTTP building a Data Store Proxy is pretty simple, and you just detect if you are on GAE or Tomcat and pic if you are using local or remote Data -Original Message- From: google-appengine@googlegroups.com [mailto:google-appengine@googlegroups.com] On

[google-appengine] Re: Quantified Price Reduction through Optimizations

2011-11-26 Thread Amethi
Hi Brandon, thanks for sharing, the results are exceptional. I'm new here, so forgive me if I'm missing something obvious, but is some some earlier material explaining what you've done? Jay On Nov 26, 9:49 am, Brandon Wirtz drak...@digerat.com wrote: The Top bill is post optimizations. The

[google-appengine] zipimport can't open /setuptools-0.6c11-py2.7.egg-info warning

2011-11-26 Thread akindo
Hi guys, I am running the example helloworld project on Python 2.7 and latest AppEngine launcher on OS X Lion 10.7.2. I get the following warning twice upon the first load of the application: WARNING 2011-11-26 21:14:56,434 py_zipimport.py:139] Can't open zipfile

RE: [google-appengine] Re: Quantified Price Reduction through Optimizations

2011-11-26 Thread Brandon Wirtz
Yes, unfortunately it is spread out over quite a few posts. Basically I moved from Python 2.5 to Python 2.7. Did the work to be thread safe. And optimized how I use Instance Memory, MemCache, And DataStore. Along with Fixing my Cache Headers. This post was less of a How To and more of a Chances

Re: [google-appengine] Re: Idle instances do not turn off automatically. Please help

2011-11-26 Thread Nick Johnson
On Sun, Nov 27, 2011 at 3:16 AM, WallyDD shaneb...@gmail.com wrote: Hi Nick, Thanks for responding and looking into this. See my response below; On Nov 24, 8:57 pm, Nick Johnson nickjohn...@google.com wrote: On Thu, Nov 24, 2011 at 5:48 PM, WallyDD shaneb...@gmail.com wrote: I am

RE: [google-appengine] Re: Idle instances do not turn off automatically. Please help

2011-11-26 Thread Brandon Wirtz
I believe it is min idle automatic I don't get 0 as an option. I have noticed that if Max is set to 2 and min is set to automatic that sending a single request to an app results quite often in that instance using 18-23 minutes of time on python 2.5 The testing is too slow, and I don't

[google-appengine] Re: how to develop on tomcat and deploy on GAE

2011-11-26 Thread Simon Knott
I'm confused - why do you miss hotswap, debug, etc? I develop all the time and still get to use all of these. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit

[google-appengine] Re: Idle instances do not turn off automatically. Please help

2011-11-26 Thread sb
It doesn't behave this way at all. It just fires up a new instance once the resident instance get overloaded. The resident instance goes idle. The new instance then handles all the traffic, and when that gets overloaded another instance is created, while the original resident instance is just

RE: [google-appengine] Re: Idle instances do not turn off automatically. Please help

2011-11-26 Thread Brandon Wirtz
Oh, and just so we are clear that I'm not Attacking. 2.7 works really well with instances turning off. AND not burning me on spin-up by Over compensating for spikes. When you are sizing your app it doesn't appear there is any advantage in picking more than 2 Idle instances. And

[google-appengine] Unable to upload prod data to development server using upload_data

2011-11-26 Thread pamela fox
Hey there - I am trying to mirror my production data to my development server but am running into issues with the upload_data/download_data commands. Here's what I've done so far: - Added remote_api as a builtin, re-deployed - Disabled authentication for remote_api on local dev server - Run this

[google-appengine] Re: What kind of actions belong to Small Datastore Operations?

2011-11-26 Thread cb
I found that the COUNT query was the killer. Once I removed it, my small op usage went way down. On Nov 8, 4:16 am, Gerald Tan woefulwab...@gmail.com wrote: Most of the time, it's COUNT queries that is causing over-quota for small ops. It costs 1 small op per entity counted. You should use a

[google-appengine] Re: Unable to upload prod data to development server using upload_data

2011-11-26 Thread Tim Hoffman
When you start the dev server use --default_paritition argument to override the dev~ name used. So you would use See http://code.google.com/appengine/docs/python/tools/devserver.html T -- You received this message because you are subscribed to the Google Groups Google App Engine group. To