Re: [appengine-java] App Engine Channel API release date on production?

2010-09-13 Thread Ikai Lan (Google)
It's not ready yet. Our roadmap is here: http://code.google.com/appengine/docs/roadmap.html In general, we do not release ETAs for features until they are imminent. For instance, if you see something in a prerelease SDK, that's a sign it's likely going to happen (barring catastrophic issues).

Re: [appengine-java] How to configure PHP, MySQL GAE

2010-09-13 Thread Ikai Lan (Google)
App Engine doesn't support SQL (yet, see roadmap http://code.google.com/appengine/docs/roadmap.html). Please read through these datastore docs to understand our persistence model: http://code.google.com/appengine/docs/java/datastore/ On Mon, Sep 13, 2010 at 4:03 AM, technut worldh...@gmail.com

Re: [appengine-java] 1MB URL Fetch limit and blobstore service

2010-09-13 Thread Ikai Lan (Google)
No. You will be able to upload large files to the blobstore. On Mon, Sep 13, 2010 at 6:54 AM, Lucian Baciu lucianba...@gmail.com wrote: Does the 1MB request limit listed here: http://code.google.com/appengine/docs/java/urlfetch/overview.html apply to upload requests send to the blobstore as

Re: [appengine-java] query for null missing properties

2010-09-13 Thread Ikai Lan (Google)
You can't. Empty properties are the equivalent of unindexed properties. You'll need to iterate over all the Entities in your datastore and update them. The Mapper API is a very good tool for this: http://code.google.com/p/appengine-mapreduce/ On Mon, Sep 13, 2010 at 12:20 PM, Benjamin

Re: [appengine-java] 1MB URL Fetch limit and blobstore service

2010-09-13 Thread Ikai Lan (Google)
I need to call the blobstore service from a servlet. So it would be so great if you would remove this limit at least for requests send to the blobstore or offer some other way to archive this. Thank you, Lucian On Mon, Sep 13, 2010 at 9:58 PM, Ikai Lan (Google) ikai.l+gro...@google.com

Re: [appengine-java] Java status get latency improvement

2010-09-14 Thread Ikai Lan (Google)
There was an issue at around 4:30am, but any real impact should have subsided by 5am: http://groups.google.com/group/google-appengine-downtime-notify/browse_thread/thread/7a9705743782ce81 On Tue, Sep 14, 2010 at 2:14 AM, Francois MASUREL masu...@mably.com wrote: Geez, what happened to the java

Re: [appengine-java] Contribution: slides from my presentation at QCon about GAEJ [in portuguese]

2010-09-14 Thread Ikai Lan (Google)
Maybe more Brazilian GAE developers can add themselves here? http://www.appenginepeople.net/country/BR/ The developers of that site are GTUG organizers from Argentina. We've lots of South American representation in the GAE community! On Tue, Sep 14, 2010 at 1:11 PM, Sergio Lopes

Re: [appengine-java] What is the scope for NamespaceManager?

2010-09-15 Thread Ikai Lan (Google)
Why not just do this with a servlet filter? It's very cheap to do and isnt't computationally expensive - it's not like you're reestablishing an expensive connection or anything. On Wed, Sep 15, 2010 at 12:08 PM, Vikas Hazrati vhazr...@gmail.com wrote: We are building a multi-tenant application

Re: [appengine-java] Getting email address of user from Google Account ID

2010-09-15 Thread Ikai Lan (Google)
No. Save the email if you need it, but be aware that it may change. On Wed, Sep 15, 2010 at 3:04 PM, mscwd01 mscw...@gmail.com wrote: Hey, For the primary key of my User object, I store the Google Account ID instead of the user's email address (in the event they change the email address).

Re: [appengine-java] Storing values with GAE LowLevel Api ( com.google.appengine.api.datastore)

2010-09-15 Thread Ikai Lan (Google)
Slim3 does this, I believe. It creates Meta classes from POJOs that you can edit: http://sites.google.com/site/slim3appengine/ On Tue, Sep 14, 2010 at 7:37 PM, Gervais.b gervai...@gmail.com wrote: Hi everyone, I have an app who actually work with a dao layer. This layer as actually only one

Re: [appengine-java] What is the scope for NamespaceManager?

2010-09-15 Thread Ikai Lan (Google)
as it could be thought of as being done globally to the whole application. But I suspect this is not the case, hopefully :-) Guillaume On Wed, Sep 15, 2010 at 23:14, Ikai Lan (Google) ikai.l+gro...@google.comikai.l%2bgro...@google.com wrote: Why not just do this with a servlet filter? It's very

Re: [appengine-java] Re: Does AppEngine recycle threads (Is using ThreadLocal considered good practice on the GAE?)

2010-09-16 Thread Ikai Lan (Google)
You can store data in ThreadLocal as a cache, but it will be extremely volatile, especially if we spin up/spin down instances. It's fine to use this to cache data that you can easily regenerate. Just be aware that if you hit memory limits, we will cull and restart that instance. On Thu, Sep 16,

Re: [appengine-java] Re: A question about queries and composite indices

2010-09-16 Thread Ikai Lan (Google)
The issue here is zig zag merge join. It's a bit more complex subject than I can easily explain in email, but to sum things up, what's happening is that we take multiple indexes and zig-zag between them to generate your result set. When this takes too long, that causes that exception to be thrown.

Re: [appengine-java] Re: Does AppEngine recycle threads (Is using ThreadLocal considered good practice on the GAE?)

2010-09-16 Thread Ikai Lan (Google)
) . Then if each JVM has a maximum of 2000 threads it's OK but if each JVM get's 2 threads then this design won't do. Appreciate your comments. Thank you, Maxim. On Thu, Sep 16, 2010 at 4:07 PM, Ikai Lan (Google) ikai.l+gro...@google.com ikai.l%2bgro...@google.com wrote: You can store data

Re: [appengine-java] [IDEA] Circumventing app engine cold start with a warm up

2010-09-16 Thread Ikai Lan (Google)
A similar idea is being considered. As far as reserved instances go, if you are at the point where you need more instances, it would only be a small portion of your requests that hit loading requests. The reason loading requests nowadays are a pain is because they are a vast majority of requests

Re: [appengine-java] Deploy Hangs

2010-09-17 Thread Ikai Lan (Google)
What's your application ID? On Thu, Sep 16, 2010 at 5:16 PM, gaeuser angelan...@gmail.com wrote: It just doesn't finish and keeps checking at 60-second intervals. On the console at http://appengine.google.com I see my application with Current Version set to: None Deployed But when I click

Re: [appengine-java] Re: Channel API still not live...

2010-09-20 Thread Ikai Lan (Google)
Channel API is not available yet. You can sign up for trusted tester here: https://spreadsheets.google.com/a/google.com/viewform?formkey=dGFxQ1A4T1BSYWxNdFlYVFhUcmg2amc6MQ On Mon, Sep 20, 2010 at 2:38 AM, Heiko Roth r...@egotec.com wrote: Hello there, We need channel api, too. Can we use

Re: [appengine-java] GAE showing more files in application than there actually are

2010-09-20 Thread Ikai Lan (Google)
Are you using SVN? Are there hidden files? These should be ignored by the deploy process but it's a good sanity check. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter:

Re: [appengine-java] MVC framework engineered specifically for GAE/J

2010-09-20 Thread Ikai Lan (Google)
Slim3 is very popular: http://sites.google.com/site/slim3appengine/ I don't think there's DI out of the box, but the testing piece was fairly well thought out. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit:

Re: [appengine-java] File myTempFile = new File(path to temp file)????????

2010-09-21 Thread Ikai Lan (Google)
Why do you need a File instance if you're not storing it? What are you trying to do? -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Mon, Sep 20, 2010 at

Re: [appengine-java] Unable to deploy app to GAE

2010-09-28 Thread Ikai Lan (Google)
Is this still occurring for you? -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Sun, Sep 26, 2010 at 9:04 AM, Vik vik@gmail.com wrote: Hie While

Re: [appengine-java] Re: Urgent: Getting only Server Error (500) since ~12:30 am (September 28th)

2010-09-28 Thread Ikai Lan (Google)
Hey everyone, If you aren't subscribed yet to downtime-notify, you should join that group for updates about production events. We'll be doing status updates on today's issues here: http://groups.google.com/group/google-appengine-downtime-notify/browse_thread/thread/ccaf3e82985a1602 -- Ikai Lan

Re: [appengine-java] Long delay for mail deliveries (15 min)

2010-09-29 Thread Ikai Lan (Google)
Mail shouldn't be affected by the datastore, though other users are reporting general deadline issues with email delivery. I'm looking into the issues with email, but there's no guarantee that email is instantaneous - it just so happens that email performance has improved so much that we have

Re: [appengine-java] Batch put for JDO objects

2010-09-30 Thread Ikai Lan (Google)
You should be able to use makePersistentAll(). Does this not work? -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Thu, Sep 30, 2010 at 11:51 AM, Thomas

Re: [appengine-java] Server Error 500 getting blobservice UploadUrl

2010-09-30 Thread Ikai Lan (Google)
What does it say in the logs? Do you have billing enabled? Blobstore requires a billing enabled application. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine

Re: [appengine-java] Total number of rows and range query...

2010-10-01 Thread Ikai Lan (Google)
You can try to update counts on write, but this will only work for queries you know apriori. Even a count on keys isn't great - we need to run through all the indexes that match the query. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com

Re: [appengine-java] A Contains Filter with DataStore Low Level API, is it possible?

2010-10-01 Thread Ikai Lan (Google)
Just use an equality filter - this should work just fine. Select from Kind where propertyName contains 'propertyValue' is just: Query q = new Query(Kind); query.addFilter(propertyName, FilterOperator.EQUAL, propertyValue); -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger:

Re: [appengine-java] Batch put for JDO objects

2010-10-01 Thread Ikai Lan (Google)
Not that it should matter, but are you on the newest SDK? Can you post a screenshot of AppStats? It's my understanding that the blog post is out of date. They should be happening in parallel. You're not going to save that much CPU time, though, since it still takes CPU to save all the entities

Re: [appengine-java] allocateIds performance

2010-10-01 Thread Ikai Lan (Google)
They're a function of the datastore itself, but they don't create indexes or any of the things that are usually associated with entity writes. The worst case performance has allocateIds doing a write to a hard disk, but most of the time they retrieve data from in-memory caches. What are you

Re: [appengine-java] Batch put for JDO objects

2010-10-01 Thread Ikai Lan (Google)
I misread (or missed?) one of your emails. Yes, makePersistentAll should be for inserts. I don't believe it was updated for updates. Here's the test I am looking at:

Re: [appengine-java] Total number of rows and range query...

2010-10-01 Thread Ikai Lan (Google)
App Engine Meetups are almost completely community organized. If you're speaking about the local Bay Area meetup, send a note to Waleed, the organizer of the meetup group. We're just here to offer support when we can. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger:

Re: [appengine-java] Batch put for JDO objects

2010-10-04 Thread Ikai Lan (Google)
There is no way to write a JDO object with the low-level API. You need to convert it into an Entity and save the Entity. Can you post any code? -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine

Re: [appengine-java] User Personal page

2010-10-05 Thread Ikai Lan (Google)
You'll want to read the documentation here: http://code.google.com/appengine/docs/java/overview.html Yes, you can use a session, but it's up to you to learn about the different options available. A good resource for learning how to write code for App Engine is to browse the projects on our Open

Re: [appengine-java] Re: Select query using LIKE

2010-10-05 Thread Ikai Lan (Google)
startsWith() translates to a GREATER_THAN_OR_EQUAL query underneath the hood. BigTable allows for range scans, so this ends up being translated to an index scan for all properties with a value = the target. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger:

Re: [appengine-java] Will I be able to get more apps if needed?

2010-10-05 Thread Ikai Lan (Google)
Yes. When you think you need them, please fill out the Billing Support form: http://code.google.com/support/bin/request.py?contact_type=AppEngineBillingSupport -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit:

Re: [appengine-java] new book by Ikai

2010-10-06 Thread Ikai Lan (Google)
No, I won't be publishing this. I hope to be publishing the more unique content on my blog: http://ikaisays.com/ This book is written by Dan Sanderson, a former member of the App Engine team: http://www.amazon.com/Programming-Google-App-Engine-Infrastructure/dp/059652272X There are a few other

Re: [appengine-java] Re: Remove properties from existing data

2010-10-07 Thread Ikai Lan (Google)
An easy way to iterate over all your entities is with the Mapper API: http://googleappengine.blogspot.com/2010/07/introducing-mapper-api.html -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter:

Re: [appengine-java] Font Rendering possible..? Maybe via Batik?

2010-10-07 Thread Ikai Lan (Google)
Have you looked into the Google Font API? http://code.google.com/apis/webfonts/ This solution is more inline with HTML5. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter:

Re: [appengine-java] Disable Development Console

2010-10-07 Thread Ikai Lan (Google)
You should be able to write a servlet filter that catches all incoming URLs. You really shouldn't use the dev app server locally, though. It's not meant to be any kind of production server. For instance: it's single threaded, transactions lock globally (so if something goes wrong a server restart

Re: [appengine-java] Need to include com.google.gdata.client in the deployment for GAE?

2010-10-07 Thread Ikai Lan (Google)
You have to include it. The gdata client is not available server side. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Thu, Oct 7, 2010 at 1:42 PM, Saqib

Re: [appengine-java] outofMemoryerror

2010-10-08 Thread Ikai Lan (Google)
Can you post the code? You might be allocating too many objects. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Fri, Oct 8, 2010 at 12:11 AM, Deepika M

Re: [appengine-java] Is MemcacheService obtained from getMemcacheService(namespace) thread safe?

2010-10-11 Thread Ikai Lan (Google)
Yes. It's just a client. If you're really worried about this, you don't really save much by doing this, however, since the only real cost is object allocation. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit:

Re: [appengine-java] Problem with large entities? Store in one or two separate entities

2010-10-12 Thread Ikai Lan (Google)
If it's a few small fields, I don't think the performance difference is worth the extra complexity. The size of the entities does have an impact on the overall performance of the fetch, but there difference is usually more material if each entity stores a few hundred kilobytes of data. -- Ikai

Re: [appengine-java] Re: Need to include com.google.gdata.client in the deployment for GAE?

2010-10-14 Thread Ikai Lan (Google)
, 2010 at 9:19 AM, Saqib Ali docbook@gmail.com wrote: Thanks Ikai. Are there any plans to include GData Client to the App Engine? Saqib On Oct 7, 6:50 pm, Ikai Lan (Google) ikai.l+gro...@google.comikai.l%2bgro...@google.com wrote: You have to include it. The gdata client

Re: [appengine-java] HtmlUnit support on GAE for GWT crawlability

2010-10-14 Thread Ikai Lan (Google)
Awesome! It's been submitted to the App Engine Reddit: http://www.reddit.com/r/AppEngine/comments/dr9c4/making_htmlunit_work_with_gwt_and_app_engine_for/ -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit:

Re: [appengine-java] javax.mail.Transport.send() API throws ApiDeadlineExceededException but emails are sent

2010-10-15 Thread Ikai Lan (Google)
We're aware of this issue and looking into it. There's another thread in the google-appengine group that follows this issue. Can you make sure you keep up with that? -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit:

Re: [appengine-java] properties missing from datastore viewer

2010-10-19 Thread Ikai Lan (Google)
Are the properties unindexed? I don't think this should matter, but it's worth looking into if you can confirm it. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter:

Re: [appengine-java] Transfering db table to datastore

2010-10-19 Thread Ikai Lan (Google)
Not really. Please read up about the datastore before jumping into this. The biggest challenge will be moving from a relational mindset to a non-relational datastore. Each application will have a different migration strategy. I'd actually suggest building a new application first so you can

Re: [appengine-java] Problem with DNS resolution to appspot.com from 8.8.8.8 (Google DNS) ?

2010-10-19 Thread Ikai Lan (Google)
Looks like you are with Bezeq international. Users have reported issues before. Some users have reported that calling Beseq and asking to remove the Netex service has worked:

Re: [appengine-java] How to count datastore queries for JUnit test

2010-10-19 Thread Ikai Lan (Google)
I recall seeing something in test utils that did this. Check out the tests in this package for details: http://code.google.com/p/datanucleus-appengine/source/browse/#svn/trunk/tests/org/datanucleus/store/appengine/query%3Fstate%3Dclosed There might be a better way to approach the test, however.

Re: [appengine-java] Need advice on a design for an easily queryable key-value user preferences datamodel

2010-10-19 Thread Ikai Lan (Google)
This is a problem that can probably be easily solved with the low-level API. Entities are schemaless and you can treate properties like a Map. You could probably do something like this: Entity settings = new Entity(Settings, user.getKey()); settings.setUnindexedProperty(dailyEmail, false);

Re: [appengine-java] Re: 1.3.8 upgrade delete datastore contents

2010-10-19 Thread Ikai Lan (Google)
This is a known issue with the 1.3.8 release. We're looking into it. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Mon, Oct 18, 2010 at 11:06 AM,

Re: [appengine-java] Need to disable GAE account and reclaim my mobile number....

2010-10-19 Thread Ikai Lan (Google)
Can you create a new App Engine account? When you've done this, fill out this form with the details you posted: https://appengine.google.com/waitlist/sms_issues -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit:

Re: [appengine-java] java.net.InetAddress present in new 1.3.8 SDK but not on live servers

2010-10-19 Thread Ikai Lan (Google)
What's your application ID? I want to make sure you aren't in the pool of applications still on 1.3.7. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On

Re: [appengine-java] Problem with DNS resolution to appspot.com from 8.8.8.8 (Google DNS) ?

2010-10-19 Thread Ikai Lan (Google)
a different resolution for appspot.com. I would be intisrael/41395 http://article.gmane.org/gmane.linux.region.israel/41395 http://article.gmane.org/gmane.linux.region.israel/41395Thank you for the reply, Maxim. On Tue, Oct 19, 2010 at 8:03 PM, Ikai Lan (Google) ikai.l+gro...@google.com

Re: [appengine-java] Need to disable GAE account and reclaim my mobile number....

2010-10-19 Thread Ikai Lan (Google)
No, I mean create a @gmail.com account, then try to log into that page. The admin screen will tell you that the mobile number is in use. When you fill out the form, we'll be able to assign a manual override to verify your @ gmail.com account. -- Ikai Lan Developer Programs Engineer, Google App

Re: [appengine-java] Need to disable GAE account and reclaim my mobile number....

2010-10-19 Thread Ikai Lan (Google)
I've manually verified you. Sorry about that, I just needed you to log in at least once with a new email address. I probably should have explained that in my first email. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit:

Re: [appengine-java] AsyncDatastoreService - ready for use?

2010-10-20 Thread Ikai Lan (Google)
Good eyes! No, this isn't ready for use yet. You can't get an instance of AsyncDatastoreService. The backend isn't ready for this call. We wanted to release this, but there were showstopper bugs that prevented us from shipping it. Look for it in an upcoming release. -- Ikai Lan Developer Programs

Re: [appengine-java] Re: java.net.InetAddress present in new 1.3.8 SDK but not on live servers

2010-10-20 Thread Ikai Lan (Google)
You're in the 1.3.8 pool. I don't know why you are getting the error, since others are reporting that it's working fine for them. I'm hoping to try to reproduce this when I get a chance. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com

Re: [appengine-java] Re: Need advice on a design for an easily queryable key-value user preferences datamodel

2010-10-21 Thread Ikai Lan (Google)
? You have a doc link? On Oct 19, 2:19 pm, Ikai Lan (Google) ikai.l+gro...@google.comikai.l%2bgro...@google.com wrote: This is a problem that can probably be easily solved with the low-level API. Entities are schemaless and you can treate properties like a Map. You could probably do

Re: [appengine-java] Re: java.net.InetAddress present in new 1.3.8 SDK but not on live servers

2010-10-21 Thread Ikai Lan (Google)
into it Ikai. If you were to guess is this likely to be a quick fix or a lengthy drawn-out one? I've made many changes to my app now java.net.InetAddress has been supported and I cant launch the update because of this issue. On Oct 21, 12:38 am, Ikai Lan (Google) ikai.l+gro...@google.comikai.l

Re: [appengine-java] Re: Datastore latencies problems

2010-10-21 Thread Ikai Lan (Google)
What does the query look like? Query performance can sometimes be affected by the shape of the data - that is, if the data changes, it may change the number of indexes we need to zig-zag over. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com

Re: [appengine-java] Re: Datastore latencies problems

2010-10-22 Thread Ikai Lan (Google)
it seams to me that the latencies are lower around 8:00 GMT (morning in eastern Europe) and rise quite enough after 17:00 GMT (afternoon in East Europe). Thanks... On Oct 21, 10:24 pm, Ikai Lan (Google) ikai.l+gro...@google.comikai.l%2bgro...@google.com wrote: What does the query look like

Re: [appengine-java] Re: Recommended maximum number of entities in an entity group

2010-10-22 Thread Ikai Lan (Google)
Cyrille is right: have an expectation of 1 transaction/second, though real world performance should be below this. App Engine favors a model of eventual consistency. You don't get to scale by locking a ton of entities at once. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger:

Re: [appengine-java] DatastoreNeedIndexException

2010-10-25 Thread Ikai Lan (Google)
You need to look at your application and the type of queries you are performing. Don't index properties you don't need to search on. Read more about this here: http://code.google.com/appengine/docs/python/datastore/queriesandindexes.html -- Ikai Lan Developer Programs Engineer, Google App Engine

Re: [appengine-java] Re: Recommended maximum number of entities in an entity group

2010-10-25 Thread Ikai Lan (Google)
considered changing my database structure in order to get more, but smaller entity groups (every parentEntity will have at most 20-30 childs). That way, will be easier and faster to use transactions. On 22 Ott, 19:54, Ikai Lan (Google) ikai.l+gro...@google.comikai.l%2bgro...@google.com

Re: [appengine-java] Re: Channel API still not live...

2010-10-26 Thread Ikai Lan (Google)
Very slim. We want to ship it as soon as possible. In the meantime, there are plenty of services that offer this type of functionality: http://beaconpush.com http://pubnub.com ... and so forth Don't let this feature block you if your application needs it. Build it using another tool and port

Re: [appengine-java] recommendation on using maxmind geoip

2010-10-26 Thread Ikai Lan (Google)
MaxMind IP was what I used for this example: http://ikaisays.com/2010/08/11/using-the-app-engine-mapper-for-bulk-data-import/ -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter:

Re: [appengine-java] Sharing a PersistenceManagerFactory instance between web application instances

2010-10-26 Thread Ikai Lan (Google)
No, you can't share a PMF instance between app instances. Constructing this is slow because it has to do classpath scanning. Note that if you use the low-level API, application startup time is greatly reduced:

Re: [appengine-java] Cheapest way to run an SQL EXISTS query with Datastore API?

2010-10-26 Thread Ikai Lan (Google)
The cheapest way is to use the value you are checking for as a datastore key, then to do a get by key. A query always results in an index operation followed by a fetch by key, so you are reducing the need for an index lookup. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger:

Re: [appengine-java] blobstore - map returned empty

2010-10-27 Thread Ikai Lan (Google)
What does your upload page look like? Can you post the full servlet? -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Tue, Oct 26, 2010 at 4:12 PM, pac

Re: [appengine-java] Re: recommendation on using maxmind geoip

2010-10-27 Thread Ikai Lan (Google)
It's not required to use mapreduce. It's just easier to manage the jobs. You'll hit the 30 second deadline if you don't, and you'll end up building your own task queue management logic anyway. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com

Re: [appengine-java] Re: Channel API still not live...

2010-10-27 Thread Ikai Lan (Google)
(like Android) and not only from within browsers? It would be awesome. Thanks again. On Oct 26, 7:26 pm, Ikai Lan (Google) ikai.l+gro...@google.comikai.l%2bgro...@google.com wrote: Very slim. We want to ship it as soon as possible. In the meantime, there are plenty of services

Re: [appengine-java] Re: blobstore - map returned empty

2010-10-27 Thread Ikai Lan (Google)
at client does have uploadForm.setEncoding(FormPanel.ENCODING_MULTIPART); uploadForm.setMethod(FormPanel.METHOD_POST); Any suggestions? Thanks. On Oct 27, 7:28 pm, Ikai Lan (Google) ikai.l+gro...@google.comikai.l%2bgro...@google.com wrote: What does

Re: [appengine-java] datastore viewer's GQL

2010-10-28 Thread Ikai Lan (Google)
I'm guessing this is a custom rolled User object. Here's how you'd likely do it: SELECT * FROM User where __key__=KEY('User', 100100) -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter:

Re: [appengine-java] appengine-tools-api.jar not found

2010-10-28 Thread Ikai Lan (Google)
Strange, if you unzip the download, it should just be here: appengine-java-sdk-1.3.8/lib Did you download the file from here? http://googleappengine.googlecode.com/files/appengine-java-sdk-1.3.8.zip -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger:

Re: [appengine-java] Is it ok to change the package of a model class?

2010-10-28 Thread Ikai Lan (Google)
It should be. Kind names don't include the full package name. I'm assuming you're using JDO/JPA? -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Wed, Oct

Re: [appengine-java] appcfg update_indexes does not require a password?

2010-11-01 Thread Ikai Lan (Google)
You probably did an update recently. There's a cookie that gets stored. I'm usually only prompted once per day per app. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter:

Re: [appengine-java] Compare Unowned Key

2010-11-01 Thread Ikai Lan (Google)
If you're searching by key, why not use KeyFactory and get the object director by key instead? It'll run faster. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine

Re: [appengine-java] Mapreduce, mutationPool, and child entities

2010-11-01 Thread Ikai Lan (Google)
); *mutationPool.put(parent);* //Creation of the child entity *Entity child = new Entity(ChildClass, parent.getKey()); //Q: Can I expect that the key is returned directly after the mutationPool.put() method ?* child.setProperty(fieldX, valueX); mutationPool.put(child); […] From: Ikai Lan (Google

Re: [appengine-java] 400 Bad Request - The request is invalid for an unspecified reason on deploy

2010-11-02 Thread Ikai Lan (Google)
What does the log file say? What does your appengine-web.xml look like? -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Thu, Oct 28, 2010 at 11:16 AM,

Re: [appengine-java] Google App Engine Java on Linux PowerPC

2010-11-03 Thread Ikai Lan (Google)
You should be able to run the App Engine for Java SDK. That's the promise of Java, right? Interoperability across platforms that can run the JVM? -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine

Re: [appengine-java] Mapper Blobstore bytes read limit

2010-11-03 Thread Ikai Lan (Google)
This behavior doesn't seem right. No, the entire blob should not be getting read. We'll look into this. Do you have any more details? Could tasks be getting retried? -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit:

Re: [appengine-java] Sync datastore between server and local

2010-11-08 Thread Ikai Lan (Google)
You can, but one will need to expose an API to the other applications. Different application IDs cannot access the same datastore. Different deployed versions of the same application can. As far as syncing goes, there's the bulk upload/download tool:

Re: [appengine-java] mapreduce - passing filters

2010-11-08 Thread Ikai Lan (Google)
No, the mapper will go over everything. If the number of entities is small, you are better off placing an indexed property on ONLY these fields, then just iterating over them with a cursor and either a local client making multiple HTTP calls to your App Engine app or chained task queues. -- Ikai

Re: [appengine-java] Determine Tenancy Quota

2010-11-08 Thread Ikai Lan (Google)
There's no way currently to determine quota usage per namespace. Our preference is that you use a single, multitenant namespaced application. Do you have severely assymetric clients app usage? I'm curious to see if the current pricing structure of $0.12 gigabyte/$0.15 gigabyte stored is actually

Re: [appengine-java] Re: mapreduce - passing filters

2010-11-08 Thread Ikai Lan (Google)
by the mapper framework, but much smaller than the actual collection size of all entities of that kind. Brad On Nov 8, 11:56 am, Ikai Lan (Google) ikai.l+gro...@google.comikai.l%2bgro...@google.com wrote: No, the mapper will go over everything. If the number of entities is small, you

Re: [appengine-java] GAE or EC2

2010-11-08 Thread Ikai Lan (Google)
I'm biased, naturally, but here's my piece: They're both great, young platforms, and successful businesses have been built on both Google App Engine as well as Amazon EC2. Amazon's lower level access appeals to some, whereas Google App Engine's abstractions appeal to the folks in this group.

Re: [appengine-java] The disabling of sessions during a datastore down-time period

2010-11-09 Thread Ikai Lan (Google)
Hey Ian, During our maintenance periods, Memcache no longer goes down - we just flush it. Our docs on handing maintenance periods is unfortunately out of date. Thanks for bringing this to my attention. I'll put this on my plate to document it. In the meantime, here is some sample code. You can

Re: [appengine-java] Only have 3/10 apps but cannot add another!

2010-11-09 Thread Ikai Lan (Google)
Strange that this happened. I've manually verified you. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Tue, Nov 9, 2010 at 6:13 AM, SimonH

Re: [appengine-java] Re: The disabling of sessions during a datastore down-time period

2010-11-09 Thread Ikai Lan (Google)
a page with a service disabled message during down-times? (I already display a functionality degredation message during mem cache (! = datastore!) down-times or my own pre-declared down-time date-time slots, but I still rely on sessions to do this). Cheers, Ian On Nov 9, 6:15 pm, Ikai Lan

Re: [appengine-java] Session GAE

2010-11-11 Thread Ikai Lan (Google)
Read this: http://code.google.com/appengine/docs/java/config/appconfig.html#Enabling_Sessions Though if you have that disabled and attempt to use sessions locally, it will throw an error. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com

Re: [appengine-java] Are Text properties still not lazy loaded?

2010-11-11 Thread Ikai Lan (Google)
Text properties were never actually lazy loaded. We only lazy loaded them to match the JDO/JPA spec. In practice, the entire entity was being read and we just weren't populating the entity. Try running AppStats - though I suspect the deserialization shouldn't be *that* slow. -- Ikai Lan

Re: [appengine-java] Re: Are Text properties still not lazy loaded?

2010-11-11 Thread Ikai Lan (Google)
On Nov 11, 3:56 pm, Ikai Lan (Google) ikai.l+gro...@google.comikai.l%2bgro...@google.com wrote: Text properties were never actually lazy loaded. We only lazy loaded them to match the JDO/JPA spec. In practice, the entire entity was being read and we just weren't populating the entity

Re: [appengine-java] Re: Timeout while deploying

2010-11-12 Thread Ikai Lan (Google)
Do you guys have a sample appengine-web.xml and application IDs? -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Fri, Nov 12, 2010 at 2:00 AM, Didier

Re: [appengine-java] java.lang.ClassNotFoundException

2010-11-12 Thread Ikai Lan (Google)
Your code is probably not being compiled. Can you clean the project and try again? -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Tue, Nov 9, 2010 at

Re: [appengine-java] how to send DataStore Between To Java AppEngine Accounts

2010-11-12 Thread Ikai Lan (Google)
Yes, via the bulkloader: http://code.google.com/appengine/docs/python/tools/uploadingdata.html http://code.google.com/appengine/docs/python/tools/uploadingdata.htmlDownload the data locally, then upload it to the new application. -- Ikai Lan Developer Programs Engineer, Google App Engine

Re: [appengine-java] Re: Can't deploy again despite fix announcement

2010-11-15 Thread Ikai Lan (Google)
Does anyone have a stack trace if an exception is thrown? Will deploy work after a rollback? -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Mon, Nov 15,

Re: [appengine-java] Re: Timeout while deploying

2010-11-15 Thread Ikai Lan (Google)
apps. I hope this helps! //Joakim 2010/11/12 Ikai Lan (Google) ikai.l+gro...@google.com ikai.l%2bgro...@google.com ikai.l%2bgro...@google.com ikai.l%252bgro...@google.com Do you guys have a sample appengine-web.xml and application IDs? -- Ikai Lan Developer

Re: [appengine-java] Re: Can't deploy again despite fix announcement

2010-11-15 Thread Ikai Lan (Google)
://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Mon, Nov 15, 2010 at 3:09 PM, Artem artem...@gmail.com wrote: Here it is: http://paste.pocoo.org/show/291784/ On 11/16/2010 01:29 AM, Ikai Lan (Google) wrote: Does anyone have a stack trace

  1   2   3   4   5   >