<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>Just a note also:</div>
<div><br>
</div>
<div>Taskflow's in a way is event-driven also, a workflow goes through various events and those events cause further actions (state-transitions, notifications, forward-progress).</div>
<div><br>
</div>
<div>I fully expect the <a href="https://review.openstack.org/#/c/63155">https://review.openstack.org/#/c/63155</a> (yes not oslo.messaging, but someday when that library exists) to be more in your idea of event-driven.</div>
<div><br>
</div>
<div>To me u can model an event-driven system using an executor type (but not so much the other-way around); but perhaps it is possible and I can't think of it right now.</div>
<div><br>
</div>
<div>In fact if u look at what guido is doing with tulip [1] u can see a way to connect events to executors/futures to events (slightly similar to taskflows engine+futures).</div>
<div><br>
</div>
<div>I'd really like mistral to get back on using taskflow and helping converge instead of diverge, so lets make it happen :-)</div>
<div><br>
</div>
<div>-Josh</div>
<div><br>
</div>
<div>[1] <a href="http://www.python.org/dev/peps/pep-3156">http://www.python.org/dev/peps/pep-3156</a>/ </div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Renat Akhmerov <<a href="mailto:rakhmerov@mirantis.com">rakhmerov@mirantis.com</a>><br>
<span style="font-weight:bold">Reply-To: </span>"OpenStack Development Mailing List (not for usage questions)" <<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>><br>
<span style="font-weight:bold">Date: </span>Monday, January 27, 2014 at 12:31 PM<br>
<span style="font-weight:bold">To: </span>"OpenStack Development Mailing List (not for usage questions)" <<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [openstack-dev] Mistral + taskflow mini-meetup<br>
</div>
<div><br>
</div>
<div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div>Josh, thanks for sharing this with the community. Just a couple of words as an addition to that..</div>
<div><br>
</div>
<div>The driver for this conversation is that TaskFlow library and Mistral service in many ways do similar things: task processing combined somehow (flow or workflow). However, there’s a number of differences in approaches that the two technologies follow.
Initially, when Mistral’s development phase started about a couple of months ago the team was willing to use TaskFlow at implementation level. Basically, we can potentially represent Mistral tasks as TaskFlow tasks and use TaskFlow API to run them. One of
the problems though is that TaskFlow tasks are basically python methods and hence run synchronously (once we get out of the method the task is considered finished) whereas Mistral is primarily designed to run asynchronous tasks (send a signal to an external
system and start waiting for a result which may arrive minutes or hours later. Mistral is more like event-driven system versus traditional executor architecture. So now Mistral PoC is not using TaskFlow but moving forward we we’d like to try to marry these
two technologies to be more aligned in terms of APIs and feature sets. </div>
<div><br>
</div>
<br>
<div apple-content-edited="true">
<div>Renat Akhmerov</div>
<div>@ Mirantis Inc.</div>
<div><br>
</div>
</div>
<div>
<div>On 27 Jan 2014, at 13:21, Joshua Harlow <<a href="mailto:harlowja@yahoo-inc.com">harlowja@yahoo-inc.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 14px; font-family: Calibri, sans-serif;">
<div>Hi all,</div>
<div><br>
</div>
<div>In order to encourage further discussion off IRC and more in public I'd like to share a etherpad that was worked on during a 'meetup' with some of the mistral folks and me.</div>
<div><br>
</div>
<div><a href="https://etherpad.openstack.org/p/taskflow-mistral-jan-meetup">https://etherpad.openstack.org/p/taskflow-mistral-jan-meetup</a></div>
<div><br>
</div>
<div>It was more of a (mini) in-person meetup but I thought I'd be good to gather some feedback there and let the more general audience see this and ask any questions/feedback/other...</div>
<div><br>
</div>
<div>Some of the key distinctions between taskflow/mistral we talked about and as well other various DSL aspects and some possible action items.</div>
<div><br>
</div>
<div>Feel free to ask questions,</div>
<div><br>
</div>
<div>-Josh</div>
</div>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a 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">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</span>
</body>
</html>