< Lineup

Persistent Queues with Tape

Wall Hub 10:00am

Chat on Slack


The best apps don't make users wait. They dispatch tasks to the background. But processing background tasks can be tricky. What happens if the device runs out of battery? What if the network is down? Persisting to disk helps you handle such edge cases. Enter Tape, a collection of queue related classes. This talk will primarily be about it’s core component, QueueFile — a lightning fast, transactional, persistent file-based FIFO. We'll dig into it's implementation and see how it guarantees both reliability and efficiency. And you'll learn to make the most of QueueFile with real world examples.

Prateek Srivastava, Segment

Prateek is a programmer at Segment working on the integrations platform. Outside of Android, he works with iOS, Go and more reluctantly, JavaScript. He's an open source enthusiast with contributions to Tape, Rx Preferences, Device Frame Generator and u2020.