~/interview

Distributed Fizz Buzz: Passing the Microservices Interview

Interviewat Keep Ruby Weird 2018 · on Friday, 2018-11-09· [microservices]
github:ntl
slides:none on file

A FizzBuzz microservice in Ruby becomes a concrete example of event‑sourced autonomy: commands (TakeTurn) publish events (TurnTaken, TurnRejected), projections rebuild game state, and optimistic concurrency guards writes. A live REPL demo runs the service and accepts turns, but initial code lacks deduplication so duplicate or out‑of‑order messages break it; the fix is explicit: event sourcing, idempotent key pattern, reservation pattern and sequence number pattern to handle retries, ordering and exactly‑once impossibility. Containers are optional.

AI-written summary · about

  1. 0:00Intro
  2. 0:34Rules of Fizz Buzz
  3. 1:15Origins of Fizz Buzz
  4. 1:53Fizz Buzz Example
  5. 3:12Fizz Buzz Rules
  6. 3:52Networks
  7. 5:39Synchronous Requests
  8. 5:53Out of Date Data
  9. 6:15Message Objects
  10. 7:24Take Turn
  11. 7:58Entity
  12. 9:09Command Handler
  13. 11:16Projection
  14. 12:20Event Handlers
  15. 13:28Live Demo
  16. 14:38Distributed Systems fallacies
  17. 15:00Idempotence
  18. 15:14Negotiations
  19. 20:49Distributed Systems
  20. 21:38Myths
  21. 22:30Workshop
~/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.