~/talk

Exception Handling and Logging: Turning Chaos into Control

Talkat WhatTheStack 2024 Β· on Saturday, 2024-09-14Β· [devops-and-delivery, security]
links:none on file
slides:none on file

Shows how a centralized exception handler replaces scattered try/catch so errors map to a standard JSON response with code, message, timestamp and request ID; demonstrates correlation ID to join logs across order, inventory and payment services and ties into dead‑letter queues and compensation logic (reserve/unreserve) β€” noting compensation can fail so log and alert. Recommends retry and fallback patterns, structured logs to ELK or ELK or Splunk, mask PII, rotate/archive logs to S3, and attach event payloads to reproduce bugs.

AI-written summary Β· about

  1. 0:00Introduction and welcome
  2. 1:48What is error handling
  3. 4:17Defining system boundaries
  4. 7:12Centralized exception handling
  5. 9:18Fail fast concept explained
  6. 11:29Common errors and pitfalls
  7. 16:01API error handling design
  8. 18:08Distributed systems and correlation IDs
  9. 20:59Compensation logic in errors
  10. 22:23Logging for diagnostics
  11. 24:31Centralized logging importance
  12. 26:38Logging security considerations
  13. 29:51Event store and logging connection
  14. 31:16Final thoughts and summary
~/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.