I'm still not entirely clear on what you're trying to do. Why do you need to
sync these requests? If it's a queue of some sort, would the TaskQueue API
help?

http://code.google.com/appengine/docs/python/taskqueue/

2010/1/28 Iap <[email protected]>

> 2010/1/27 Danny Tuppeny <[email protected]>:
> > 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 [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-appengine%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>

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

Reply via email to