~/talk

Hex - How it was built

Talkat ElixirConf 2014 · 2014-07-25..07-26· [web-performance]
links:none on file
slides:none on file

Hex is a package manager with a standalone CLI and an HTTP API built on Plug and Ecto that already serves 100 packages and almost 400 releases with about 25,000 downloads total. It uses tarball source packages (recompiled per Elixir version), uploads assets to a CDN, and maintains a ~27 KB registry fetched conditionally. Dependency resolution uses a backtracking algorithm that guarantees a solution but has high time complexity; archives require careful version-aware updating and future plans include escript support and community-owned packages.

AI-written summary · about

  1. 0:00Introduction to Hex
  2. 1:08Motivation and History
  3. 3:52Client and Command Line
  4. 5:45Archive Installation
  5. 6:43Updating Hex
  6. 7:58Dependency Converger
  7. 10:48Registry and Resolution
  8. 12:39Registry Size and Fetching
  9. 14:00Resolution Algorithm
  10. 17:02Tarballs and Caching
  11. 19:52Server-side publishing
  12. 21:03HTTP API Architecture
  13. 23:39Serialization Format
  14. 27:01Website and Features
  15. 29:08Download Statistics
  16. 30:44Future of Hex
  17. 33:11Community Packages
  18. 35:40Q&A Session
~/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.