avahi scalability again

View: New views
4 Messages — Rating Filter:   Alert me  

avahi scalability again

by ord-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi all,

I am wondering about using avahi (for service discovery ) for an
application, on one lan, but with potentially many computers (maybe 1000
) and especially many services to publish (maybe 10000). Have some of
you tested avahi scalability at that level ?

This seems to be much over what avahi/zeroconf is meant to support but
since I could not find information newer that 3 years old and I could
read that there is some work done on scalability with avahi I though I
would ask the list.

Thank you

Olivier

_______________________________________________
avahi mailing list
avahi@...
http://lists.freedesktop.org/mailman/listinfo/avahi

Re: avahi scalability again

by Lennart Poettering-8 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, 15.05.09 14:11, Olivier R-D (o.r-d@...) wrote:

Heya,

> I am wondering about using avahi (for service discovery ) for an
> application, on one lan, but with potentially many computers (maybe 1000
> ) and especially many services to publish (maybe 10000). Have some of
> you tested avahi scalability at that level ?

mDNS has not been designed for such networks.

Apple did some scalability tests with mDNS. And IIRC they say it
should work up 200 hosts or so. I never did similar tests for Avahi,
but I'd assume that Avahi isn't too far off, given that we pass the
Bonjour compat test.

Lennart

--
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/           GnuPG 0x1A015CC4
_______________________________________________
avahi mailing list
avahi@...
http://lists.freedesktop.org/mailman/listinfo/avahi

Re: avahi scalability again

by Bugzilla from robin.perkins@internode.on.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On 15/05/2009, at 10:56 PM, Lennart Poettering wrote:

> On Fri, 15.05.09 14:11, Olivier R-D (o.r-d@...) wrote:
>
> Heya,
>
>> I am wondering about using avahi (for service discovery ) for an
>> application, on one lan, but with potentially many computers (maybe  
>> 1000
>> ) and especially many services to publish (maybe 10000). Have some of
>> you tested avahi scalability at that level ?
>
> mDNS has not been designed for such networks.
>
> Apple did some scalability tests with mDNS. And IIRC they say it
> should work up 200 hosts or so. I never did similar tests for Avahi,
> but I'd assume that Avahi isn't too far off, given that we pass the
> Bonjour compat test.
>
> Lennart

Why so many services? If you are publishing that many services then  
surely you are misunderstanding how mDNS is meant to be used. The  
protocol is intended so that you find other hosts on the network using  
the same 'service', something usually common to many hosts eg. web  
traffic or ftp traffic. If it is for a custom application - then only  
the fact that that application is present needs to be advertised - not  
everything that the application can do.

Perhaps using sub-services may be more appropriate - for example I  
wrote a thing for BitTorrent where by each host finds each others by  
looking for _bittorrent._udp and then each individual torrent is a sub-
service so that matching torrents could be found.

Rob
_______________________________________________
avahi mailing list
avahi@...
http://lists.freedesktop.org/mailman/listinfo/avahi

Re: avahi scalability again

by ord-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Robin Perkins wrote:

>
> Why so many services? If you are publishing that many services then  
> surely you are misunderstanding how mDNS is meant to be used.
I was , for sure, considering a miss-use of mDNS :-), but you never know
sometimes a miss-use  offers new possibilities..

The
> protocol is intended so that you find other hosts on the network using  
> the same 'service', something usually common to many hosts eg. web  
> traffic or ftp traffic. If it is for a custom application
Yes it is a very specific industrial application with many small servers
that communicate together. I need a kind a yellow page service so that
those servers know who is online and what their type is. The traditional
way to do that is with a specialized server, and that is what I have
started to do , based on Ice (http://www.zeroc.com).

Olivier

_______________________________________________
avahi mailing list
avahi@...
http://lists.freedesktop.org/mailman/listinfo/avahi