~/talk

Multi-threaded Rendering on Android (with Litho & Infer)

Talkat droidcon NYC 2017 · 2017-09-25..09-26· [frontend-architecture, testing]
links:none on file
links:none on file
slides:none on file

Facebook migrates the Android News Feed rendering off the UI thread by building a background layout pipeline with Litho and automating concurrency checks with Infer. The team converts thousands of specs, runs Infer continuously (p75 ≈ 25min) to find race reports (700+ fixed), avoids crash regressions, and reports up to a 42% improvement in smaller surfaces. Key engineering notes: precompute component trees, keep state functional or use volatile/synchronized carefully, and minimize coarse locks to prevent contention and deadlocks.

AI-written summary · about

  1. 0:00Introduction to multi-threaded rendering
  2. 2:43Traditional Android UI limitations
  3. 6:39Litho framework overview
  4. 12:39Java concurrency challenges
  5. 21:33Infer static analyzer for concurrency
  6. 28:19Results and performance improvements
  7. 33:21Q&A session
~/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.