Back to articles
Discord Open Sources Osprey Safety Rules Engine Processing 2.3 Million Rules per Second

Discord Open Sources Osprey Safety Rules Engine Processing 2.3 Million Rules per Second

via InfoQPatrick Farry

Discord open-sourced Osprey, a safety rules engine processing 400 million daily actions and 2.3 million rules per second. Osprey uses a polyglot architecture: a Rust coordinator manages traffic, while stateless Python workers execute logic using a Python-based domain-specific language called SML. This design allows trust and safety teams to deploy real-time threat mitigations at high scale. By Patrick Farry

Continue reading on InfoQ

Opens in a new tab

Read Full Article
5 views

Related Articles