[google-appengine] Cost of key allocation?

2012-01-26 Thread Jeff Schnitzer
The Billing and Budgeting Resources page (http://code.google.com/appengine/docs/billing.html) says that "Key allocation (per key)" costs 1 small operation. Does this mean that if I call DatastoreService.allocateIds("Kind", 5000) that I will be billed for 5,000 small operations? If I block out, sa

Re: [google-appengine] Re: SSL on Custom domains before 2014 ?

2012-01-26 Thread Iván Rodríguez
+1... any mail, explain or form input response... Google is "spying" our apps? 2012/1/25 George Simon > +1 > > On Jan 18, 12:56 am, Waleed Abdulla wrote: > > I filled the form a couple of months ago and haven't heard back! > > > > > > > > > > > > > > > > On Tue, Jan 17, 2012 at 6:48 AM, objectu

[google-appengine] Re: Considering a Cloud MasterMind Group

2012-01-26 Thread Richard Watson
I used to participate on the Azure groups but haven't in ages. I'd be interested but probably not yet if it's too pricy. I'm not working at the scale that my participation would be useful, but it's likely that the issues discussed would be actionable so I'd happily lurk. -- You received this

RE: [google-appengine] Re: Considering a Cloud MasterMind Group

2012-01-26 Thread Brandon Wirtz
I'm looking at $3 a month. The price is really just so that I have a paid contract with every member so that I can enforce that members behave, don't spam, and such, and monthly so when you screw up I don't have to fight with pay pal or someone about the refund. I've run groups in the past and

RE: [google-appengine] Re: Put_Async Use It

2012-01-26 Thread Brandon Wirtz
Yes, you are right, but you aren't consuming cycles in the meantime. This works well if your datastore write is anything other than the last line of your code. -Original Message- From: google-appengine@googlegroups.com [mailto:google-appengine@googlegroups.com] On Behalf Of Robert Kluin

Re: [google-appengine] Cost of key allocation?

2012-01-26 Thread Timofey Koolin
I try it - qouta calc count on call function. allocate_id_range(v1, 1, 4294967296) self.response.out.write('Hello world!') It work fast, fine and calcs as one key alloocation ops in quota details. 2012/1/26 Jeff Schnitzer > The Billing and Budgeting Resources page > (http://code

Re: [google-appengine] Re: 1.6.2 Pre-Release SDKs Out

2012-01-26 Thread Waleed Abdulla
It would be super cool if the backup feature allows me to backup my data to Google's Cloud SQL so it's a backup and, as the same time, a good place to run reports that require the complex queries that SQL is good at. On Wed, Jan 25, 2012 at 9:39 AM, someone1 wrote: > Strike that, I was looking

Re: [google-appengine] Re: 1.6.2 Pre-Release SDKs Out

2012-01-26 Thread Timofey Koolin
I want function for keep or close channel by server side. For example I open channel for 48 hours. If user have active during it period - I prolong channel for next 48 hours. It need for incremental update client state for web-application. 2012/1/26 Waleed Abdulla > It would be super cool if the

Re: [google-appengine] Re: Considering a Cloud MasterMind Group

2012-01-26 Thread Richard Watson
I belonged to a forum that was $100 per year. The primary benefit of the price was keeping jokers out. $3 might let them in, but is probably a good start. Maybe ycombinator would have an interest since all their startups aim to have the problems you're trying to solve? -- You received this me

Re: [google-appengine] Is there a limit to the number of log entries per request?

2012-01-26 Thread Stephan
Hi all On Wednesday, January 25, 2012 8:23:11 AM UTC+1, Robert Kluin wrote: > > [...] > > While it is true that logging adds some overhead, he's talking about a > backend task. So it is presumably a longer-running more involved process. > Logging is great in these cases because it allows you to

[google-appengine] ReferenceProperty and Datastore Read Operations Quota

2012-01-26 Thread ikalbeniz
Hi, I have developed a forum where i have structured the database using ReferenceProperties to link forum groups, forums, threads, posts and users.. so a group (db.model object) has N forums that have N threads with N posts.. I have a problem with the Datastore Read Operations Quota and i think t

[google-appengine] Java Sessions

2012-01-26 Thread Christopher Johnson
All - Does anyone know how long Java sessions are around for when making use of the servlet session interface that GAE implements ? Thanks in advance. ..Chris -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send ema

Re: [google-appengine] ReferenceProperty and Datastore Read Operations Quota

2012-01-26 Thread Martin Ceperley
One get_by_id is one datastore read. When you access a reference property for the first time it will do the datastore read. Accessing all forums of a group would be a separate query. -Martin On Jan 26, 2012, at 8:30 AM, ikalbeniz wrote: > Hi, > > I have developed a forum where i have structu

Re: [google-appengine] speed up fetching of larger data set

2012-01-26 Thread Waleed Abdulla
You didn't mention if you're fetching the entities using their keys or with a query. If you can fetch with keys, it's faster. And, also, increase your batch size: db.get([list of 1000 keys]) Another thing you might want to try is using async operations so you trigger the fetches one after ano

Re: [google-appengine] Re: Considering a Cloud MasterMind Group

2012-01-26 Thread Gregory D'alesandre
I would happily join Brandon and take no offense in the suggestion that there might be better options than Google Groups out there :) Greg On Thu, Jan 26, 2012 at 4:25 AM, Richard Watson wrote: > I belonged to a forum that was $100 per year. The primary benefit of the > price was keeping jokers

[google-appengine] Re: Considering a Cloud MasterMind Group

2012-01-26 Thread Simon Knott
Sounds a good idea to me, I'd be up for it. Cheers, Simon -- 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/-/yUPCVmPpC6sJ. To post to this group, sen

Re: [google-appengine] Re: 11 apps but 4 are mine

2012-01-26 Thread Ikai Lan (Google)
Yep, I see that the OP is an OWNER on most of the apps. I didn't count them one-by-one, however. There should not be a limit of the number of billing enabled apps available, however. You should be able to create these as needed and they will not count against the number of free apps you have. We s

Re: [google-appengine] Java Sessions

2012-01-26 Thread Ikai Lan (Google)
They're backed with Memcache and Datastore so you won't lose session data when the instance shuts down. I can't find the default, but it looks like the session code respects HttpSession's maxInactiveInterval() method: http://docs.oracle.com/javaee/6/api/javax/servlet/http/HttpSession.html#setMaxIn

Re: [google-appengine] speed up fetching of larger data set

2012-01-26 Thread Ikai Lan (Google)
Between the way the datastore works and deserialization, fetching 6000 entities is never going to be efficient. What problem are you trying to solve? Is it possible to reduce the number of entities? For instance, can you store data for 1000 entities in 6 entities and fetch only 6 big entities? The

[google-appengine] Re: Considering a Cloud MasterMind Group

2012-01-26 Thread Dale
I'm keen and don't mind paying a small fee. On Jan 26, 8:48 pm, Simon Knott wrote: > Sounds a good idea to me, I'd be up for it. > > Cheers, > Simon -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to goog

[google-appengine] over quota - google bots

2012-01-26 Thread Anders
I recently made a significant change in my app (python 2.5) when I had to "collapse" many pages into one - hiding functionality for users that had become unstable/unauthorized. I am definitely a newbie to how this would impact search engine bots, but basically a huge number of pages all changed an

RE: [google-appengine] over quota - google bots

2012-01-26 Thread Brandon Wirtz
I don't know what your URLS look like, but I would take the old URLS and have your app serve a 410 error to those. And do that early in your app logic. Also if you are trying to run for free, Python 2.7 thread safe will help a lot. -Original Message- From: google-appengine@googlegroups.c

[google-appengine] New google terms of service and the content clause

2012-01-26 Thread Rubin
Hi all, I got directed to this group by the Google Help page. I want to ask something with regards to the use of the Google Code service (I just read the new terms of service and was pleased to read something readable. A rare event when it comes to terms of service and privacy statements). So I w

[google-appengine] Re: Any plans to ever let us set the OpenID realm?

2012-01-26 Thread Marcin
I had exactly the same problem. Using UserService was very intuitive and easy but without possibility to set wildcard realm, implementing SSO for Google Apps Marketplace (we are using subdomains for multitenancy) was impossible. If only UserService.createLoginURL had one more argument - String

[google-appengine] Understanding

2012-01-26 Thread Jay
I am using Google APP Engine in Java to send XMPP messages to GTalk users.There is a servlet that sends these messages. There is a separate application written in .NET that takes care of other activities of my application. My question is; can I trigger this servlet to send a chat to a particular J

[google-appengine] custom key generation

2012-01-26 Thread yadab
I have just started with appengine, I want to build a small e-com site (examples appreciated). The problem I am stuck with is providing a human readable URL to each entity I have. The generated key can not be used and it is looks to be implementation internal, Also I can not have so many names. Can

[google-appengine] backends returning 50x errors

2012-01-26 Thread Ben Nevile
Hi, I tried to start a backend on an app (id: "butterpool") 1d7h ago, but I have been consistently getting the "service you requested is not available yet" error. I tried both dynamic and resident backends. I see that other people have had this problem, and that in at least one case it was solved

Re: [google-appengine] 'Flush' Like "I'm tapping out but keep working" in Python?

2012-01-26 Thread James Broberg
Your use case is perfect for the task queue. We use a similar model: get a request then fire off a task to log some stuff to the database and jam a value in memcache if required. This way control is returned back to the user as quickly as possible. On 24 January 2012 08:07, Brandon Wirtz wrote: >

[google-appengine] Re: New google terms of service and the content clause

2012-01-26 Thread Greg
Good question. It would be good if they clarified this with a distinction between content that is is private as opposed to public. For instance, there would be an instant backlash against Appengine and Google Docs if Google was allowed to "communicate, publish, publicly perform, publicly display a

RE: [google-appengine] New google terms of service and the content clause

2012-01-26 Thread Brandon Wirtz
I just shot a video about this and a few other clauses in the new TOS that I don't like. -Original Message- From: google-appengine@googlegroups.com [mailto:google-appengine@googlegroups.com] On Behalf Of Rubin Sent: Thursday, January 26, 2012 12:54 AM To: Google App Engine Subject: [google

Re: [google-appengine] Re: Is Cost Per Million Estimate Based On New Pricing?

2012-01-26 Thread Ikai Lan (Google)
Those should be based on the old pricing. The old pricing is based on CPU milliseconds. That number is less meaningful (not meaningful anymore?) because you are billed for instance hours, and you have concurrent requests. Datastore ops are also not included. At some point we should get rid of tho

Re: [google-appengine] New google terms of service and the content clause

2012-01-26 Thread Gregory D'alesandre
I can't speak for code.google.com but I can speak for App Engine. Our Terms of Service has this clause "1.2 *From Customer to Google*. By submitting, posting or displaying any Application (including Customer Content) on or through the Service, Customer gives Google a worldwide, non-sublicensable,

RE: [google-appengine] New google terms of service and the content clause

2012-01-26 Thread Brandon Wirtz
I mentioned that. I'll get my video up later today or tomorrow. The GAE terms are fine, the as presented for some of the other Google products that I don't think anyone thought about kind of sucks. Feedburner for example, I don't want Google creating derivative works of my full content RSS f

[google-appengine] Channel API Quota exception even though dashboard shows only 20% channels created...

2012-01-26 Thread amit
Hello all, I am getting Channel creation exception in the server logs even though the dashboard shows that we have only ~20% of the Channels created for the day. Channels Created 19% 147,214 of 760,320 Okay com.google.apphosting.api.ApiProxy$OverQuotaException: The API c

[google-appengine] Re: What "application:appid" should I use during and after M/S->HRD Migration?

2012-01-26 Thread Nevada County Makes
You were right, Robert. I was storing a key as a StringProperty in the Community.featured_maker. That key was no longer valid on HRD. The key.to_path() didn't help, because the old key was an encoded key from the old appid. I manually looked up the right key and set the featured_maker and now ever

[google-appengine] Mastermind Group Is Ready

2012-01-26 Thread Brandon Wirtz
www.cloudonastring.com is up. Feel free to point out any spelling or grammar errors, complain about how ugly my layout is or anything else. I decided on a pricing at about $100 a year ($7.95 per month) if you are a student you get $2.95 a month. If you have a team of people there is an organi

[google-appengine] Re: Channel API Quota exception even though dashboard shows only 20% channels created...

2012-01-26 Thread Takashi Matsuo (Google)
Could you tell me your app-id? -- 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/-/7Fzl8RCXcbgJ. To post to this group, send email to google-appengine@

Re: [google-appengine] Is there a limit to the number of log entries per request?

2012-01-26 Thread Robert Kluin
Hey Stephan, Mike Wesner and I were actually just discussing this earlier today. He also mentioned there being some limit on log entries, we couldn't recall exactly what it was though. I just ran a simple test; it seems that only the last 1000 lines are kept. At least that is what it looks like

Re: [google-appengine] ReferenceProperty and Datastore Read Operations Quota

2012-01-26 Thread Robert Kluin
Hi, When you access those reference properties they are fetched by key. Unfortunately this will happen serially, which will significantly impact your performance. You're not going to avoid the read operations without changing your schema, but you can at least improve the performance by doing a b

Re: [google-appengine] Understanding

2012-01-26 Thread Robert Kluin
Hi Jay, Of course this is possible, you can have your .Net app make a service call to the Java application. If I'm not mistaken you can interact with REST services via WCF, I think you can even do so using JSON as the interchange format. Robert On Thu, Jan 26, 2012 at 06:01, Jay wrote:

Re: [google-appengine] custom key generation

2012-01-26 Thread Robert Kluin
Hi, You can use key names you create yourself instead of auto-generated ids if you would like. The names can be alphanumeric. http://code.google.com/appengine/docs/python/datastore/entities.html#Kinds_IDs_and_Names Robert On Thu, Jan 26, 2012 at 09:10, yadab wrote: > I have just sta

Re: [google-appengine] backends returning 50x errors

2012-01-26 Thread Robert Kluin
Hi Ben, Have you filed a production issue? http://code.google.com/p/googleappengine/issues/entry?template=Production%20issue Out of curiosity, have you tried changing the backends name? Robert On Thu, Jan 26, 2012 at 11:12, Ben Nevile wrote: > Hi, > > I tried to start a backend on a

Re: [google-appengine] Re: 'Flush' Like "I'm tapping out but keep working" in Python?

2012-01-26 Thread Robert Kluin
Hey Steve, They actually added a default version "target" recently. You can use that to send a task back to the default version of your app, just as you would to send a task to a numbered version. Just set the target to taskqueue.DEFAULT_APP_VERSION. Robert On Tue, Jan 24, 2012 at 11:25, st

Re: [google-appengine] Re: What "application:appid" should I use during and after M/S->HRD Migration?

2012-01-26 Thread Robert Kluin
Hey, Super, glad that helped you. The code I posted can be used to convert the keys though, in my example "bad_key"is really just db.Key('basdkeystring'). Robert On Thu, Jan 26, 2012 at 20:02, Nevada County Makes wrote: > You were right, Robert. I was storing a key as a StringProperty in >

[google-appengine] Re: ReferenceProperty and Datastore Read Operations Quota

2012-01-26 Thread ikalbeniz
ok.. in my case i have something like this.. class ForumGroup(db.Model): name = db.StringProperty() description = db.StringProperty(multiline=True) created_at = db.DateTimeProperty(auto_now_add=True) class Forum(db.Model): name = db.StringProperty() description = db.StringProp

Re: [google-appengine] Remote API python

2012-01-26 Thread Robert Kluin
Hi Manuel, Yes, this is very possible to do. It is how the datastore admin copy tool works. You might take a look at that code for an example of how to do the basic setup, http://code.google.com/p/googleappengine/source/browse/trunk/python/google/appengine/ext/datastore_admin/copy_handler.

Re: [google-appengine] Re: ReferenceProperty and Datastore Read Operations Quota

2012-01-26 Thread Robert Kluin
So "group.forum.threads.posts.fetch(10)" is exactly the type of thing you need to be cautious of. That is actually doing a fetch to get the forum, then another for threads, and lastly querying for ten posts. That's a lot of datastore operations. You might want to think about denormalizing your da