[openstack-dev] [nova][keystone] Message Queue Security

Simo Sorce simo at redhat.com
Thu Apr 25 20:15:07 UTC 2013


On Thu, 2013-04-25 at 19:39 +0000, Joshua Harlow wrote:
> Except there is concurrency, eventlet just makes it 'appear' that there
> isn't.
> 
> Right now any blocking operation will cause a context-switch, think of
> that as the trigger to cause said context-switch.
> 
> In regular process schedulers there is just a different trigger that the
> operating system uses.
> 
> So to me we already have concurrency (not for simple int operations of
> course), its just sorta ghetto :-P

Well correct me if I am wrong, but eventlet is a single process, system
w/o threads, so things may intermix but python calls do not race due to
the GIL.

I may be wrong on that, but it was my understanding.

Simo.

-- 
Simo Sorce * Red Hat, Inc * New York




More information about the OpenStack-dev mailing list