~/talk

Defusing the configuration time bomb with PureConfig and Refined

Talkat Scale By the Bay 2017 · 2017-11-16..11-18· [scala, functional-programming]
links:none on file
slides:none on file

Research shows 75% of high-severity failures trace to latent configuration errors; real incidents include App Engine’s 2010 outage after a manual config edit and long-delayed job failures from invalid retention settings. The solution demonstrated uses PureConfig to load HOCON into typed case classes and Refined to enforce constraints at load time (non-empty API keys, positive durations, UUID regex, port range 1024–65535, writable-directory checks), plus a simple pre-start validator that fails fast so latent “time bombs” are detected before jobs run.

AI-written summary · about

  1. 0:00Intro
  2. 0:54Algorithm analogy
  3. 3:10Configuration Errors
  4. 6:40Research
  5. 7:56What can we do
  6. 9:09Real code
  7. 11:51Indirection
  8. 13:32Hakan
  9. 19:03Refined
  10. 26:03Tips
  11. 30:39Questions
~/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.