~/talk

The Road to Running Haskell at Facebook Scale

Talkat Code Mesh 2015 · 2015-11-03..11-04· [engineering-leadership]
name:Jon Coens
links:none on file
slides:none on file

Facebook runs Haxl, a Haskell DSL that replaces a 100K-line rule engine, and migrates that codebase into GHC over about 15 months of rollout. The system hits production workloads (originally ~100k req/s, design target ~1M), survives FFI surprises and GC edge cases, and gains 30% throughput on identical hardware. Engineering adds allocation limits, linker-based hot code loading, and upstream GHC fixes; the Haskell implementation proves practical at scale.

AI-written summary · about

  1. 0:00Introduction
  2. 0:35Our World
  3. 2:03Rules
  4. 3:54Data fetching
  5. 4:20Latencysensitive
  6. 5:22Batch
  7. 6:33Tragedy struck
  8. 7:13We were failing to scale
  9. 9:10Examples
  10. 10:39Syntax
  11. 11:04Cord Design Challenge
  12. 11:50Should you write your own language
  13. 13:00Highschool
  14. 14:21Friends of You
  15. 15:20Shipping New Code
  16. 15:41Runtime Linker
  17. 16:37Artificial Experiments
  18. 16:58Time to Build
  19. 17:25Foreign Function Interface
  20. 18:53Safe vs Unsafe
  21. 20:42Balancing safe and unsafe calls
  22. 21:08Allocation limits
  23. 23:04Resource limits
  24. 23:16Semantic differences
  25. 23:29Regular expression differences
  26. 24:38Parse JSON
  27. 25:15The decision
  28. 25:33Switching to Haskell
  29. 26:09PostSwitching Performance
  30. 26:39Garbage Collector
  31. 26:57High Allocation
  32. 27:35Upstream
  33. 28:04Learning Haskell
  34. 29:34Conclusion
  35. 30:14Questions
  36. 30:59Software Engineering
  37. 32:05First in Production
  38. 33:07Technical Challenges
  39. 34:52Synchronicity
  40. 35:50Problems with tooling
  41. 36:59Resisting the temptation
  42. 38:48Haskell
  43. 41:23Rosetta Stone
~/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.