~/talk

Grand Central Dispatch (GCD), How Yelp uses GCD

Talkat iOS Conference SG 2015 · on Sunday, 2015-10-25· [concurrency]
slides:none on file

Yelp runs on Grand Central Dispatch to keep UI responsive across 83M monthly mobile visitors; the demo moves image scaling off the main thread, cutting viewWillAppear from 0.06s to 0.03s by switching from a serial to a concurrent queue and using a dispatch_group_notify completion. Independent video tasks use dispatch_group_enter/leave or the convenience dispatch_group_async to avoid flags. Serializing animations uses a serial queue targeted at the main queue with dispatch_suspend/resume. Caveats: deallocating groups crashes, enqueued queues are retained, and GCD has no cancel support.

AI-written summary · about

  1. 0:00Intro
  2. 0:30About Yelp
  3. 1:08What is GCD
  4. 1:49Blocks
  5. 2:25Block
  6. 2:40GCD
  7. 3:09Open Source
  8. 4:07Agenda
  9. 4:29Scheduling a task
  10. 5:19Serial queue example
  11. 5:39Concurrent queue example
  12. 6:31Create queue
  13. 8:20Quality of service
  14. 9:13Concurrent cues
  15. 10:37Global queues
  16. 12:39Queue concurrency scheme
  17. 13:23How to use tasks
  18. 14:13Main queue
  19. 15:02Loading spinner
  20. 15:22Demo app
  21. 20:07User Generated Video
  22. 21:07Common Solution
  23. 21:28Getting Messy
  24. 21:52Dispatch Groups
  25. 22:35Dispatch Group Code
  26. 24:13Dispatch to be notified
  27. 24:42Concurrency
  28. 27:38asynchronous tasks
  29. 28:34animation example
  30. 28:58Animation API
  31. 29:31Animation Queue
  32. 33:33Caveats
  33. 35:00Tasks
  34. 35:46Dispatch Barrier API
~/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.