RE: [google-appengine] Thread-safe Python Tips

2011-06-29 Thread Brandon Wirtz
Thread safe, means that two thing can be done with out the order mattering, and without any dependency on the other thread. Example: Find the sum of a column 1-1000 Single Thread: 1+2+3+4+998+999+1000 4 Threads: A= 1+2+3+4...248+249+250 B = 251+252+253+254...498+499+500 C = 501+502+503+504

Re: [google-appengine] Re: Updated App Engine Pricing FAQ!

2011-06-29 Thread Jeff Schnitzer
On Tue, Jun 28, 2011 at 8:34 PM, vivpuri wrote: > > Thank you for the response. I am not really confused about anything. > Everyone has different set of experiences and resulting opinions. > Facebook was built on PHP, and definitely started from $5 PHP/MySQL. I understand that you are upset that

Re: [google-appengine] Request for clarification using GAE and XMPP

2011-06-29 Thread Branko Vukelic
On Tue, Jun 28, 2011 at 11:22 PM, Nikolay Sohryakov wrote: > application which consists of two parts: a web application running on GAE > plaform and a desktop application running on user's computer and use XMPP as > a communication tool between this 2 applications? I believe they meant two GAE ap

Re: [google-appengine] Thread-safe Python Tips

2011-06-29 Thread Joshua Smith
I would assume they are the same as the basic principles of thread safety in any language: - Don't rely on global state, because multiple of your functions might be running simultaneously This usually isn't very hard to achieve - just pass parameters instead of modifying globals. The places w

[google-appengine] Re: Updated App Engine Pricing FAQ!

2011-06-29 Thread Sergey Schetinin
Greg, thank you for your answers. It would be great if you could clarify a few more things. 1) How do you define "instance available to serve a request" in concurrent environment? I suppose this means an instance that is currently serving less than X requests. What is that X? Will it be just a

[google-appengine] Re: Updated App Engine Pricing FAQ!

2011-06-29 Thread vivpuri
> I understand that you are upset that your appengine bill might go up > 4X, but how do you jump from this to the conclusion that "Google > should support PHP"?? Every application development platform needs developers. iOS, AWS, Facebook, Win32, MacOS, And each platform provider comes up with a

[google-appengine] Re: Updated App Engine Pricing FAQ!

2011-06-29 Thread mscwd01
Ikai (or any other Googler), before the new pricing begins and we are charged on a per Instance basis could you please take a look at this bug and fix it. http://code.google.com/p/googleappengine/issues/detail?id=4834 Needless, to say it's SUPER important it's fixed. I've had to set thread-safe t

[google-appengine] Re: Where is the extra latency coming from?

2011-06-29 Thread Spines
There isn't any pending_ms. On Jun 27, 2:04 pm, Waleed Abdulla wrote: > Check to see if there is a "pending_ms" value in the logs. If so, then that > indicates that your request was put in a queue to wait for it's turn to run. > I had a long thread about a similar question a week or so ago (just

Re: [google-appengine] Re: Updated App Engine Pricing FAQ!

2011-06-29 Thread Felippe Bueno
I was wondering, what about if I use db.create_rpc(deadline=1) Will I be charged if the deadline is reached, and I get nothing from db.get(), or db.put() ? Thanks On Wed, Jun 29, 2011 at 11:02 AM, mscwd01 wrote: > Ikai (or any other Googler), before the new pricing begins and we are > charged

[google-appengine] DKIM support and gmail -- now it's urgent!

2011-06-29 Thread Adam Sah
folks-- gmail is now flagging all non-DKIM-signed email as possible phishing, which is destroying the value of the App Engine Email API. what's the ETA to add DKIM support? (and why is this lower priority than, say, Prospective Search?) http://code.google.com/p/googleappengine/issues/detail?id

[google-appengine] Re: FAQ for out of preview pricing changes

2011-06-29 Thread Grant
Hi I have a question about migration of existing apps into the new pricing structure... We have numerous (50+) apps running across 3 different apps for domains (appspot.com + 2 of our own). Although we have our own apps for domains, all apps have an *.appspot.com url. This came about as we st

[google-appengine] Re: DKIM support and gmail -- now it's urgent!

2011-06-29 Thread JH
I'll agree that sometimes it's hard to understand priorities, say for instance XMPP in general, or yes, prospective search. All that aside, I'd encourage everyone to check out using Amazon's SES service to send email via GAE. Their REST api works well and I actually get fewer urlfetch timeouts usi

[google-appengine] Re: BadRequestError: query not found (occurring in the middle of a for loop)

2011-06-29 Thread Daniel
I'm having the same issue. Where are the google employees on this? -- 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/-/Wiagd-wSj9sJ. To post to this g

Re: [google-appengine] Re: Updated App Engine Pricing FAQ!

2011-06-29 Thread Jeff Schnitzer
On Wed, Jun 29, 2011 at 5:50 AM, vivpuri wrote: >> I understand that you are upset that your appengine bill might go up >> 4X, but how do you jump from this to the conclusion that "Google >> should support PHP"?? > > Every application development platform needs developers. iOS, AWS, > [...] Nothi

[google-appengine] Question on searching Expando models

2011-06-29 Thread someone1
Hello All, I'm trying to figure out a clean way to make my Expando model's searchable. I will have many user-defined fields that will need to be more or less searchable. This means that I would have to "normalize" my data (such as lower case all fields) so that the search is case insensitive. My

[google-appengine] Re: Updated App Engine Pricing FAQ!

2011-06-29 Thread vivpuri
@Jeff i dont you have the development experience on AppEngine to even take part on this discussion. Before suggesting, first go an check what Quercus does and can enable you to do on AppEngine. On Jun 29, 2:04 pm, Jeff Schnitzer wrote: > On Wed, Jun 29, 2011 at 5:50 AM, vivpuri wrote: > >> I und

Re: [google-appengine] Re: Updated App Engine Pricing FAQ!

2011-06-29 Thread Jeff Schnitzer
On Wed, Jun 29, 2011 at 11:14 AM, vivpuri wrote: > @Jeff i dont you have the development experience on AppEngine to even > take part on this discussion. Before suggesting, first go an check > what Quercus does and can enable you to do on AppEngine. This is the stupidest thing anyone has said to m

Re: [google-appengine] Re: DKIM support and gmail -- now it's urgent!

2011-06-29 Thread Adrian Scott
+1 on the Amazon SES suggestion. I would rather the App Engine team focus on other priorities than mail, imho. Just DKIM is only part of the solution needed for getting mail deliverability humming... Then Sendgrid, Mailgun or something when you have a bit more volume or want more stats etc. -- A

Re: [google-appengine] Re: Updated App Engine Pricing FAQ!

2011-06-29 Thread Vanni Totaro
Hi Jeff, please, don't feed the troll. Vanni -- 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/-/KXLVDdGZX0IJ. To post to this group, send email to goo

[google-appengine] Exception to use of Key class by JDO (Can't Find Source)

2011-06-29 Thread Eric Atkinson
The app engine manual extensively discusses the use of the Key class (import javax.jdo.annotations.Key) for datastore operations, and yet when I try to persistent data using Key, app engine throws the exception: Caused by: javax.jdo.JDOUserException: Field "com.sis.app.server.DataModelMember.key" i

Re: [google-appengine] Re: Updated App Engine Pricing FAQ!

2011-06-29 Thread Branko Vukelic
On Wed, Jun 29, 2011 at 8:29 PM, Jeff Schnitzer wrote: > On Wed, Jun 29, 2011 at 11:14 AM, vivpuri wrote: >> @Jeff i dont you have the development experience on AppEngine to even >> take part on this discussion. Before suggesting, first go an check >> what Quercus does and can enable you to do on

[google-appengine] Re: Porting from Django 0.96 to 1.2

2011-06-29 Thread PK
Thanks Joshua, I have collected some more tips from my own experience here: http://www.gae123.com/articles/dpwf/apa.html http://www.gae123.com/articles/dpwf/djgae1x.html In particular, for the use_library('django', '1.2'), the second article might present a more productive (you only need to mod

[google-appengine] Re: Thread-safe Python Tips

2011-06-29 Thread jay
We are not going to have to go into that much detail for our apps thought are we. Will we be able to take advantage of the multi-threading by simply creating multiple request handlers. I imagined I would be changing a few lines of code in my main function an that's about it. On Jun 29, 9:43 pm, J

[google-appengine] Re: Creating a login url without requiring email permissions

2011-06-29 Thread jay
Actually, seems like emails are needed when logging in using a Google apps account. ie not a gmail address account. Not sure, its hard to debug here, I don't have access here to a lot of different account types to try. On Jun 28, 3:45 pm, jay wrote: > Nar, still using Google Accounts API. Federa

[google-appengine] What's the difference between static and cached requests in the dashboard?

2011-06-29 Thread Waleed Abdulla
I noticed a big increase in requests today, and it looks like it's due to a sharp increase in "cached requests" (see image). I know that dynamic requests refer to those that reach a request handler, and static are those that are delivered through the CDN. Does anyone know what "cached requests" are

[google-appengine] Attempt to delete entities in HR Datastore Admin is stuck

2011-06-29 Thread phtq
In the application kbdlessons2.appspot.com an attempt was made to delete all entities in a number of models at once. The process seems to be stuck with 24 activities completed but 15 still active for the last 20 hours and the Datastore Admin panel shows no change in the number of entities from befo

[google-appengine] Re: What's the difference between static and cached requests in the dashboard?

2011-06-29 Thread Philip
Request handlers will be cached if you use the Cache-Control header. I would suggest the line refers to those requests + static requests. On Jun 30, 12:35 am, Waleed Abdulla wrote: > I noticed a big increase in requests today, and it looks like it's due to a > sharp increase in "cached requests"

Re: [google-appengine] Re: Thread-safe Python Tips

2011-06-29 Thread Ikai Lan (Google)
I don't believe you'll need to do anything when we ship concurrent requests for Python, as long as you're not using global mutable state anywhere. It's unlikely your threads will ever need to talk to each other. Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.b

Re: [google-appengine] Re: Updated App Engine Pricing FAQ!

2011-06-29 Thread Ikai Lan (Google)
Oy, this is my fault for fanning the flames. I apologize for letting this topic catch fire in the wrong places. Before we go into more name calling: Vivek has been an App Engine developer for a while, almost from the beginning, while Jeff maintains one of the most popular Java libraries for GAE - O