Effective way to discover nodes in peer-to-peer network
I have nearly 300 devices interconnected in the local ipv4 network and would like to discover each other somehow. At the moment, I'm using mdns announce to achieve this (using avahi lib). This solution works up to 50 devices, but it goes more than 100 I started to face some flooding of avahi announce messages in the network (of course it's obvious). Is there any other alternative to mdns discovery to achieve the same result? all my device has arch Linux and I'm ok to install any open-source software.

I have nearly 300 devices interconnected in the local ipv4 network and would like to discover each other somehow. At the moment, I'm using mdns announce to achieve this (using avahi lib). This solution works up to 50 devices, but it goes more than 100 I started to face some flooding of avahi announce messages in the network (of course it's obvious).
Is there any other alternative to mdns discovery to achieve the same result? all my device has arch Linux and I'm ok to install any open-source software.