Running a high-performance pluggable transports Tor bridge
summary
This work identifies Tor's single‑core bottleneck and demonstrates a deployed fix that runs multiple Tor processes on one host that share identity keys, fronted by a HAProxy load balancer and a small shim providing a constant auth cookie to avoid per‑process auth drift. The deployed Snowflake bridge uses about 12 Tor instances, pushes 3–4 Gbps, peaks near 100k users during events, shows pluggable transport at ~50% CPU and Tor at ~25%, estimates roughly $100k/year to scale toward millions, and proves the approach is operational.
AI-written summary · about
chapters (13)
- 0:00Introduction to high-performance Tor bridges
- 1:03Tor's single-core scaling problem
- 2:50Direct vs indirect access transports
- 7:01Snowflake bridge performance crisis
- 9:11Running multiple Tor processes
- 13:25Post-Iran protest scaling
- 15:13CPU and RAM usage breakdown
- 16:57When to use this technique
- 18:24Funding and sustainability
- 18:44Q&A: Indirect bridges and relays
- 19:48Q&A: Cost to scale bridges
- 20:29Q&A: Snowflake CPU usage
- 21:13Q&A: Automated deployment tools
