~/talk

Read and write considered harmful

Talkat ACCU 2018 · 2018-04-11..04-14· [software-architecture]
links:none on file
slides:none on file

Claim: reads and writes behave radically differently and treating them the same damages architecture. Evidence: shared writes show zero scalability on contention, a CTO faces 5x/year growth hitting one central DB, MySQL replication and sharding buy only months, and a test with 17,000 duplicate keys destroyed hashing performance. Patterns and tools: use Lambda architecture, Kafka, CDNs, memcache and CQRS to separate write-heavy ingestion from read-serving. Built system with tens of thousands TPS decouples logging and survives load tests — it works.

AI-written summary · about

  1. 0:00Intro
  2. 2:27Reads
  3. 6:35Dependencies
  4. 7:39REST APIs and rules
  5. 9:11REST APIs and schemas
  6. 10:59REST APIs and processes
  7. 12:35Typical system scaling path
  8. 15:26Scaling problems • Partitioning or sharing works to an extent
  9. 17:47Avoid sharing mutable data
  10. 21:42questions about data access
  11. 24:39Non-primary key access - Finding items by value, not by key
  12. 25:54Range scans and sequential access - Requires ordering Leoperators, ordering costs • Requires iberators/cursors/traversal state
  13. 28:45Read/write ratio
  14. 29:52Working set size and skew • How much of the common data will fit in main
  15. 32:38Consistency • Do all copies of the data need to be exactly up- to-date right now
  16. 44:15Reader/writer vs data flow
  17. 45:00Sync vs async systems
  18. 47:27Data flow and sync/async
  19. 49:41Content management example
  20. 50:50Larger example
  21. 53:55Command Query Representation Separation (CORS)
  22. 57:03CORS examples
~/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.