~/talk

How to reactively load and cache data without even trying

Talkat Droidcon Italy 2017 · 2017-04-06..04-07· [android]
slides:none on file

NYT open sources Store, a concrete library that implements mem-cache then disk-cache then network with reactive APIs and streaming parsers so apps get data without bespoke plumbing. It uses RxJava + Guava + OKIO for inflight request coalescing, blocking loading cache, and streaming BufferedSource/Sink to a simple file system. Production use cuts cold-start time, powers offline modes, lets interns ship a bestseller screen in a month, and already draws ~20 external contributions.

AI-written summary · about

  1. 0:00Start
  2. 1:09Why Do We Like Open Source
  3. 2:11Loading Data
  4. 2:21Data Loading
  5. 3:43Data Should Survive Configuration Changes
  6. 5:19How Do We Work with Data at the New York Times
  7. 7:41The Repository Pattern
  8. 10:00What Is the Store
  9. 11:35Data Flow
  10. 14:21Storage Bench Fetch
  11. 15:25Stored Stream
  12. 17:00Pizza Fetcher
  13. 17:57Parsers
  14. 21:17Helper Interfaces
  15. 21:29The Data Flow
  16. 22:46Store Builder
  17. 24:06Configuring Your Memory Policy
  18. 25:04Network before Sale
  19. 31:12Listening for Changes
  20. 31:59Bonus
  21. 32:41Guava Caches
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.