New Facebook Tool Helps Developers Test Apps On Slow Networks

Next Story

Plen2 Is A 3D-Print-It-Yourself Humanoid Robot Kit

Mobile apps can do strange things when networks are slow, and if you want to deploy your app to a global market, knowing how it’ll react when your users are on a slow network connection is pretty important. To test its own apps, Facebook developed Augmented Traffic Control in 2013 and deployed it internally to test its apps on slow connections. Today, it is open-sourcing this effort.

68747470733a2f2f66616365626f6f6b2e6769746875622e696f2f6175676d656e7465642d747261666669632d636f6e74726f6c2f696d616765732f6174635f6f766572766965772e706e67As Facebook’s Emmanuel Bretelle and John Morrow write today, the Facebook team built the first version of this tool — focused on 2G connections — at an internal hackathon in early 2013. At first, the team focused on building a working 2G network that could be used to make voice calls, send text messages and transmit data. Given the complexities of getting the necessary radio hardware and then running open source on top of that, though, the team quickly pivoted to working with Wi-Fi networks and simulating networks there. Facebook then later deployed this version on its campus-wide Wi-Fi network so all of its engineers could use it.

As Bretelle and Morrow note today, Facebook used this tool to test when Messenger should time out and how often the apps should retry to send messages, for example, or how other apps would behave when they tried to download files.

The code for Augmented Traffic Control is now available on GitHub.

default[10][1][1][1]

Featured Image: Flickr UNDER A CC BY-SA 2.0 LICENSE