Re: [appengine-java] Enter Data using Queues/Task

2010-08-03 Thread Sandeep Ghosh
Hi, Thanx for your reply.But i dont know how to use task/Queues.can u plz send me some example and steps i need to follow. Thanx Sandeep On Mon, Aug 2, 2010 at 7:13 PM, John Patterson wrote: > There is no way around the 30 second limit yet. You must break up your > work into tasks - probably

Re: [appengine-java] Enter Data using Queues/Task

2010-08-02 Thread John Patterson
There is no way around the 30 second limit yet. You must break up your work into tasks - probably start one task for each for each URL. The Deferred library linked to below makes this easy to manage. On 2 Aug 2010, at 23:13, Sandeep Ghosh wrote: Hi, Twig is good but the problem i am

Re: [appengine-java] Enter Data using Queues/Task

2010-08-02 Thread Sandeep Ghosh
Hi, Twig is good but the problem i am facing is that from the browser i am passing a load command as parameter like this *http://localhost:/sbphishlock?load* which tells my code that i need to load the data. now in the logic i have written few logic to process in a loop 1)Reads a csv file

Re: [appengine-java] Enter Data using Queues/Task

2010-07-31 Thread John Patterson
I mean "bulk put" - that is using DatastoreService.put(Iterable) or JDO's makePersistentAll(...) If you do one call with many instances instead of many calls with one instance it will be a lot faster. On 31 Jul 2010, at 14:49, Sandeep Ghosh wrote: Hi, can i do bulk load in Java. Can you

Re: [appengine-java] Enter Data using Queues/Task

2010-07-31 Thread Sandeep Ghosh
Hi, can i do bulk load in Java. Can you Please give me a sample code. Thanx Sandeep On Fri, Jul 30, 2010 at 6:22 PM, John Patterson wrote: > > On 30 Jul 2010, at 18:10, Sandeep Ghosh wrote: > > Hi, >> I am facing promlem of entering many data into the Google App >> engine database as its taki

Re: [appengine-java] Enter Data using Queues/Task

2010-07-30 Thread John Patterson
On 30 Jul 2010, at 18:10, Sandeep Ghosh wrote: Hi, I am facing promlem of entering many data into the Google App engine database as its taking more then 30 sec time limit. PersistenceManager pm = PMF.get().getPersistenceManager(); for(;;) { EnterData data = new EnterData(key,value,new Text(t

[appengine-java] Enter Data using Queues/Task

2010-07-30 Thread Sandeep Ghosh
Hi, I am facing promlem of entering many data into the Google App engine database as its taking more then 30 sec time limit. PersistenceManager pm = PMF.get().getPersistenceManager(); for(;;) { EnterData data = new EnterData(key,value,new Text(totaData));// EnterData is my class Entity pm.makeP