Search code examples
javatcpmulticast

What is multicast?


I'm reading Ignite documentation and now I'm at the section about Clustering. Here is specified that

Multicast Based Discovery

TcpDiscoveryMulticastIpFinder uses Multicast to discover other nodes in the grid

I dont understand that uses Multicast, what does that mean?


Solution

  • Multicast is a way of transmitting information, you are maybe getting confuse with the term casting as a type cast from OOP, but in this context multicast is similar to broadcast communication, where a msg where information is addressed to a group of destination computers simultaneously.

    That is how appache manages the sending of msgs in is group communication network

    http://tomee.apache.org/multicast-discovery.html and the same applies to

    https://www.nextflow.io/docs/latest/ignite.html

    enter image description here

    Broadcast would mean sending the msg to all the nodes in the network...(that is the main difference)