~/talk

currentTime, upTime, clocks, timers and the bugs nobody ta...

Talkat next.app devCon 2026 · 2026-10-07..10-09· [java, ai-assisted-development]
slides:none on file

Shows a real production bug where using System.currentTimeMillis bug for a rate limiter fails because wall clocks jump (team devices logged jumps of 2s, 5.5s and 28.5s). Replaces wall time with Android SystemClock.elapsedRealtime for intervals, builds a monotonic ticker, a Timestamp and Deadline API to avoid math, and an anchored clock to mix server timestamps with monotonic deltas. Covers testing, lint/CI enforcement and strategies to roll changes without breaking customer metrics.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 1:04Spot the bug game
  3. 2:50Wall clock time issues
  4. 4:13Monotonic clocks overview
  5. 6:20Choosing clocks for rate limiter
  6. 7:01API design goals and challenges
  7. 8:26Clock library comparison
  8. 11:36Requirements for clock APIs
  9. 11:57Monotonic Ticker API design
  10. 14:05Epic Clock and Timestamp API
  11. 15:53Deadline class implementation
  12. 17:59Rate limiter refactor demo
  13. 18:42Anchored Clock use case
  14. 19:24Anchored Clock API details
  15. 20:50Preventing AI cargo culting
  16. 21:53Breaking changes and customer impact
  17. 23:17Key takeaways and best practices
  18. 24:42Sentry features and closing
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.