[appengine-java] Switching a collection of Key in an existing object from a List to a Set

2010-11-18 Thread OdysseyFX
I have some jdo objects with many to many unowned relationships in the
datastore already. This was done with ListKey and I have many objects
already persisted in the datastore. I want to switch this Key
collection to SetKey in the object however I'm not sure how the
datastore will respond to that. Is the datanucleus implementation
storing the data in a more abstract Collection manner and then simply
building a List or Set each time and populating it, or is it more of
a once a Set always a Set situation?


Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: App Engine Really Slow after certain time of no requests

2010-11-11 Thread OdysseyFX
I definitely experience this problem to. I have a cron job that runs
every 15 minutes to alleviate the problem but it annoys me.

On Nov 11, 12:48 pm, GeneralSlaine lennart.ben...@gmail.com wrote:
 Hi all,

 I have had a number of performance issues on initial loading of my app
 engine application. Part of it is already solved by using Caching.
 However, my application is still very slow when first loading a
 servlet after a certain amount of time of inactivity (I think about 1
 minute).

 After this period of inactivity it takes from 3 to 6 seconds to load.
 Next requests take typically 400 MS.

 The initial load time is not acceptable for the actual application.
 Anyone any experience with this? How can I avoid this?

 I already considered implementing following solutions to keep
 application / servlet in memory
 1/ call application every minute from external application
 2/ setup a cron job performing a request every minute to actual
 servlet

 I think both are a solution but honestly not my preferred solution as
 I expect performance from this platform.

 BRL

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] How to Truncate a Datastore?

2010-05-04 Thread OdysseyFX
I recently imported a bunch of data into my datastore and realized
there was a critical flaw that makes me need to re-import.  What is
the best way to essentially perform a truncation of the datastore?

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.