Using multicast communication for resource finding in distributed systems