~/talk

HHVM at Etsy: Harder, Better, Faster, Stronger

Talkat PHP UK Conference 2015 · 2015-02-18..02-20· [php, nodejs]
slides:none on file

Etsy targets a 20x scale on its API cluster and prototypes HHVM after a local 5x throughput win, then measures roughly 2x throughput on production traffic. Migration builds an RPM, hits CentOS6 libc and extension compatibility problems (memcache decrement bug, hashing bug), and a threaded setlocale race that mangles logs; repo-authoritative mode is skipped to keep 60 daily deploys. Tooling proves valuable: perf, flame graphs, built‑in debugger, sgrep/s-patch for large refactors, and gradual tee‑traffic ramp works.

AI-written summary · about

  1. 0:00Introduction to Etsy and HHVM
  2. 1:32History of HipHop and HHVM
  3. 3:26Adoption and Compatibility
  4. 5:47Performance and Etsy's Need
  5. 7:37API Development at Etsy
  6. 10:56Hardware Challenges
  7. 14:10Early Prototype Phase
  8. 16:48Compilation Struggles
  9. 19:11Infrastructure Hurdles
  10. 21:16Experimentation Strategy
  11. 23:12API Cluster Benchmarking
  12. 25:40Teeing Traffic Experiment
  13. 28:33Production Traffic Results
  14. 30:32Correctness and Extension Bugs
  15. 32:17Ramping Up Traffic
  16. 34:07Thread-Safety Issues
  17. 37:45Successful Implementation
  18. 38:56Tooling: Flame Graphs
  19. 40:39Tooling: HHVM Debugger
  20. 42:50Tooling: S-Grip and S-Patch
  21. 46:29Tooling: Perf
  22. 48:27Lessons Learned
  23. 50:38The Future and QA
~/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.