Instacart Sep 12, 2016

Offline First: Introducing TrueTime for Swift and Android

Article Summary

Instacart shoppers were losing minutes in grocery store dead zones. The culprit? You can't trust device clocks when every second counts.

Instacart open sourced TrueTime, an NTP library for Swift and Android that solves a deceptively tricky problem: getting accurate time on mobile devices. This is part one of their offline-first architecture series.

Key Takeaways

Critical Insight

When you're promising one-hour delivery, you need millisecond precision that survives spotty networks and user clock tampering.

The real story is why Instacart needed this for their offline-first architecture (hint: batch processing comes next).

Recent from Instacart

Related Articles