Discord is host to many open source projects.
Here's what some of them have to say:
Discord is committed to the principles of open source development: that we all succeed when we work together as engineers and share our solutions. Here are some of our open source contributions.
SortedSet
SortedSet is a fast and efficient data structure, implemented in a Native Implemented Function in Rust, that provides certain guarantees and functionality.
FastGlobal
This module is an Elixir version with some optimizations such as generating the atom keys and reusing them.
Erlpack
Erlpack is a fast encoder and decoder for the Erlang Term Format (version 131) for Python and JavaScript.
Deque
An Erlang implementation of a deque using two rotating lists to support fast append and prepend.
Loqui
Loqui is an RPC transport layer that implements a very simple framing protocol over a raw socket.
Ex Hash Ring
A pure Elixir consistent hash ring implemention based on the excellent C hash-ring lib by Chris Moos.
Punt
Punt is a lightweight and simple daemon that parses, transforms, mutates, and ships logs into Elasticsearch.
Verification for OSS Projects
If your project is open, foundational, and well moderated, you can get Verified. Please contact us.
OS Libraries
Discord comes to you thanks to these great open source libraries! Here is a list of them and their licenses.




