rlefevre
How Discord Scaled Elixir to 5,000,000 Concurrent Users
How Discord Scaled Elixir to 5,000,000 Concurrent Users
And some discussion on Hacker News about it (including some OTP 20.0 optimizations).
Their published libraries described in the blog post:
- manifold: Fast batch message passing between nodes for Erlang/Elixir
- ex_hash_ring: A fast consistent hash ring implementation in Elixir
- fastglobal: Fast no copy globals for Elixir & Erlang
- semaphore: Fast semaphore using ETS
At last the praised free book from Fred Hebert: Stuff Goes Bad: Erlang in Anger
Most Liked
adrianrl
Using Rust to Scale Elixir for 11 Million Concurrent Users
Nowadays it seems like they use a faster implementation with NIFs, here’s the library: SortedSet
adamwight
The top link has moved to How Discord Scaled Elixir to 5,000,000 Concurrent Users, and the update is at Using Rust to Scale Elixir for 11 Million Concurrent Users . Too bad that the original permalinks don’t redirect!
sorentwo
Thanks for the link, that is really handy. I implemented a custom MapSet with Erlang 21+ features which is 25% faster than the native MapSet, I expect this can be an even bigger improvement.
Popular in Discussions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance









