Persistent Queues with Tape
Details
Processing background tasks in Android apps can be tricky. You need to think about cases such as low memory situations, running out of battery and flaky networks.
Persisting tasks to disk helps you reliably handle such edge cases. Enter Tape, a collection of queue related classes. This talk will be primarily about it's core component, QueueFile — a lightning fast, transactional, persistent file-based FIFO.
For new users, we'll compare it to alternatives and dig into it's API with real world examples.
For veterans, we'll take a deep dive into it's technical implementation and see how it guarantees both reliability and efficiency.
About Prateek Srivastava
I work on the Platform team at Segment, mostly on our client libraries.
I enjoy working with Android and open source! I've created libraries such as rx-preferences and Dart, and frequently contribute to others such as Tape and AssertJ-Android.
Outside of Android, I've been hacking tons on Go and iOS (and more reluctantly, JavaScript).
Occasionally, I write on my blog (http://f2prateek.com) and Twitter (https://twitter.com/f2prateek).
