~/talk

Inside the Room

Talkat Chicago Roboto 2019 · 2019-04-25..04-26· [android]
links:none on file
slides:none on file

Explains how Room maps annotations to generated DAOs and uses the Android SQLite stack: Room’s compiler emits code, Room flips SQLite to WAL is enabled by default via PRAGMA, readers and writers run concurrently but only one writer can append to the WAL. Shows connection pool sizing tied to device memory, Room batches inserts per entity into a single transaction, and its InvalidationTracker uses DB triggers plus a temporary table to notify observers.

AI-written summary · about

  1. 0:00Start
  2. 0:26Talk Outline
  3. 4:59Android package android.database.sqlite
  4. 6:06Android X androidx.sqlite.db.framework
  5. 10:14Types of locks
  6. 16:05Writing to the database
  7. 19:22Writes with WAL
  8. 20:11Reads with WAL
  9. 25:01Change SQLite settings
  10. 27:00Where Room sets up WAL
  11. 32:41Multiple write statements - same transaction
  12. 34:35Triggers for RxJava and LiveData
  13. 36:02Invalidation Tracking
  14. 41:58Transaction APIs in Room
  15. 42:30public abstract class RoomDatabase
~/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.