~/talk

Stateless by Design: Lessons From Building...

links:none on file
slides:none on file

Describes building a stateless IaC CLI called Deck that uses the Kong Gateway admin API as the single source of truth, parsing YAML/JSON into an in‑memory target state, listing live resources into an in‑memory current state, then doing per‑entity diffs and executing a concurrent sync. Explains concrete choices: sync vs apply for full versus additive reconciliation, tag-based scoping and schema-aware diffing, caching schemas for performance, and tradeoffs around renames without IDs, ID collisions, and failure handling.

AI-written summary · about

  1. 0:00Introduction to talk
  2. 1:06What is declarative IAC
  3. 2:29How IAC reconciliation works
  4. 4:33Is this talk for you
  5. 5:58Why statelessness matters
  6. 7:03Kong Gateway as source of truth
  7. 8:05Benefits of stateless CLI
  8. 10:13Avoiding unnecessary state
  9. 10:34How Deck works overview
  10. 12:02Designing stateless CLI inputs
  11. 13:45API requirements for stateless IAC
  12. 14:08Design principles part 1
  13. 15:53Deterministic reconciliation
  14. 21:10Deletion semantics contract
  15. 24:14Enforcing scope and ownership
  16. 26:27Resolving foreign references
  17. 27:52Handling partial recovery
  18. 28:34Challenges with stateless IAC
  19. 28:56Renaming without IDs confusion
  20. 31:03Trade-offs in implementation
  21. 34:33Known challenges part 1
  22. 35:38Known challenges part 2
  23. 37:03Schema aware diffing
  24. 37:45Schema changes across versions
  25. 38:25Stateful vs stateless IAC
  26. 39:48Conclusion and Q&A
~/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.