Technology

Practical guide to deploying applications with AWS ECS, ALB and ASG

If you are new to hosting applications on AWS or considering switching to AWS, then this article is for you. An array of AWS services are at play to deploy your production application for the world to use. It gets difficult for a beginner to get a full picture of how these services work together. And it’s overwhelming to sift through all relevant AWS docs.

In this post, we will specifically talk about EC2 container service (ECS), Application Load Balancer (ALB), Auto Scaling Groups (ASG) and how they work together to get your application up and running. We are going to assume a basic understanding of docker containers. If not, read this.

Continue reading

Standard
Technology

Detecting mock locations on Android

Ever struggled with users mocking locations in your Android app? Mock location apps have gained popularity amongst app users on the back of Pokemon GO and an increasing number of location-aware apps. A large number of users have discovered the power of mock location apps in order to fake their locations and game the system. Ironically, mock location apps were created by developers as a tool to test location features. What started off as a solution for app developers has now become a widespread problem for them. We ended up creating a monster!

Continue reading

Standard
Technology

Using Angular to render DOM with D3 generators

D3 was an obvious choice for building data visualizations in the HyperTrack dashboard because of the ability to customize to our hearts content. However, we wanted to use the Angular framework to handle DOM rendering. Continue reading

Standard
Technology

Real-time location tracking with near-zero battery impact

The HyperTrack SDK is active on thousands of devices through 100+ apps across the globe. Users represent all 6 inhabited continents, 2 major smartphone Operating Systems, several tracking use cases and markets, and a variety of network and GPS conditions. We implemented a way for the SDK to record overall battery consumption on the device during the time it was active. This is our first battery benchmarking exercise at a reasonable scale. This goes beyond small scale tests we had done with dozens of users in controlled setups. Turns out, we are able to deliver real-time location tracking with near-zero battery drain.

In this post we share the data that implies that HyperTrack delivers real-time location tracking with near-zero battery drain. We go on to list the battery optimization techniques we used in order to get there.

Continue reading

Standard
Technology

Are stops important in the world of location tracking?

We had trips on our mind when we first built HyperTrack. We assumed that developers would start tracking a user when they expected the user to be on their way to get some place and stop when they had reached. The assumption failed. Obvious in hindsight, developers expected us to tell them (and not the other way around) when the user was on the way and when they had stopped. All they wanted to do was switch us on or off, and hand over control to HyperTrack to automatically figure out trips and stops in the life of the user. They would keep HyperTrack on through the day, through the week, or just switch it on and leave it on forever. HyperTrack was expected to notify developers about the start and end of these trips and stops, besides other useful events along the way. This led to a re-architecture of our stack that we rolled out with HyperTrack v3 in March. Continue reading

Standard
Technology

Programming Slack link previews in Python

Our Slack alerts give real-time and accurate location events to our customers. These alerts include an image showing the location activity on a map to provide our customers the complete picture to act upon. Link previews are obtained by capturing a screenshot of our dashboard view for the live event. In this post, we take a peek under the hood to see what powers these screenshots and how you can setup a service to do the same. Continue reading

Standard
HyperTrack Live open sourced
Technology

HyperTrack Live Android App Released to Open Source

HyperTrack is the fastest way to build live location features into your application, with our plug-and-play location stack allowing for easy integration with your existing workflow and business. We’ve built our stack to be quick to integrate, scalable and reliable, and providing real-time filtering while maintaining battery efficiency. Now, we’ve made it even easier with the open sourcing of our HyperTrack Live Android app.

Continue reading

Standard