[appengine-java] Re: The *real* cost of the billing changes

2011-09-10 Thread gk
Users who need a highly predictable bill could pre-allocate X resources for $ ("special deal" like $9 / month). It tells the supplier: produce this much at a given future date for the now agreed price. Supplier profits from planing stability, buyer profits from price and supply stability. Incentiv

[appengine-java] Help: Memcache - not hitting at all

2011-09-10 Thread realdope
Hi, I have a Memcache wrapper class with a set of public static methods for getting and setting application-specific key:value pairs. They use a set of private static methods defined here: private static boolean has(String key) { return MemcacheServiceFactory.getMemcacheService().

Re: [appengine-java] Re: The *real* cost of the billing changes

2011-09-10 Thread Jeff Schnitzer
Amazon does something like this for its excess capacity: http://aws.amazon.com/ec2/spot-instances/ ...but it's just for excess capacity. I wouldn't want this kind of behavior for my core usage because it would make my bill highly unpredictable. And it does not incentivize Google to add more res

[appengine-java] Re: The *real* cost of the billing changes

2011-09-10 Thread gk
Pricing should be as follows: Calculate a price of resources using the demand / availability of those resources in the cloud: - if Google has more of resource X than users demand, the price for that resource would go down and free quota up. - if users demand more of resource X than Google has, th

[appengine-java] Changing the gae.parent-pk of an existing persistent class

2011-09-10 Thread Luis
Hi there, We already have a persistent class with lots of instances in the datastore. This class has now an attribute set as gae.parent-pk. We now need to change the attribute that must be the gae.parent-pk. Has anyone done this before? Are we to face any issue if we make this change? We don

Re: [appengine-java] Re: Object with id "com.google.appengine.api.datastore.Key:AgentP(9)" is managed by a different Object Manager

2011-09-10 Thread Manvel Saroyan
O thanks that was the problem I was using the same pm... It was declarec as field, I changed the method: @Override public List getClientData(MyPersistance filterClass) { // TODO Auto-generated method stub PersistenceManager pm = getPersistenceManagerFactory().getPersistenceManager(); Query cli

[appengine-java] Re: Asynchronous sessions enabled and deferred task error - ClassNotFoundException

2011-09-10 Thread gk
Star this issue: http://code.google.com/p/googleappengine/issues/detail?id=5774 -- 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-java@googlegroups.com. To unsubscribe from this g

[appengine-java] Re: Asynchronous sessions enabled and deferred task error - ClassNotFoundException

2011-09-10 Thread Francois Masurel
Same for me. Just disabled async sessions for the moment. Francois -- 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/-/EPU9LgaFN-YJ. To

[appengine-java] Re: Object with id "com.google.appengine.api.datastore.Key:AgentP(9)" is managed by a different Object Manager

2011-09-10 Thread datanucleus
and pm variable is defined where? one per thread? -- 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-java@googlegroups.com. To unsubscribe from this group, send email to google-ap

[appengine-java] Object with id "com.google.appengine.api.datastore.Key:AgentP(9)" is managed by a different Object Manager

2011-09-10 Thread Manvel Saroyan
Hi, I have this Method(server side) Which I call Asynchronously (RPC) I'm Using GWT and GAE: @Override public List getClientData(MyPersistance filterClass) { // TODO Auto-generated method stub pm = getPersistenceManagerFactory().getPersistenceManager(); Query clientQ = pm.newQuery(filterClass.ge

Re: [appengine-java] Re: Loading requests timeout with DeadlineExceededException while reading classes

2011-09-10 Thread John Patterson
I have started getting deadlock exceptions thrown from code that uses Guavas ConcurrentHashMap http://code.google.com/p/googleappengine/issues/detail?id=5384 Aside from this problem, loading requests frequently seem to block on something (resource access?). Normally they complete in 5-8 second