Routing in geographic sharding

Oh, I see. Yeah, that makes sense.

Do you know how the driver figures out which shard is the closest? Is that something that is implemented in the driver itself somehow, or is that handled automatically by some internet protocol?

Thanks