# Gateway Latency

**URL:** <https://www.thethingsnetwork.org/forum/t/gateway-latency/6942>\
**Category:** Gateways\
**Created:** [April 26, 2017, 6:58pm UTC](https://www.thethingsnetwork.org/forum/t/gateway-latency/6942 "2017-04-26T18:58:25Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jmarcelino](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/jmarcelino/32/46753_2.png) [@jmarcelino](https://www.thethingsnetwork.org/forum/u/jmarcelino)\
**Post date:** [April 27, 2017, 12:07am UTC](https://www.thethingsnetwork.org/forum/t/gateway-latency/6942/2 "2017-04-27T00:07:28Z")

</div>

It does not, I’ve even had problems running it on 3G (400ms round trip (ping) time)

I was just discussing this yesterday on Slack and @htdvisser provided some insight into why

> **[Slack is your productivity platform](https://thethingsnetwork.slack.com/?redir=%2Farchives%2FC087JHSAE%2Fp1493181502420121%3Fname%3DC087JHSAE%26perma%3D1493181502420121)**
>
> Slack is a new way to communicate with your team. It’s faster, better organized, and more secure than email.

> The problem will be on gateways with older forwarders. Those overwrite the last downlink message when they receive a new one  
> So on busy gateways (we have some of those in the public network) the gateway just keeps overwriting downlink messages, and as a result, nothing arrives  
> htdvisser [5:38 AM]  
> We used to send downlink messages to the gateway as soon as they were “available”. So let’s say we are now at t=10. We schedule a join accept at t=15. At t=11, we schedule a downlink at t=12. This should be perfectly valid, but many gateways would now replace the join accept at t=15 with the downlink at t=12, and the join accept at t=15 would be lost  
> In the worst case (on busy, well located gateways) this would mean that the gateway is constantly replacing the next scheduled downlink message, effectively not sending anything at all  
> So we reduce this risk by sending the downlink later so that it’s on the gateway only a few hundred milliseconds before transmission time  
> This issue was fixed in newer versions of the packet forwarder, so if you have access to all gateways in your network, you can just fix it on the gateway side. As the gateways in the public community network are managed by community members who might or might not have the time (or the knowledge) to update their gateways, this is a little different, so we had to solve this on the backend side

---

_[View the full topic](https://www.thethingsnetwork.org/forum/t/gateway-latency/6942)._
