A little while ago I had built this Android application that would GET and POST data to a REST API. Simple task, however not everyone has internet access all the time, so then some application logic would have to work around those cases.

A simple third party library would check for current internet access, apply some “clever”… or straight forward logic and make sure data could be pushed to the server when internet access is available. Everything worked fine, until Android 10+… when clients would not be able to POST or GET any data to and from the REST API…

In this article, I will show you how to create and deploy your first Tornado application in Azure. If you are using Flask, I recommend you follow this tutorial instead. First, lets address why Tornado? Well it is a Python web framework and asynchronous network library, and can scale up to tens of thousand open connections! Tornado works really well for web sockets applications, but also REST APIs. We will use an Azure App Service, that will provide a scalable solutions to any small to medium size project.

Step 1: setup your Tornado app

We will create a minimal Tornado app, with routes, that will easily…


Full mobile stack developer, researcher, and simulation software developer.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store