~/talk

The Evolution of Python Packaging

Talkat PyCon AU 2016 · 2016-08-12..08-16· [python, devops-and-delivery]
name:Dan Reif
links:none on file
slides:none on file

Facebook builds a self-contained Python packaging system centered on par (Python archive): an executable shebang + zip that evolves into zipimport-backed fast-par, hard‑linked files in a content-addressable store (CAS), and a shared sparse/ESPAR layer to avoid duplicate libs. Key tricks: open-as-FD via a readlinke hack to survive replacements, pre-hash to cut launch time ~25%, and a prototype czar (squashfs+FUSE) to eliminate zipimport. System runs at hundreds of thousands of launches and is incrementally successful in reducing disk, network and startup costs.

AI-written summary · about

  1. 0:00Intro
  2. 2:06Why Package
  3. 3:45Modest Proposal
  4. 5:51What is Par
  5. 6:19Par Version 1
  6. 10:38Everythings Broken
  7. 11:20Failures
  8. 12:37TempWatch
  9. 14:51CAS
  10. 17:15Sparse
  11. 20:22Versions
  12. 21:34Polytree
  13. 24:21Python 25 Prehash
  14. 25:06Python 26 Czar
~/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.