<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_1_1415922658376_24089" dir="ltr"><span id="yui_3_16_0_1_1415922658376_24088">Don't forget my executor which isn't dependent on a larger set of changes for asyncio/trollious...</span></div><div id="yui_3_16_0_1_1415922658376_24090" dir="ltr"><br><span></span></div><div id="yui_3_16_0_1_1415922658376_24091" dir="ltr"><span id="yui_3_16_0_1_1415922658376_24105"><a id="yui_3_16_0_1_1415922658376_24104" href="https://review.openstack.org/#/c/70914/">https://review.openstack.org/#/c/70914/</a></span></div><div id="yui_3_16_0_1_1415922658376_24100"><br></div><div id="yui_3_16_0_1_1415922658376_24101" dir="ltr">The above will/should just 'work', although I'm unsure what thread count should be by default (the number of green threads that is set at like 200 shouldn't be the same number used in that executor which uses real python/system threads). The neat thing about that executor is that it can also replace the eventlet one, since when eventlet is monkey patching the threading module (which it should be) then it should behave just as the existing eventlet one; which IMHO is pretty cool (and could be one way to completely remove the eventlet usage in oslo.messaging).<br></div><div id="yui_3_16_0_1_1415922658376_24103"><br></div><div id="yui_3_16_0_1_1415922658376_24146" dir="ltr">As for the kombu discussions, maybe its time to jump on the #celery channel (where the kombu folks hang out) and start talking to them about how we can work better together to move some of our features into kombu (and also depreciate/remove some of the oslo.messaging features that now are in kombu). I believe <a id="yui_3_16_0_1_1415922658376_24176" href="https://launchpad.net/~asksol">https://launchpad.net/~asksol</a> is the main guy there (and also the main maintainer of celery/kombu?). It'd be nice to have these cross-community talks and at least come up with some kind of game plan; hopefully one that benefits both communities...<br></div><div id="yui_3_16_0_1_1415922658376_24147" dir="ltr"><br></div><div id="yui_3_16_0_1_1415922658376_24177" dir="ltr">-Josh</div><div id="yui_3_16_0_1_1415922658376_24192" dir="ltr"><br><a href="https://launchpad.net/~asksol"></a></div><div id="yui_3_16_0_1_1415922658376_23985" style="font-family: HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div id="yui_3_16_0_1_1415922658376_23984" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"> <hr size="1">  <font face="Arial" size="2"> <b><span style="font-weight:bold;">From:</span></b> Doug Hellmann <doug@doughellmann.com><br> <b><span style="font-weight: bold;">To:</span></b> OpenStack Development Mailing List (not for usage questions) <openstack-dev@lists.openstack.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Wednesday, November 12, 2014 12:22 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> [openstack-dev] [oslo] oslo.messaging outcome from the summit<br> </font> </div> <div id="yui_3_16_0_1_1415922658376_23983" class="y_msg_container"><br>The oslo.messaging session at the summit [1] resulted in some plans to evolve how oslo.messaging works, but probably not during this cycle.<br><br>First, we talked about what to do about the various drivers like ZeroMQ and the new AMQP 1.0 driver. We decided that rather than moving those out of the main tree and packaging them separately, we would keep them all in the main repository to encourage the driver authors to help out with the core library (oslo.messaging is a critical component of OpenStack, and we’ve lost several of our core reviewers for the library to other priorities recently).<br><br>There is a new set of contributors interested in maintaining the ZeroMQ driver, and they are going to work together to review each other’s patches. We will re-evaluate keeping ZeroMQ at the end of Kilo, based on how things go this cycle.<br><br>We also talked about the fact that the new version of Kombu includes some of the features we have implemented in our own driver, like heartbeats and connection management. Kombu does not include the calling patterns (cast/call/notifications) that we have in oslo.messaging, but we may be able to remove some code from our driver and consolidate the qpid and rabbit driver code to let Kombu do more of the work for us.<br><br>Python 3 support is coming slowly. There are a couple of patches up for review to provide a different sort of executor based on greenio and trollius. Adopting that would require some application-level changes to use co-routines, so it may not be an optimal solution even though it would get us off of eventlet. (During the Python 3 session later in the week we talked about the possibility of fixing eventlet’s monkey-patching to allow us to use the new eventlet under python 3.)<br><br>We also talked about the way the oslo.messaging API uses URLs to get some settings and configuration options for others. I thought I remembered this being a conscious decision to pass connection-specific parameters in the URL, and “global” parameters via configuration settings. It sounds like that split may not have been implemented as cleanly as originally intended, though. We identified documenting URL parameters as an issue for removing the configuration object, as well as backwards-compatibility. I don’t think we agreed on any specific changes to the API based on this part of the discussion, but please correct me if your recollection is different.<br><br>We also learned that there is a critical bug [2] related to heartbeats for RabbitMQ, and we have a few patches up to propose fixes in different ways (see the bottom of [1]). This highlighted again the fact that we have a shortage of reviewers for oslo.messaging.<br><br>Doug<br><br>[1] <a href="https://etherpad.openstack.org/p/kilo-oslo-oslo.messaging" target="_blank">https://etherpad.openstack.org/p/kilo-oslo-oslo.messaging</a><br>[2] <a href="https://bugs.launchpad.net/nova/+bug/856764" target="_blank">https://bugs.launchpad.net/nova/+bug/856764</a><br><br><br>_______________________________________________<br>OpenStack-dev mailing list<br><a ymailto="mailto:OpenStack-dev@lists.openstack.org" href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br><br></div> </div> </div>  </div></body></html>