~/talk

Mobiconf 2018: Zhixuan Lai

Talkat Mobiconf 2018 · 2018-10-04..10-05· [web-platform, android]
linkedin:zhxnlai
slides:none on file

Tinder open-sources Scarlet, a Kotlin library that cuts WebSocket boilerplate to 10 lines of code by generating an interface implementation, using plugins for OkHttp WebSocket, Moshi, RxJava2 or coroutines, plus message and stream adapters. Connection management runs on an immutable state machine with lifecycle and backoff plugins. Scarlet runs in production at Tinder for eight months across thousands of devices, is testable and debuggable, and v2 roadmap adds protocols (Socket.IO, SSE, STOMP, MQTT) and more protocol plugins.

AI-written summary · about

  1. 0:00Introduction and fun warm-up
  2. 1:04WebSocket basics and REST comparison
  3. 2:32Airline analogy for WebSocket benefits
  4. 5:57Problems with WebSocket on Android
  5. 7:23Why Scarlet was created
  6. 11:31Scarlet’s modular design explained
  7. 15:32Real-world Bitcoin price demo
  8. 19:58Scarlet plugins overview
  9. 23:42Maintaining Scarlet in production
  10. 26:21State machine architecture
  11. 31:06Scarlet v2 and future plans
  12. 32:40Recap and call to action
  13. 33:26Q&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.