Re: [openstack-dev] [magnum] Magnum conductor async container operations

2015-12-17 Thread Joshua Harlow
SURO wrote: Josh, Please find my reply inline. Regards, SURO irc//freenode: suro-patz On 12/16/15 6:37 PM, Joshua Harlow wrote: SURO wrote: Hi all, Please review and provide feedback on the following design proposal for implementing the blueprint[1] on async-container-operations - 1.

Re: [openstack-dev] [magnum] Magnum conductor async container operations

2015-12-17 Thread Hongbin Lu
-dev] [magnum] Magnum conductor async container operations > On Dec 16, 2015, at 6:24 PM, Joshua Harlow <harlo...@fastmail.com> wrote: > > SURO wrote: >> Hi all, >> Please review and provide feedback on the following design proposal >> for implementing th

Re: [openstack-dev] [magnum] Magnum conductor async container operations

2015-12-17 Thread SURO
drian Otto [mailto:adrian.o...@rackspace.com] Sent: December-16-15 10:20 PM To: OpenStack Development Mailing List (not for usage questions) Cc: s...@yahoo-inc.com Subject: Re: [openstack-dev] [magnum] Magnum conductor async container operations On Dec 16, 2015, at 6:24 PM, Joshua Harlow <harlo...

Re: [openstack-dev] [magnum] Magnum conductor async container operations

2015-12-17 Thread SURO
Josh, Thanks for bringing up this discussion. Modulo-hashing introduces a possibility for 'window of inconsistency', and to address the dynamism 'consistent hashing' is better. BUT, for the problem in hand I think modulo hashing is good enough, as number of worker instances for conductor in

Re: [openstack-dev] [magnum] Magnum conductor async container operations

2015-12-17 Thread SURO
Josh, You pointed out correct! magnum-conductor has monkey-patched code, so the underlying thread module is actually using greenthread. - I would use eventlet.greenthread explicitly, as that would enhance the readability - greenthread has a potential of not yielding by itself, if no i/o,

Re: [openstack-dev] [magnum] Magnum conductor async container operations

2015-12-16 Thread SURO
Please find the reply inline. Regards, SURO irc//freenode: suro-patz On 12/16/15 7:19 PM, Adrian Otto wrote: On Dec 16, 2015, at 6:24 PM, Joshua Harlow wrote: SURO wrote: Hi all, Please review and provide feedback on the following design proposal for implementing the

[openstack-dev] [magnum] Magnum conductor async container operations

2015-12-16 Thread SURO
Hi all, Please review and provide feedback on the following design proposal for implementing the blueprint[1] on async-container-operations - 1. Magnum-conductor would have a pool of threads for executing the container operations, viz. executor_threadpool. The size of the executor_threadpool

Re: [openstack-dev] [magnum] Magnum conductor async container operations

2015-12-16 Thread Joshua Harlow
SURO wrote: Hi all, Please review and provide feedback on the following design proposal for implementing the blueprint[1] on async-container-operations - 1. Magnum-conductor would have a pool of threads for executing the container operations, viz. executor_threadpool. The size of the

Re: [openstack-dev] [magnum] Magnum conductor async container operations

2015-12-16 Thread Adrian Otto
> On Dec 16, 2015, at 6:24 PM, Joshua Harlow wrote: > > SURO wrote: >> Hi all, >> Please review and provide feedback on the following design proposal for >> implementing the blueprint[1] on async-container-operations - >> >> 1. Magnum-conductor would have a pool of

Re: [openstack-dev] [magnum] Magnum conductor async container operations

2015-12-16 Thread Joshua Harlow
SURO wrote: Hi all, Please review and provide feedback on the following design proposal for implementing the blueprint[1] on async-container-operations - 1. Magnum-conductor would have a pool of threads for executing the container operations, viz. executor_threadpool. The size of the

Re: [openstack-dev] [magnum] Magnum conductor async container operations

2015-12-16 Thread SURO
On 12/16/15 11:39 PM, Joshua Harlow wrote: SURO wrote: Please find the reply inline. Regards, SURO irc//freenode: suro-patz On 12/16/15 7:19 PM, Adrian Otto wrote: On Dec 16, 2015, at 6:24 PM, Joshua Harlow wrote: SURO wrote: Hi all, Please review and provide

Re: [openstack-dev] [magnum] Magnum conductor async container operations

2015-12-16 Thread Joshua Harlow
SURO wrote: Please find the reply inline. Regards, SURO irc//freenode: suro-patz On 12/16/15 7:19 PM, Adrian Otto wrote: On Dec 16, 2015, at 6:24 PM, Joshua Harlow wrote: SURO wrote: Hi all, Please review and provide feedback on the following design proposal for

Re: [openstack-dev] [magnum] Magnum conductor async container operations

2015-12-16 Thread SURO
Josh, Please find my reply inline. Regards, SURO irc//freenode: suro-patz On 12/16/15 6:37 PM, Joshua Harlow wrote: SURO wrote: Hi all, Please review and provide feedback on the following design proposal for implementing the blueprint[1] on async-container-operations - 1. Magnum-conductor