"Abstractions are Dead, Long Live Abstractions!"
summary
ngrok becomes an embeddable Go library that exposes a one line of code API which connects to global points of presence and returns a net listener that surfaces remote connections as local ones. The implementation adds a callback for dropped tunnels to improve observability, reuses standard Go primitives to reduce cognitive load, and measures tradeoffs in performance, expressivity, and observability. The library ships, integrates into existing servers, and proves the abstraction viable while acknowledging inevitable leaks and overhead.
AI-written summary · about
chapters (14)
- 0:00Introduction
- 4:11What is an abstraction
- 5:53Examples of abstractions
- 7:21What are you abstracting
- 8:35Why do we abstract
- 10:23What makes an abstraction successful
- 12:13Abstraction costs
- 13:35Abstraction leaks
- 15:59Expressivity
- 17:41Performance
- 21:11Cognitive Overhead
- 23:02How we consume abstractions
- 24:28Reuse existing abstractions
- 25:13Successful abstractions








