~/talk

Beauty and the Beast: your application and distributed systems

github:estolfo
slides:none on file

Shows concrete patterns for safe retries: use idempotent operations (MongoDB unique-pending-set or Elasticsearch versioned updates) and prefer client-scoped guarantees like client-centric consistency (MongoDB causal sessions). Demonstrates a two-node cluster with wait_for_active_shards=2, explains election behavior, heartbeat and server_selection_timeout tuning, and recommends chaos tests—kill a node, change replica roles, enable auth, vary latency—plus bounded retry policies (e.g. retry count or time limit) instead of blind retries.

AI-written summary · about

  1. 0:00Start
  2. 8:10Define a distributed system Consensus Synchronization Replication Consistency Fault tolerance
  3. 9:01What is a Distributed system?
  4. 10:331. Communication between components is invisible.
  5. 11:33False assumptions The network is reliable The network is secure The network is homogenous The topology does not change Latency is zero Bandwidth is infinite Transport cost is zero. There is one administrator.
  6. 14:24Whether to commit a transaction to a database. Choosing a new leader.
  7. 20:55Deviation of Staleness Ordering of update operations
  8. 23:47Eventual Consistency
  9. 25:46Types of faults Transient Intermittent Permanent
  10. 31:19The client doesn't know what your application is doing. It's not always able to determine what is safe to retry.
  11. 34:51Idempotent operations
  12. 41:53Testing against a single server. running on localhost isn't sufficient.
  13. 46:04Questions
~/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.