~/talk

Distributed Java Databases Under the Hood

Talkat Java Z-Day 2021 · 2021-04-08..04-09· [databases, distributed-systems]
slides:none on file

Builds a tiny distributed in‑memory Java key‑value cache with a ConcurrentHashMap storage, plain Java sockets for client/server comms, and etcd for topology discovery. Clients use a mapper to route keys; initial modulo hashing breaks when nodes are added, producing null reads. Fixes include fixed 10‑partition layout, a rebalance protocol that moves partitions, and rendezvous (highest‑hash) hashing to minimize data movement during scale‑out. Code is runnable and available on GitHub for experimentation.

AI-written summary · about

  1. 0:00Start
  2. 6:40GridGain
  3. 10:15Requirements
  4. 14:03Data Storage and API
  5. 26:35Scalability
  6. 36:21Request Routing
  7. 38:29Basic Hashing
  8. 46:40Data Rebalancing
  9. 49:16Data Partitioning
  10. 55:38Sample Data Distribution
  11. 59:46Rendezvous Hashing
~/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.