How We Made OTP
OTP ships two TCP stacks. We spent several weeks profiling and optimizing the newer NIF-based socket backend. It now drains bulk streams 1.5x faster than the legacy port driver and wins connection churn by 1.6x. The remaining request/response gap turned out to be an unexpected scheduler idleness pattern.
PastelAds