1 min readfrom InfoQ

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

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

Want to read more?

Check out the full article on the original site

View original article

Tagged with

#financial modeling with spreadsheets
#rows.com
#big data performance
#Discord
#distributed tracing
#Elixir
#actor model
#Transport library
#trace context
#dynamic sampling
#million-user fanouts
#CPU optimizations
#unsampled traces
#filtering context
#deserialization
#overhead
#performance penalty
#message wrapping
#trace recovery
#engineering