~/talk

Beyond PHP it's not just about the code

Talkat CakeFest 2015 · 2015-05-28..05-31· [devops-and-delivery]
slides:none on file

Shows concrete failures and fixes: 200 per-search DB writes cause slave lag of hours and spikes up to 1,000 updates/sec, fixed by batching into extended INSERTs and temporarily using autocommit false; finds slow queries with pt-query-digest and EXPLAIN to choose proper B-tree vs hash indexes; uncovers a 98 Mbps link saturating a 100 Mbps switch transferring 700 GB/day; exposes cache race and 60s default PHP timeout, recommends cron refreshes, timeouts, Monolog and watching IO wait (iowait >10% signals disk bottleneck).

AI-written summary · about

  1. 0:00Introduction and background
  2. 1:29Who is in the audience
  3. 2:13Beyond PHP and production issues
  4. 3:18Database indexing best practices
  5. 5:49When to add database indexes
  6. 6:10Detecting slow database queries
  7. 8:15Analyzing query performance with EXPLAIN
  8. 9:38Understanding EXPLAIN output types
  9. 10:00N+1 query problem explained
  10. 11:22Three client case studies overview
  11. 11:43Client X job search site issues
  12. 13:55Master-Slave lag causes
  13. 16:44How MySQL Master-Slave replication works
  14. 17:12Fixing Master-Slave lag with batch inserts
  15. 19:22Network transfer issues with Client Y
  16. 20:50Network capacity and data transfer limits
  17. 21:54Drupal hook system and data loading
  18. 22:35Network bottlenecks and caching
  19. 22:57Client Z news ticker race condition
  20. 24:18Timeout defaults and site crashes
  21. 25:44Fixing timeouts and race conditions
  22. 26:49Atomic file operations and race conditions
  23. 27:32Scheduling cache updates with cron
  24. 27:53Web services vs polling for data
  25. 28:15Logging best practices and tools
  26. 29:21FirePHP for debugging
  27. 29:43Monitoring logging performance
  28. 30:46Detecting IO bottlenecks on Linux
  29. 31:06Prioritizing IO fixes over code
  30. 31:28Summary and final advice
  31. 32:33Q&A on platform as a service
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.