~/talk

Inside the Room

Talkat droidcon SF 2019 · 2019-11-18..11-19· [databases, android]
links:none on file
slides:none on file

Deep dive into Room shows how it maps three layers—SQLite, Android/AndroidX and Room runtime—so readers and writers actually behave: file locks escalate from shared to exclusive, rollback journals versus the write-ahead log change concurrency, and Room enables WAL automatically on devices above Jellybean. Room serializes commits on a single-threaded transaction executor, implements triggers and an invalidation tracker to notify LiveData/Rx, and recommends paging (cursor window ~2MB) or small queries rather than giant transactions to avoid stalls.

AI-written summary · about

  1. 0:00Introduction and overview
  2. 1:15SQLite architecture deep dive
  3. 8:06Threading and locking in SQLite
  4. 17:47Android SQLite APIs and connections
  5. 23:26Transactions and their optimizations
  6. 28:45Triggers and change tracking
  7. 33:43Room's transaction executor
  8. 38:10Handling large queries and paging
~/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.