~/talk

Our journey to horizontally scalabe controllers

Talkat ContainerDays Conference 2024 · 2024-09-03..09-04· [kubernetes]
links:none on file
slides:none on file

Hobbyfarm replaces a single monolithic controller with sharded, horizontally scalable controllers that use Kubernetes CRD informers, a simple fnv hash of metadata.name modulo replica count (example: four shards) to decide ownership, and per-replica work queues plus configurable worker threads. Replica identity comes from a StatefulSet identity and replicas watch that set to detect scaling; there is no leader election and no external message queue. Result: parallel, equally distributed reconciliation, faster startups, and lazy rebalance on next update.

AI-written summary · about

  1. 0:00Introduction to scalable controllers
  2. 1:25Hobby Farm project overview
  3. 3:11Initial monolithic architecture
  4. 4:57Discovering microservices approach
  5. 6:44Introducing sharding concept
  6. 9:08Database sharding principles
  7. 12:19Final solution with sharding
  8. 17:20Q&A session
~/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.