multicast

what algorithm hazelcast uses to find the master node

巧了我就是萌 提交于 2020-02-04 09:34:29
问题 I am researching the algorithm that hazelcast uses to find the master node in multicast way.First I find the function to find master node: com.hazelcast.cluster.MulticastJoiner.findMasterWithMulticast() private Address findMasterWithMulticast() { try { if (logger.isFinestEnabled()) { logger.finest("Searching for master node. Max tries: " + maxTryCount.get()); } JoinRequest joinRequest = node.createJoinRequest(); while (node.isActive() && currentTryCount.incrementAndGet() <= maxTryCount.get())

what algorithm hazelcast uses to find the master node

ⅰ亾dé卋堺 提交于 2020-02-04 09:34:11
问题 I am researching the algorithm that hazelcast uses to find the master node in multicast way.First I find the function to find master node: com.hazelcast.cluster.MulticastJoiner.findMasterWithMulticast() private Address findMasterWithMulticast() { try { if (logger.isFinestEnabled()) { logger.finest("Searching for master node. Max tries: " + maxTryCount.get()); } JoinRequest joinRequest = node.createJoinRequest(); while (node.isActive() && currentTryCount.incrementAndGet() <= maxTryCount.get())

Multicast traffic to Kubernetes

折月煮酒 提交于 2020-01-25 08:00:07
问题 I want my pods to receive multicast network traffic flowing from outside of my kubernetes cluster to specific ports in my nodes. I'm considering two solutions: Adding hostNetwork: true flag to their yaml file along with hostPort configuration in order to receive the traffic directly to the pod. Forwarding the traffic locally on the nodes from eth0 interface to docker0 interface using iptables command. Method 1 is an official feature in Kubernetes, but it feels like breaking a security wall

Docker receiving multicast traffic

风格不统一 提交于 2020-01-20 17:03:55
问题 We have a dockerized server application that is doing auto-discovery of physical appliances on the network by listening for multicast packets on port 6969. So we need our docker container to be able to receive these packets from devices outside the host, through the host, and in to the container. I've seen some similar issues and done a lot of reading but I'm still unable to get the server to respond to these multicast packets. I'm sitting on Wireshark watching network traffic, but I'm not a