# Host migration

**URL:** <https://forums.pixeltailgames.com/t/host-migration/7146>\
**Category:** Suggestions\
**Created:** [April 13, 2016, 8:59pm UTC](https://forums.pixeltailgames.com/t/host-migration/7146 "2016-04-13T20:59:37Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Zak](https://forums.pixeltailgames.com/user_avatar/forums.pixeltailgames.com/zak/32/13_2.png) [@Zak](https://forums.pixeltailgames.com/u/Zak)\
**Post date:** [April 14, 2016, 5:30am UTC](https://forums.pixeltailgames.com/t/host-migration/7146/5 "2016-04-14T05:30:52Z")

</div>

Yes, hosts are currently determined based on best-ping with the lobby server they’re in.  
At some point in the future, I would like to develop a system where the host is chosen based on best ping with all other players.

Please refer to these horribly drawn MS-Paint diagrams for details:

**Currently, the best host is chosen by best ping against the plaza server**  
[![](http://i.imgur.com/Kf5C3Sr.png) ](http://i.imgur.com/Kf5C3Sr.png)

**While this works most of the time, you can end up with hosts that aren’t ideal**  
Here, Will was selected as the host because he is closest to the server and had the best ping.  
[![](http://i.imgur.com/Dspr8Jd.png) ](http://i.imgur.com/Dspr8Jd.png)  
_Sam and Wergulz are gonna have a tough time in ball-race._

**What we need is to have the clients ping each-other to determine best ping in their group**  
[![](http://i.imgur.com/Lz1cZj1.png) ](http://i.imgur.com/Lz1cZj1.png)

**Foohy is selected because he is closest to the center of this network**  
[![](http://i.imgur.com/TXVAeOf.png) ](http://i.imgur.com/TXVAeOf.png)

Basically I just need to come up with a system for doing this and it should solve most of the cases where poor connectivity is an issue.

---

_[View the full topic](https://forums.pixeltailgames.com/t/host-migration/7146)._
