~/talk

Erlang for Authoritative DNS

Talkat Strange Loop 2013 · 2013-09-18..09-20· [security]
slides:none on file

Reimplemented an authoritative DNS backend for DNSimple in Erlang, leveraging the binary bit syntax, pattern matching and OTP processes to build an in-memory zone store, packet cache (60s TTL) and a worker queue handoff. Replaced PowerDNS backend and offloaded zone loading to Go for faster text parsing. Measured 99th‑percentile handoff latency of 35–60 microseconds, one node serving 17–25k requests per second, and a 40‑node anycast capacity of roughly 650k–1M qps; startup time and GC remain operational challenges.

AI-written summary · about

  1. 0:00Erlang for Authoritative DNS Anthony Eden Founder of DNSimple
  2. 4:00Benefits of Erlang
  3. 4:33Binary Bit Syntax
  4. 6:12Pattern Matching
  5. 8:26Processes and OTP
  6. 8:47Spawn- Init - Receive - Exit
  7. 9:32Packet Cache
  8. 15:38Thinking in Erlang
  9. 16:32Operations
  10. 17:33Working around what Erlang isn't good at
  11. 18:43Identify Bottlenecks
  12. 20:19Optimize sequential paths
  13. 21:15Reduce garbage collection
  14. 21:38Packet read loop
  15. 25:53Process pool
  16. 26:21In-memory cache of zone data
  17. 27:03Remote zone loading from a special purpose server
  18. 28:05Current Performance Metrics
  19. 28:33SO_REUSEPORT
  20. 29:43Command & Control
~/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.