Back to articles
Discord Engineers Add Distributed Tracing to Elixir's Actor Model Without Performance Penalty

Discord Engineers Add Distributed Tracing to Elixir's Actor Model Without Performance Penalty

via InfoQSteef-Jan Wiggers

Discord engineering detailed how they added distributed tracing to Elixir's actor model. Their custom Transport library wraps messages with trace context and uses dynamic sampling to handle million-user fanouts. CPU optimizations included skipping unsampled traces and filtering context before deserialization, recovering 10+ percentage points of overhead. By Steef-Jan Wiggers

Continue reading on InfoQ

Opens in a new tab

Read Full Article
7 views

Related Articles