2010/1/27 Danny Tuppeny <da...@tuppeny.com>:
> What is it you're trying to do? Deliberately causing your requests to
> block each other doesn't sound very scalable. Also, sleeping for only
> 1 millisecond will likely eat a ton of CPU while it spins waiting for
> the lock.

I think that "Lock" is essential for IPC, as well as
Inter-Request-Communication.
I set up a queue in the memcache.
And I have 2 process to update the queue.
One for production, the other for consuming.
I hope to sync these two processes (requests).
(The queue is not persistent, it is not worth to be stored in the datastore.
Also it is for performance. I have known that the memcache can be out of date.
It is not the issue for me.)

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

Reply via email to