Re: [google-appengine] Re: Lock the instance

2010-03-15 Thread Iap
I wonder why there is no need to complete in sequence? FIFO = First in first out. If the resource is limited, people who makes the request first should be serviced first. Just like people go restaurant, buying ticket,...etc. By the way, the sorting is not the point, even randomly consume an item

[google-appengine] Re: Lock the instance

2010-03-15 Thread Stephen
On Mar 15, 9:28 am, Iap iap...@gmail.com wrote: The other suggestion is the transaction. I encountered many exceptions while putting the step 3.2, 3.3 to a transaction. Such as nested transaction is not allowed,Cannot operate on different entity groups,must be an ancestor Because the