Use this skill when reasoning about the distributed system design, service orchestration, or request lifecycle of the X recommendation engine...
Master reference for the X (Twitter) recommendation engine architecture, specifically the HomeMixer orchestration layer, ProductMixer functional components, and the Scala-to-Rust candidate pipeline bridge.
The X recommendation engine operates as a "Lambda Architecture" variant. The orchestration layer (HomeMixer) is written in Scala using the ProductMixer framework, which defines the business logic graph. High-compute tasks (Candidate Retrieval, Scoring) are offloaded to optimized services (Rust/C++/Java).
For detailed technical breakdowns, see:
HomeMixer down to leaf services like Earlybird (Search) and Navi (ML Scoring).CandidateSource, Filter, Scorer, Gate, Selector, and SideEffect.SimClusters (Community Embeddings), TwHIN (Knowledge Graph), and RealGraph (User Interaction probabilities).home-mixer/: Main orchestration logic for the timeline.product-mixer/: Core framework defining how pipelines are built.cr-mixer/: Content Recommender Mixer (Out-of-Network retrieval logic).navi/: ML Model serving infrastructure (Heavy Ranker host).visibility-lib/: Rust-based filtering logic (Safety, Blocks, Mutes).Filter, Scorer, Hydrator).Earlybird) and Heavy Ranking (full neural network, hosted in Navi).HomeMixer cannot see it.SignalIngester and UserSignalService provide the raw interaction data that feeds SimClusters and RealGraph.