Life360 Engineering

Building the engine behind the new network for families

Jake Schwartz
Lead iOS Engineer
Nov 04, 2017
From the Engineering dept

Mobile Data at Scale: The Model Store

Architecting mobile applications to crush the challenges of Scale

Yesterday, the Life360 servers handled 2,167,980,001 API requests from our iOS and Android mobile apps. That's the most requests we've ever served in a single day, representing the most users we've ever had in a single day.

Read More...
Kent Hoxsey
Infrastructure Engineer
Oct 27, 2017
From the Engineering dept

Wading Deeper into Kinesis Streams

Challenges and a few solutions working with Kinesis Streams

In a previous episode, we outlined the steps we took to pipe data from an NSQ topic to a Kinesis Stream. If that article felt way too happy, devoid of any obstacle, that's because we left out a few things. Where that post was just getting our feet wet, this time we wade in a little deeper to illustrate some of the bits that gave us trouble.

Read More...
Kent Hoxsey
Infrastructure Engineer
Sep 25, 2017
From the Engineering dept

Streaming data with Kinesis on AWS

Moving a high-volume message stream from NSQ to Kinesis

One really interesting aspect of our work at Life360 is supporting the flow of location messages from millions of devices. Our current message rates average around 20k/s, which is large enough to be challenging without touching the red line where absolutely terrifying lives. While we are in the process of rebuilding our services to handle much higher message rates, we are working out an approach to scale the underlying message-handling infrastructure as well.

Read More...
Josh Wickham
Engineering Manager - Platform
Aug 08, 2017
From the Engineering dept

Implementing a Streaming Location Architecture

Replacing our aging core location server code with an efficient, high-throughput system

Building an application which can accept locations from millions of user devices, store them, trigger push events based on previous and current state, and honor individual users' preferences for privacy is hard. Making that same system able to grow to double or triple the number of users while accepting even more locations per device is even harder. We have found ourselves in this situation; while we have had growth pains, our system is basically fully functional. However, while we have the time and are not in crisis, building for a far more sizeable throughput now makes the most sense. Here's how we're attacking exactly that problem.

Read More...
Josh Wickham
Engineering Manager - Platform
Jun 23, 2016
From the Engineering dept

Making Your Complex Distributed System Transparent

or, What OpenTracing and LightStep can do for you!

Once you reach a certain scale, monitoring by hand becomes impossible; there are simply far too many moving pieces to keep track of. Life360 reached that scale long ago and we've been upgrading our analysis and monitoring tool sets accordingly. The latest in a long line of improvements is to our tracing system, and LightStep is the tool of choice. Let's take a look at what, how, and why.

Read More...