RE: [google-appengine] Re: Entity size and latency

2012-02-15 Thread Brandon Wirtz
>Question is now is there some difference in get latency between 500 bytes or 10kb entites. Yes. And it seems to be about 72Megabits per second the last time we ran a bench mark. We haven't run it in a while. But for 500bytes and 10kb, I don't think you'd see much difference. 900k you do.

Re: [google-appengine] Re: Entity size and latency

2012-02-15 Thread Jeff Schnitzer
The difference should be negligible. While you may have to worry about serialization issues in Python, the Java GC is quite efficient. I'll bet Go is pretty fast at that kind of thing too :-) Jeff On Wed, Feb 15, 2012 at 2:53 AM, Matija wrote: > Hi Robert, > I am actually doing some analysis

RE: [google-appengine] Re: Entity size and latency

2012-02-15 Thread Brandon Wirtz
> I'll bet Go is pretty fast at that kind of thing too :-) Did Go Support get moved to SO too? -- 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 fro

Re: [google-appengine] Re: Entity size and latency

2012-02-15 Thread Johan Euphrosine
On Wed, Feb 15, 2012 at 9:54 AM, Brandon Wirtz wrote: >> I'll bet Go is pretty fast at that kind of thing too :-) > > Did Go Support get moved to SO too? Nop, it is still experimental so a specific group is being used: http://groups.google.com/group/google-appengine-go -- Johan Euphrosine (propp

[google-appengine] Re: email sent, but not being received

2012-02-15 Thread MANISH DHIMAN
We are also facing this problem since 12 Feb. Mail are not being received and no exception is being raised by app engine while sending the mail. Also note that each mail sent is being charged from my daily budget. On Feb 14, 5:20 pm, Johan Euphrosine wrote: > Hi Dimitri, > > Which email address d

[google-appengine] Re: email sent, but not being received

2012-02-15 Thread pdknsk
Do you use Google Apps registered email addresses as sender? -- 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-appen

Re: [google-appengine] Re: Google App Engine community support is moving to Stack Overflow

2012-02-15 Thread Daniel Florey
This is very cool! Thanks a lot. Is there a way to enable this feature for my own group? I did not find the magic switch. Daniel -- 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.goog

Re: [google-appengine] Re: How long a query results takes to be updated? HR Datastore

2012-02-15 Thread Leandro Rezende
=) I feel relieved now, to know that i can trust on Gets thx for the "Docs" link Robert 2012/2/15 Robert Kluin > You have to explicitly set eventually consistent to get that behavior. > > Note that ancestor queries are also strongly consistent. This is > detailed in the docs: > > http://code.go

[google-appengine] Re: How long a query results takes to be updated? HR Datastore

2012-02-15 Thread stephenp
I have been confused by this lately as well. The Java documentation says: Queries and gets inside a transaction are guaranteed to see a single, > consistent snapshot of the Datastore as of the beginning of the > transaction. Entities and index rows in the transaction's entity group are > fully

Re: [google-appengine] fetching by keys (as strings) is kind of slow

2012-02-15 Thread Andreas
the entities have an average of 10properties but no list properties. its a subclass of a PolyModel and there are 2 datetime properties and one objectproperty which stores into the blobstore. i didnt try with 'simple' entities yet but i will today i think. On Feb 15, 2012, at 12:25 AM, Robert Klu

[google-appengine] Re: Zombie tasks eating up my mail quota

2012-02-15 Thread Andrew Richardson
Thanks for the reply, Robert - I'm fairly sure it was run in the email queue, but yesterday when I purged the email queue and set the retry limit to 2, I did the same for the "default" queue just to be safe (these are my only 2 queues). It looks like no email tasks have been executed since then (on

[google-appengine] A question about eventual consistency/transactions

2012-02-15 Thread peterk
I've been looking around on this and it all seems a wee bit confusing, so I'm hoping to get a little clarification :) Basically, if I have a request handler that initiates a transaction, and in that transaction some models are fetched and modified, will a subsequent request be guaranteed to see th

Re: [google-appengine] Re: How long a query results takes to be updated? HR Datastore

2012-02-15 Thread Leandro Rezende
Stephen I guess we have to "Query with ID only" and then GET by ID each Item in a loop 2012/2/15 stephenp > I have been confused by this lately as well. The Java documentation says: > > Queries and gets inside a transaction are guaranteed to see a single, >> consistent snapshot of the Datastore

Re: [google-appengine] Re: How long a query results takes to be updated? HR Datastore

2012-02-15 Thread Jeff Schnitzer
On Wed, Feb 15, 2012 at 8:14 AM, stephenp wrote: > > The "without the false positives or false negatives" comment led me to > believe that as long as I did my query within a transaction I would see > results that were previously added within a different transaction (except > in the case of an una

Re: [google-appengine] A question about eventual consistency/transactions

2012-02-15 Thread Jeff Schnitzer
Yes. A completed transaction on EntityA will be guaranteed visible to a subsequent transaction on EntityA. If there is overlap, the second transaction will see ConcurrentModificationException. Jeff On Wed, Feb 15, 2012 at 12:21 PM, peterk wrote: > I've been looking around on this and it all s

Re: [google-appengine] A question about eventual consistency/transactions

2012-02-15 Thread stephenp
Jeff, I've read a couple posts from others saying that indexes aren't update immediately and so you won't see newly created entities in a query when processing a subsequent request. Are they talking about queries outside of a transaction? There sure does seem to be a lot of confusion regarding

[google-appengine] Re: A question about eventual consistency/transactions

2012-02-15 Thread peterk
Cheers Jeff, that's a relief. As a follow-up... if I have multiple fetch/modify cycles on models within an entity group in a transaction, the fetches won't always necessarily show up-to-date models, right? E.g. within a transaction if I get modelA, update it, put it, then get it later in the tran

[google-appengine] Re: How do calculate discounted frontend classes instance hours?

2012-02-15 Thread Emanuele Ziglioli
Well, I thought my new billing period would start from the 13th but the bill on that day still doesn't show or seem to use discounted instance hours: Usage Report for 2012-02-13 Frontend Instance Hours $0.08/Hour 96.59 28.00 68.59 $5.49 Discounted Instance Hour $0.05/Hour 0.00

Re: [google-appengine] Re: How do calculate discounted frontend classes instance hours?

2012-02-15 Thread Gregory D'alesandre
Since you had a charge yesterday I expect the discounted instance hours to take effect today. They take effect after the next billing cycle after you change the number. Greg On Wed, Feb 15, 2012 at 12:08 PM, Emanuele Ziglioli < theb...@emanueleziglioli.it> wrote: > Well, I thought my new billin

Re: [google-appengine] A question about eventual consistency/transactions

2012-02-15 Thread Jeff Schnitzer
This video is still the best reference to start with: https://sites.google.com/site/io/under-the-covers-of-the-google-app-engine-datastore ...but follow it up with this one: http://www.google.com/events/io/2011/sessions/more-9s-please-under-the-covers-of-the-high-replication-datastore.html Inde

Re: [google-appengine] Re: A question about eventual consistency/transactions

2012-02-15 Thread Jeff Schnitzer
On Wed, Feb 15, 2012 at 2:45 PM, peterk wrote: > Cheers Jeff, that's a relief. > > As a follow-up... if I have multiple fetch/modify cycles on models > within an entity group in a transaction, the fetches won't always > necessarily show up-to-date models, right? > > E.g. within a transaction if I

Re: [google-appengine] Re: How long a query results takes to be updated? HR Datastore

2012-02-15 Thread stephenp
Jeff, Thanks for the reply! You've really, really helped. I understand that a task will have to create a transaction and that it doesn't run in the context of the transaction that may have enqueued it. A re-phrasing of my question: Request 1 -> txn.begin() -> add entity "statistic" to "account

Re: [google-appengine] A question about eventual consistency/transactions

2012-02-15 Thread stephenp
Thanks! I'll watch them ASAP :) Stephen -- 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/-/Ebn6W7K5ntgJ. To post to this group, send email to google-

Re: [google-appengine] A question about eventual consistency/transactions

2012-02-15 Thread stephenp
By the way, your last paragraph answered my question. Thanks, Stephen -- 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/-/3lGOkNdTkxkJ. To post to th

[google-appengine] Unable to run the simpliest project, all just installed.

2012-02-15 Thread Albin Vlc
I'm using Java 7 (the only difference agains the installation instructions) and Eclipse Indigo and I've followed the steps shown here: http://code.google.com/appengine/docs/java/tools/eclipse.html#Getting_Eclipse Works from the command line: C:\Workzone\Eclipse\plugins \com.google.appengine.eclip

[google-appengine] google cloud sql server error

2012-02-15 Thread Mansik Kim
Whenever i try to access web built on app engine, it shows me below message after deploying Error: Server Error The server encountered an error and could not complete your request. If the problem persists, please report your problem and mention this error message and the query that caused it. but

Re: [google-appengine] Re: How long a query results takes to be updated? HR Datastore

2012-02-15 Thread Jeff Schnitzer
On Wed, Feb 15, 2012 at 4:16 PM, stephenp wrote: > Jeff, > > Thanks for the reply! You've really, really helped. I understand that a > task will have to create a transaction and that it doesn't run in the > context of the transaction that may have enqueued it. A re-phrasing of my > question: > Re

[google-appengine] ApplicationError: 108 when trying to open a blob as a file?

2012-02-15 Thread Justin LeFebvre
I'm trying to write a generated csv file line by line to the blobstore, using the task queue, which will be eventually uploaded to google docs and recently saw the following error. I am using the python API. File "/base/data/home/apps/cloudlock11/5-2-11.356657273301426337/gapps/ export.py", line 3

[google-appengine] Waiting to hear back about Appengine Premier Account

2012-02-15 Thread jamesdlow
Hi GAE Team, Sorry to post this here, but my company Onoko, is waiting to hear back about our Appengine Premier Account request. We got part way into before Christmas and New Years happen, and then haven't had a response on email since then. We're really keen to get signed up. You should be able

Re: [google-appengine] Waiting to hear back about Appengine Premier Account

2012-02-15 Thread Gregory D'alesandre
Sorry for the delay James, I'll track this down for you and follow-up offline. Greg D'Alesandre Senior Product Manager On Wed, Feb 15, 2012 at 12:02 AM, jamesdlow wrote: > Hi GAE Team, > > Sorry to post this here, but my company Onoko, is waiting to hear back > about our Appengine Premier Accou

[google-appengine] Re: How do calculate discounted frontend classes instance hours?

2012-02-15 Thread Emanuele Ziglioli
Hi Greg, the latest bill has just appeared and it shows discounted instance hours correctly. Thank you Usage Report for 2012-02-14 Frontend Instance Hours $0.08/Hour 28.00 28.00 0.00 $0.00 Discounted Instance Hour $0.05/Hour 68.80 0.0068.80 $3.4 On Feb 16, 9:21 am, "

[google-appengine] Cron syntax questions (Java)

2012-02-15 Thread newdeveloper
How to define the last Wednesday of quarter? Thanks in advance. Gary -- 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 go

RE: [google-appengine] Cron syntax questions (Java)

2012-02-15 Thread Brandon Wirtz
Cron on Wednesdays in code check if it is the last one of the quarter -- 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 go

Re: [google-appengine] Re: How long a query results takes to be updated? HR Datastore

2012-02-15 Thread stephenp
Jeff, Again, thank you. BTW, I just noticed this in the docs: > An app can perform a > query > during > a transaction, but only if it includes an ancestor filter. (You can > actually perform a query without an ancestor filter,

[google-appengine] Re: Zombie tasks eating up my mail quota

2012-02-15 Thread Andrew Richardson
Just to follow up with the result here...it looks like this was an AppEngine problem. Somehow I clobbered the Mail service and got it into a bad state. I filed a Production Issue on the Issue Tracker, and they put my quota back to normal. Hopefully it stays that way! -- You received this messa

RE: [google-appengine] Cron syntax questions (Java)

2012-02-15 Thread Dai, Gary
Sorry I don't get it. Could you kindly show me the cron syntax to define last Wednesday of each quarter? Thanks. -Original Message- From: google-appengine@googlegroups.com [mailto:google-appengine@googlegroups.com] On Behalf Of Brandon Wirtz Sent: Wednesday, February 15, 2012 5:46 PM To

Re: [google-appengine] Re: Zombie tasks eating up my mail quota

2012-02-15 Thread Ikai Lan (Google)
Andrew, was this the issue I resolved? I'm trying to track down instances of wedged free email quota to see if this is a software bug or an unintended consequence of a job we ran to fix an earlier issue. -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com On Wed, Feb 15,

Re: [google-appengine] Re: How long a query results takes to be updated? HR Datastore

2012-02-15 Thread Jeff Schnitzer
On Wed, Feb 15, 2012 at 5:49 PM, stephenp wrote: > > I feel like I am keeping you from real work :) I do appreciate it. > I'll send you my bill later ;-) Glad you're getting it worked out. Jeff -- You received this message because you are subscribed to the Google Groups "Google App Engine"

Re: [google-appengine] fetching by keys (as strings) is kind of slow

2012-02-15 Thread Robert Kluin
Hey Andreas, One thing to note is that PolyModels use lists in the background to facilitate querying. If it is deep, it could add some overhead. Try this with small entities, if there's a big difference you'll know it is your data model. Robert On Wed, Feb 15, 2012 at 07:56, Andreas wr

Re: [google-appengine] Re: A question about eventual consistency/transactions

2012-02-15 Thread Robert Kluin
On Wed, Feb 15, 2012 at 15:04, Jeff Schnitzer wrote: > On Wed, Feb 15, 2012 at 2:45 PM, peterk wrote: >> >> Cheers Jeff, that's a relief. >> >> As a follow-up... if I have multiple fetch/modify cycles on models >> within an entity group in a transaction, the fetches won't always >> necessarily sh

Re: [google-appengine] google cloud sql server error

2012-02-15 Thread Robert Kluin
Hi Mansik, Check your app's log in the log viewer on the appspot dashboard. The error should be detailed there. Robert On Wed, Feb 15, 2012 at 12:44, Mansik Kim wrote: > Whenever i try to access web built on app engine, it shows me below > message after deploying > > Error: Server Error >

Re: [google-appengine] fetching by keys (as strings) is kind of slow

2012-02-15 Thread Jeff Schnitzer
3s for fetching 500 doesn't seem wildly out of sorts. You can speed it up a lot (at the cost of consistency) by doing an eventually consistent get instead of a strongly consistent get. I don't know the way to do that in Python. Jeff On Tue, Feb 14, 2012 at 4:05 PM, Andreas wrote: > im just pr

Re: [google-appengine] Cron syntax questions (Java)

2012-02-15 Thread Robert Kluin
See: http://code.google.com/appengine/docs/python/config/cron.html#The_Schedule_Format If you've got specific questions, show us what you've tried and the error. Robert On Wed, Feb 15, 2012 at 18:10, Dai, Gary wrote: > Sorry I don't get it. Could you kindly show me the cron syntax to d