I have a group with n members. These are distributed members. It is basically a group chat. A new member is added to the group and the existing members are informed about this.
Now I want the new member to obtain some information about the group that the existing members all know. This could be the name of the group. There is no centralised place where this information can be obtained. Also, messages sent in the group will go to every member of the group.
My current implementation is that all the existing members send the information to the new member, but this is causing everyone to receive many messages. I would like the number of messages to be as low as possible, which I guess would mean that one message should be enough.
I cannot just make the member with the lowest ID be the one to send the message, as that person might not be online.
So, is this problem, a problem with a known solution? And what might that be?
I hope the explanation makes sense.