<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/taskflow.git/taskflow/utils/eventlet_utils.py, branch 0.7.1</title>
<subtitle>opendev.org: openstack/taskflow.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/taskflow.git/'/>
<entry>
<title>Use importutils.try_import for optional eventlet imports</title>
<updated>2015-01-25T19:10:14+00:00</updated>
<author>
<name>Joshua Harlow</name>
<email>harlowja@gmail.com</email>
</author>
<published>2015-01-25T19:08:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/taskflow.git/commit/?id=97797abb518f6b73f4165206bac73e770f4d1aa3'/>
<id>97797abb518f6b73f4165206bac73e770f4d1aa3</id>
<content type='text'>
Instead of doing try: except ImportError for eventlet imports
use the oslo.utils importutils.try_import function that safely
does the same with less verbosity for the optional usage of
eventlet imports/code that we have.

Change-Id: I7eaa7c5908ffb04282892c9f6af04044b73f4f8c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of doing try: except ImportError for eventlet imports
use the oslo.utils importutils.try_import function that safely
does the same with less verbosity for the optional usage of
eventlet imports/code that we have.

Change-Id: I7eaa7c5908ffb04282892c9f6af04044b73f4f8c
</pre>
</div>
</content>
</entry>
<entry>
<title>Add back a 'eventlet_utils' helper utility module</title>
<updated>2015-01-16T19:51:04+00:00</updated>
<author>
<name>Joshua Harlow</name>
<email>harlowja@gmail.com</email>
</author>
<published>2015-01-11T08:15:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/taskflow.git/commit/?id=d92c226fe2d4a4fc402b96354da29dcc22a25574'/>
<id>d92c226fe2d4a4fc402b96354da29dcc22a25574</id>
<content type='text'>
Recreate a very simple eventlet utility module that
has only a few features; one function checks if eventlet is
available and if not raise an exception; and a constant that
can be used by calling code (such as tests or other optional
functionality) to check if eventlet is useable before
proceeding.

Change-Id: I32df0702eeae7c7c78972c9796156dd824b2f123
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Recreate a very simple eventlet utility module that
has only a few features; one function checks if eventlet is
available and if not raise an exception; and a constant that
can be used by calling code (such as tests or other optional
functionality) to check if eventlet is useable before
proceeding.

Change-Id: I32df0702eeae7c7c78972c9796156dd824b2f123
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a futures type that can unify our future functionality</title>
<updated>2014-10-19T03:21:48+00:00</updated>
<author>
<name>Joshua Harlow</name>
<email>harlowja@gmail.com</email>
</author>
<published>2014-08-24T03:09:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/taskflow.git/commit/?id=b014fc7d48969bd6812a11a5a0342c9324108876'/>
<id>b014fc7d48969bd6812a11a5a0342c9324108876</id>
<content type='text'>
Move the currently existing green future executor and associated
code to a new futures types module so that it can be accessed from
this new location (TODO: deprecate the old location and link the
old to the new for one release so that we can remove the old link
in N + 1 release).

This unifies the API that the existing pool (thread or process) future
executors and the green thread pool future executor, and the newly added
synchronous executor (replacing the previous `make_completed_future`
function) provide so there usage is as seamless as possible.

Part of blueprint top-level-types

Change-Id: Ie5500eaa7f4425edb604b2dd13a15f82909a673b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move the currently existing green future executor and associated
code to a new futures types module so that it can be accessed from
this new location (TODO: deprecate the old location and link the
old to the new for one release so that we can remove the old link
in N + 1 release).

This unifies the API that the existing pool (thread or process) future
executors and the green thread pool future executor, and the newly added
synchronous executor (replacing the previous `make_completed_future`
function) provide so there usage is as seamless as possible.

Part of blueprint top-level-types

Change-Id: Ie5500eaa7f4425edb604b2dd13a15f82909a673b
</pre>
</div>
</content>
</entry>
<entry>
<title>Bring in a newer optional eventlet</title>
<updated>2014-09-27T21:50:44+00:00</updated>
<author>
<name>Joshua Harlow</name>
<email>harlowja@yahoo-inc.com</email>
</author>
<published>2014-09-04T01:17:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/taskflow.git/commit/?id=7640b09250da85271bf69a0e6553be699b195066'/>
<id>7640b09250da85271bf69a0e6553be699b195066</id>
<content type='text'>
Since the openstack requirements repo just accepted eventlet&gt;=0.15.1
we might as well also use that version in our optional requirements
and remove a piece of code that was dealing with a bug that was fixed
in eventlet 0.15.

Change-Id: I9b4f9061c7adb7d72315315f41bb0d742b6f56b5
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since the openstack requirements repo just accepted eventlet&gt;=0.15.1
we might as well also use that version in our optional requirements
and remove a piece of code that was dealing with a bug that was fixed
in eventlet 0.15.

Change-Id: I9b4f9061c7adb7d72315315f41bb0d742b6f56b5
</pre>
</div>
</content>
</entry>
<entry>
<title>Make greenexecutor not keep greenthreads active</title>
<updated>2014-07-10T03:22:49+00:00</updated>
<author>
<name>Joshua Harlow</name>
<email>harlowja@yahoo-inc.com</email>
</author>
<published>2014-07-09T20:57:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/taskflow.git/commit/?id=0fae765bdce19e1ea8c567f7ea7d530f43390b98'/>
<id>0fae765bdce19e1ea8c567f7ea7d530f43390b98</id>
<content type='text'>
Instead of keeping all greenthreads active even
if they are not being used only keep the greenthreads
active if there exists active work to complete.

This saves resources (each greenthread takes up
memory) and allows a pool to shrink and grow in
a more dynamic fashion.

Fixes bug 1339406

Change-Id: Idc8ab8447045915a0ffbaf21fa5c4bdb7a9e3593
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of keeping all greenthreads active even
if they are not being used only keep the greenthreads
active if there exists active work to complete.

This saves resources (each greenthread takes up
memory) and allows a pool to shrink and grow in
a more dynamic fashion.

Fixes bug 1339406

Change-Id: Idc8ab8447045915a0ffbaf21fa5c4bdb7a9e3593
</pre>
</div>
</content>
</entry>
<entry>
<title>Use futures wait() when possible</title>
<updated>2014-05-15T03:24:03+00:00</updated>
<author>
<name>Joshua Harlow</name>
<email>harlowja@yahoo-inc.com</email>
</author>
<published>2014-05-11T16:12:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/taskflow.git/commit/?id=7655ae02ce07f53b1611983d8988552bb4f71bd6'/>
<id>7655ae02ce07f53b1611983d8988552bb4f71bd6</id>
<content type='text'>
Instead of always using our custom future wait
functionality, only use that functionality if there
are green futures and in other cases just use the
future wait() function instead.

Change-Id: I1eadcf53eb4b5f47b9543965610bfe04fec52e70
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of always using our custom future wait
functionality, only use that functionality if there
are green futures and in other cases just use the
future wait() function instead.

Change-Id: I1eadcf53eb4b5f47b9543965610bfe04fec52e70
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove extraneous vim configuration comments</title>
<updated>2014-02-14T08:56:50+00:00</updated>
<author>
<name>yangxurong</name>
<email>yangxurong@huawei.com</email>
</author>
<published>2014-02-14T08:55:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/taskflow.git/commit/?id=17bf3db06ae2ff236fe3b333de9520b1e31bf257'/>
<id>17bf3db06ae2ff236fe3b333de9520b1e31bf257</id>
<content type='text'>
Remove line containing

comment - # vim: tabstop=4 shiftwidth=4 softtabstop=4

Change-Id: I7581cc88b8de433d5609ed06c6570b0b45c13573
Closes-Bug:#1229324
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove line containing

comment - # vim: tabstop=4 shiftwidth=4 softtabstop=4

Change-Id: I7581cc88b8de433d5609ed06c6570b0b45c13573
Closes-Bug:#1229324
</pre>
</div>
</content>
</entry>
<entry>
<title>Move async utils to own file</title>
<updated>2013-12-21T07:38:34+00:00</updated>
<author>
<name>Joshua Harlow</name>
<email>harlowja@gmail.com</email>
</author>
<published>2013-12-21T07:33:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/taskflow.git/commit/?id=8de131502c4a2816fbd8266745ff2c2818b8d6b7'/>
<id>8de131502c4a2816fbd8266745ff2c2818b8d6b7</id>
<content type='text'>
Instead of mixing eventlet related utility
functionality with async utility functionality
it seems to make sense to seperate those types
into two different files.

Change-Id: I8770fa5163feaa5f3666d36bf55d9aa30ca1b15f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of mixing eventlet related utility
functionality with async utility functionality
it seems to make sense to seperate those types
into two different files.

Change-Id: I8770fa5163feaa5f3666d36bf55d9aa30ca1b15f
</pre>
</div>
</content>
</entry>
<entry>
<title>Code cleanup for eventlet_utils.wait_fo_any</title>
<updated>2013-12-20T08:41:56+00:00</updated>
<author>
<name>Ivan A. Melnikov</name>
<email>imelnikov@griddynamics.com</email>
</author>
<published>2013-12-20T08:40:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/taskflow.git/commit/?id=f0301c61bdf67203c3a55226c318c4967f58cca1'/>
<id>f0301c61bdf67203c3a55226c318c4967f58cca1</id>
<content type='text'>
- waiter class renamed;
- unused member removed from it.

Change-Id: Id2510211ba726d8ebe17d8a63f6a95ecb761f46e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- waiter class renamed;
- unused member removed from it.

Change-Id: Id2510211ba726d8ebe17d8a63f6a95ecb761f46e
</pre>
</div>
</content>
</entry>
<entry>
<title>Add wait_for_any method to eventlet utils</title>
<updated>2013-12-19T10:28:23+00:00</updated>
<author>
<name>Ivan A. Melnikov</name>
<email>imelnikov@griddynamics.com</email>
</author>
<published>2013-12-19T10:17:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/taskflow.git/commit/?id=2409a462950dddab32db5ae587ad7fa93c4629bb'/>
<id>2409a462950dddab32db5ae587ad7fa93c4629bb</id>
<content type='text'>
This change introduces new utility funtion in eventlet utils, named
wait_for_any. It waits on one or more futures until at least some of
them completes. This is simplified version of concurrent.futures.wait
adapted to work with our green futures.

Change-Id: I2ab50c4e108ea1e9c81f618bd8fa8a8156bb695b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change introduces new utility funtion in eventlet utils, named
wait_for_any. It waits on one or more futures until at least some of
them completes. This is simplified version of concurrent.futures.wait
adapted to work with our green futures.

Change-Id: I2ab50c4e108ea1e9c81f618bd8fa8a8156bb695b
</pre>
</div>
</content>
</entry>
</feed>
