[Openstack] is anyone using zeromq for RPC?

Doug Hellmann doug at doughellmann.com
Mon Sep 8 15:11:19 UTC 2014


On Sep 8, 2014, at 10:00 AM, Li Ma <skywalker.nick at gmail.com> wrote:

> Hi Doug,
> 
> It is sad that it may be abandoned in future OpenStack release. ZeroMQ is fantastic messaging library because it is broker-less and can be fully distributed. It is really useful in large-scale deployment scenario.

Yes, I’m also disappointed that we don’t have anyone interested in supporting it.

> 
> Currently we are using ZeroMQ as the message queue implementation in our production systems from Havana. We've deployed this method in multiple DCs. Abandon ZeroMQ is a great loss. AFAIK, the following can be done to make it active in OpenStack ecosystem.

It’s great to know you were able to get a version working for your needs. I really thought it was fairly broken — did you have to patch the driver at all?

> 
> (1) Provide tuning parameters for ZeroMQ context and sockets in order to fine-tune ZeroMQ for different deployment scenario.
> 
> (2) Provide comprehensive test cases for ZeroMQ.
> 
> (3) Support Devstack.
> 
> (4) Provide installation tutorial in OpenStack docs.
> 
> (5) Provide suggestions on real deployment architecture in OpenStack docs.

We also need to add functional testing for the driver in the CI environment.

> 
> I would love to try to get them done step by step.

And I would be happy to have your help doing that! Do you or your team have resources to contribute?

> 
> By the way, I just noticed that kombu supports ZeroMQ. I wonder how it support direct/topic/fanout. Maybe we can try the kombu way to simplify the current impl_zmq implementation. But it needs further investigation.

Yes, Josh mentioned that in another message in this thread. It does sound like a potentially useful approach, although given the expectations of oslo.messaging right now I’m not sure how to make it work or if it would actually be easier than updating the current driver. It is definitely worth investigating.

Doug

> 
> cheers,
> Li Ma
> 
> 
> 
> ----- Original Message -----
> From: "Doug Hellmann" <doug at doughellmann.com>
> To: "Sandy Walsh" <sandy.walsh at RACKSPACE.COM>
> Cc: openstack at lists.openstack.org
> Sent: 星期日, 2014年 9 月 07日 上午 1:01:38
> Subject: Re: [Openstack] is anyone using zeromq for RPC?
> 
> 
> 
> On Sep 6, 2014, at 11:00 AM, Sandy Walsh <sandy.walsh at RACKSPACE.COM> wrote:
> 
>>> From: Doug Hellmann [doug at doughellmann.com]
>>> On Sep 5, 2014, at 11:13 PM, Sandy Walsh <sandy.walsh at RACKSPACE.COM> wrote:
>> 
>>>>> From: Doug Hellmann [doug at doughellmann.com]
>>>>> The zmq driver in oslo.messaging, used for internal communication
>>>>> between OpenStack services, has been without a maintainer for a
>>>>> significant period of time. It isn’t actively tested, and it isn’t
>>>>> clear whether or not it works. The Oslo team would like to drop
>>>>> support for it in Kilo, but before we do that we would like to find
>>>>> out if (a) anyone uses it and (b) if any of those people would like to
>>>>> contribute to maintaining it.
>>>> 
>>>> Why not just break it out into a separate repo? It would still be
>>>> loadable via stevedore. This would let people keep using it if they
>>>> desire (and, more importantly, maintain it externally) vs. the all-or-
>>>> nothing inclusion/exclusion decision.
>> 
>>> If a maintainer is found, we can extract the files or resurrect them
>>> in place at any point in the future.
>> 
>> Well, yeah, but that doesn't help the operators that have it deployed
>> already and didn't see this thread.
>> 
>> Their update process will be: 1. install 2. wtf?! 3. scramble. 
> 
> I expect to make a lot of noise about it between now and the middle/end of kilo when we actually remove the driver. As I said it's not at all clear the driver even works in its current state, so I don't know if anyone could be using it as it is.
> 
> Doug
> 
>> 
>>> Doug
> 
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack





More information about the Openstack mailing list