Re: [appengine-java] Re: .A research: how long will your java app instance start up fully?

2011-10-03 Thread Wilson MacGyver
10ms? surely that's a mistake. I've not even see that type of instance startup time for gae-go. On Sun, Oct 2, 2011 at 4:20 PM, Miroslav Genov mge...@gmail.com wrote: ~10ms (Guice + twig-persist) -- Omnem crede diem tibi diluxisse supremum. -- You received this message because you are

[appengine-java] datastore - order by query in a many to many model

2011-10-03 Thread gabriel munteanu
Hi, I have the following model [pseudo code]: db.Model(podcast, { name: StringProperty, description: TextProperty, homePageURL: StringProperty, addedDate: DateProperty }); db.Model(category, { name: StringProperty, podcastsNumber: IntegerProperty }); db.Model(podcastcategory,

[appengine-java] Re: Error after deploying the application in appspot

2011-10-03 Thread Sudhakar Abraham
Compile your project in eclipse, upload entire war directory of your project into google app engine. Try these steps. step 1: Go to Google App engine sdk directory through command prompt Ex: Your _extracted _app engine _directory \GoogleAppEngine\appengine-java-sdk-1.5.0.1\bin

[appengine-java] Re: Storing query results in memcache

2011-10-03 Thread nicanor.babula
Thanks for your help. I'll go with Ian's suggestion, storing arrays in the memcache. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit

[appengine-java] DB API read Quota vs. sessions-enabled true

2011-10-03 Thread Peter Dev
sessions-enabledtrue/sessions-enabled App Engine stores session data in the datastore and memcache, all values stored in the session must implement the java.io.Serializable interface. in java session.getAttribute(XY) calls Datastore API READ if data in Memcache not found? (free limit

[appengine-java] Re: GAE - Vote counting system

2011-10-03 Thread Mat Jaggard
Jeff - I'm a bit confused. I thought that the whole idea of the datastore was that you could read or write as much as you want, as fast as you want as long as they are not related? So one datastore write per vote (and being written to different entity groups) should be fine? I thought that the

[appengine-java] HPC in the Google app engine

2011-10-03 Thread jbcolmena
Hi, I'm developing an application which requires high performance computing. I wrote a program to test the algorithm in fortran2003 using OpenMP. I'm migrating it to Java, and I think that the google app engine would be a great place to put it, but I have a few questions about the performance

[appengine-java] How to remove JAR files from lib folder in eclipse?

2011-10-03 Thread tempy
Hello all, I'm trying to get rid of unnecessary JARs in my project, as I don't use any ORMs a lot of stuff can go. However, when I do that I get errors from the eclipse plugin saying The App Engine SDK JAR datanucleus-appengine-1.0.9.final.jar is missing in the WEB-INF/lib directoryand so

[appengine-java] Access BlobStore Programmatically

2011-10-03 Thread Bruno Sandivilli
Hi, is there anyway to put a file on blobstore, programatically? I have to upload a file to the server, but i want to have some methods in the UploadServlet, specifically to check the progress of the file, can anyone help me? thanks P.S.: Im using Java. -- You received this message because you

Re: [appengine-java] Re: HELP PLEASE! Bug!

2011-10-03 Thread Bruno Sandivilli
Yeah, but its strange, this is the error i'm seeing in the production mode, and in the develpoment mode is different as i said in the message. Im using the newer versoin of both jdk and jre, appengine and gwt. Bu its x64. 2011/10/1 Francois Masurel f.masu...@gmail.com Hi Bruno, I don't think

Re: [appengine-java] Re: GAE - Vote counting system

2011-10-03 Thread Jeff Schnitzer
On Mon, Oct 3, 2011 at 9:24 AM, Mat Jaggard matjagg...@gmail.com wrote: Jeff - I'm a bit confused. I thought that the whole idea of the datastore was that you could read or write as much as you want, as fast as you want as long as they are not related? So one datastore write per vote (and

[appengine-java] Prerelease SDK 1.5.5 available for download!

2011-10-03 Thread Ikai Lan (Google)
Hey everyone, Prerelease SDK 1.5.5 is now available for download! You can get it here: Python: http://code.google.com/p/googleappengine/downloads/detail?name=google_appengine_prerelease-1.5.5.zip Java:

[appengine-java] Re: Prerelease SDK 1.5.5 available for download!

2011-10-03 Thread Jay Young
Holy crap! -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/sGNjx_rosygJ. To post to this group, send email to

Re: [appengine-java] Re: Prerelease SDK 1.5.5 available for download!

2011-10-03 Thread Gal Dolber
As Jay said... Holy crap! I knew something good was coming after the price-up. Amazing release! thanks! On Mon, Oct 3, 2011 at 4:55 PM, Jay Young jayyoung9...@gmail.com wrote: Holy crap! -- You received this message because you are subscribed to the Google Groups Google App Engine for Java

Re: [appengine-java] Howto return all values stored in memcache?

2011-10-03 Thread Bruno Fuster
I don't think so. You could create a key with all entities ids that need to be updated. Something like: public void saveEntity() { cache.put(key, entity); queue.add(withUrl(/entitiesToUpdate?id=+entity.getId())); } and then public void entitiesToUpdate(Long id) {

[appengine-java] Re: Blobstore and upload question

2011-10-03 Thread GeorgeS
I started testing with other browsers and noticed a problem. All of the current crop of browsers seems to work fine on my upload using a standard looking GWT form but IE8 uploads, the onSubmitComplete fires and regardless of what I do IE hangs up. Since IE8 has around 12% of the browser market

[appengine-java] Re: Howto return all values stored in memcache?

2011-10-03 Thread mscwd01
That's a shame, it's a real disadvantage not having that simple functionality. Thanks for your example, although I found it a little difficult to understand it completely. Are you suggesting having an entry in the cache with a key string allKeys which maps to a List of keys belonging to all the

[appengine-java] Re: Howto return all values stored in memcache?

2011-10-03 Thread mscwd01
Never mind, after realising you were using the low level MemcacheService all makes sense :) I shall probably try and use this strategy, thanks! On Oct 3, 10:29 pm, mscwd01 mscw...@gmail.com wrote: That's a shame, it's a real disadvantage not having that simple functionality. Thanks for your

Re: [appengine-java] Re: Howto return all values stored in memcache?

2011-10-03 Thread Bruno Fuster
Yes. You need to do some research, there might be another solutions. I don't think that returning all cached keys is that simple. putIfUntouched is used to update your value atomically. Why don't you update each single entity in a task queue after putting it into the cache ? Anyway, can't

[appengine-java] Re: Prerelease SDK 1.5.5 available for download!

2011-10-03 Thread Simon Knott
Wow, great job! -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/_i2OYZoqR_UJ. To post to this group, send email to

Re: [appengine-java] Re: Prerelease SDK 1.5.5 available for download!

2011-10-03 Thread Bruno Fuster
Congrats! Awesome job! On Mon, Oct 3, 2011 at 6:47 PM, Simon Knott knott.si...@gmail.com wrote: Wow, great job! -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit

Re: [appengine-java] Re: Howto return all values stored in memcache?

2011-10-03 Thread Ikai Lan (Google)
The publicly available Memcache doesn't have this functionality either, and it's really not as simple as you might think. What if there's a lot of data? Do you need a cursor? Should you lock all Memcache shards? And so forth. If you're interested in a project that does something similar, you

Re: [appengine-java] Re: Howto return all values stored in memcache?

2011-10-03 Thread Bruno Fuster
You wont be able to run Redis on AppEngine. You can use AppScale though. http://appscale.cs.ucsb.edu/datastores.html#redis The only thing is that Redis only replicates master-slave by now, so you got a single point of failure. On Mon, Oct 3, 2011 at 7:11 PM, mscwd01 mscw...@gmail.com wrote:

Re: [appengine-java] Gmail IMAP Access

2011-10-03 Thread Ikai Lan (Google)
Nope, because we don't have socket support yet. Socket support isn't on our roadmap, but it's something we've been thinking about to support these use cases: http://code.google.com/appengine/docs/roadmap.html -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com |

Re: [appengine-java] datastore - order by query in a many to many model

2011-10-03 Thread Ikai Lan (Google)
Hi Gabriel, Ah, you're hitting the first bump in learning to think non-relationally. Rather than creating 3 models, what about creating a List of categories for each Podcast and just storing that on the podcast? The tradeoff is that it won't be easy to rename a podcast category, but that

[appengine-java] Re: Howto return all values stored in memcache?

2011-10-03 Thread mscwd01
Thanks Ikai, if I were to get Redis working on App Engine would it work across multiple instances if it's all held in memory? Regardless, people must be using the memcache to cache data before persisting updates to the datastore, how is everyone else achieving this? On Oct 3, 10:56 pm, Ikai Lan

Re: [appengine-java] Re: Howto return all values stored in memcache?

2011-10-03 Thread Bruno Fuster
@mscwd01 You can't be sure when the cache will be evicted. You can define an expiration, but appengine may flush your cache at any moment (its not that common though). So, IMHO, always write your entities into the datastore as they get updated. Put them into the cache and only get back to the

Re: [appengine-java] Re: Howto return all values stored in memcache?

2011-10-03 Thread Ikai Lan (Google)
Yeah, Redis won't work in App Engine. I was just citing it as an example of something that was designed closer to the use you were looking for (as opposed to memcache). -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Mon, Oct 3, 2011 at 3:18

[appengine-java] Re: Prerelease SDK 1.5.5 available for download!

2011-10-03 Thread Roberto Saccon
Question about Google Storage for Developers directly from App Engine. can we just reach the developers account or could we reach the Google Storage from a logged in user (who has O-auth-orized the access) ?? -- Roberto -- You received this message because you are subscribed to the Google

[appengine-java] Quick way to delete datastore entities?

2011-10-03 Thread J
Due to the upcoming pricing change, I'm making changes to my app to reduce costs. One of the changes involves no longer storing a particular type of entity. My question: Is there a quick/easy way to delete all entities of a particular kind? In other words, I don't need that entity

[appengine-java] Re: Quick way to delete datastore entities?

2011-10-03 Thread Gerald Tan
I believe you can do it from Datastore Admin, pretty sure I've done that before. That page seems blank to me atm though, weird. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit

[appengine-java] Re: Prerelease SDK 1.5.5 available for download!

2011-10-03 Thread Mike!
Wow! I was just starting to investigate other alternatives to GAE since I need to have customers upload multiple files and though the 32Mb is fine per request, 30 seconds might be too short for a slow internet connection. The ability to write to the storage, 60 second request and the migration