<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div name="messageBodySection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;">Hi Oslo Team,
<div><br /></div>
<div>Can we retain “blocking” executor for now in Oslo Messaging?</div>
<div><br /></div>
<div><br /></div>
<div>Some background..</div>
<div><br /></div>
<div>For a while we had to use Oslo Messaging with “blocking” executor in Mistral because of incompatibility of MySQL driver with green threads when choosing “eventlet” executor. Under certain conditions we would get deadlocks between green threads. Some time ago we switched to using PyMysql driver which is eventlet friendly and did a number of tests that showed that we could safely switch to “eventlet” executor (with that driver) so we introduced a new option in Mistral where we could choose an executor in Oslo Messaging. The corresponding bug is [1].</div>
<div><br /></div>
<div>The issue is that we recently found that not everything actually works as expected when using combination PyMysql + “eventlet” executor. We also tried “threading” executor and the system <b>seems</b> to work with it but surprisingly performance is much worse.</div>
<div><br /></div>
<div>Given all of that we’d like to ask Oslo Team not to remove “blocking” executor for now completely, if that’s possible. We have a strong motivation to switch to “eventlet” for other reasons (parallelism => better performance etc.) but seems like we need some time to make it smoothly.</div>
<div><br /></div>
<div><br /></div>
<div>[1] <a href="https://bugs.launchpad.net/mistral/+bug/1696469">https://bugs.launchpad.net/mistral/+bug/1696469</a><br /></div>
<div><br /></div>
</div>
<div name="messageSignatureSection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;"><br />
Thanks<br />
<br />
Renat Akhmerov<br />
@Nokia</div>
</body>
</html>