[openstack-dev] Should RPC consume_in_thread() be more fault tolerant?

Ray Pekowski pekowski at gmail.com
Sat Jun 8 13:13:23 UTC 2013


On Sat, Jun 8, 2013 at 12:13 AM, Ray Pekowski <pekowski at gmail.com> wrote:

> Here is the first patch set for AMQP based RPCs:
>
> I0d6ec8a5: Make AMQP based RPC consumer threads more robust
>
> https://review.openstack.org/#/c/32235/1
>

I have an idea.  Maybe this code should be implemented as a decorator, for
example calling it robust_thread.  At least that would make it common
between kombu and qpid code.  Maybe zmq could use it.  Perhaps other
components have a similar situation whereby it would be good to restart
crashed threads in a controlled manner.

Ray
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130608/6a2c0acc/attachment.html>


More information about the OpenStack-dev mailing list