We plan to have a deployment with the HAProxy in front of multiple shards. Each shard serves one geo region. We hope the HAProxy can distribute a meeting to different shard based on the geo location of the first participant.
However, we’re not sure if this is even possible, or if there’s better way to achieve what we want?
We known HAProxy can distribute a request based on the ip location, but the problem here is that each participant will have different ip address. How can we guarantee all the participants can be routed to the same shard.
Alternatively, HAProxy can also distribute the meeting base on the URL (i.e. meeting name) so that all the participants of the same meeting will be redirected to the same shard, but then we may end up putting users on a server that’s very far from them.
Thanks in advance!