One-click install
npx skills add https://github.com/ElemontCapital/x-algorithm-skills --skill x-retrieval-systems
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: x-retrieval-systems
Source: https://github.com/ElemontCapital/x-algorithm-skills/tree/main/plugins/x-algorithm/skills/x-retrieval-systems
Command: npx skills add https://github.com/ElemontCapital/x-algorithm-skills --skill x-retrieval-systems

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill analyzes X's multi-stage retrieval architecture, explaining how the system narrows hundreds of millions of tweets to a small candidate pool and determines what is eligible to be ranked.

Core Features & Use Cases

  • Decodes In-Network sourcing and Out-of-Network discovery to show how content is surfaced.
  • Explains Earlybird indexing (Realtime, Protected, Archive) and Phoenix-based embedding retrieval for candidate generation.
  • Analyzes latency and concurrency using a single-writer/multi-reader model to achieve sub-second results at scale.

Quick Start

Ask the AI to outline how Earlybird shards the in-network index and how Phoenix uses embedding-based discovery to surface candidate tweets.

Frequently Asked Questions about x-retrieval-systems

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How does a multi-stage retrieval engine narrow hundreds of millions of tweets to a candidate pool?▼

A multi-stage retrieval engine narrows tweets by sourcing In-Network and Out-of-Network content, then filtering through Earlybird indexing and Phoenix embeddings to generate a 1,500-candidate pool for final ranking.

What is the difference between In-Network sourcing and Out-of-Network discovery in search engines?▼

In-Network sourcing retrieves tweets from followed users via Earlybird indexing, while Out-of-Network discovery uses Phoenix embeddings and ANN-based ranking to surface relevant content from outside the user's direct network.

How do Phoenix embeddings and ANN ranking work together for candidate generation?▼

Phoenix embeddings and ANN ranking work together by generating vector representations of tweets and using approximate nearest neighbor search to efficiently retrieve and rank Out-of-Network candidates for the retrieval pipeline.

What are the typical latency and throughput expectations for large-scale retrieval pipelines?▼

Large-scale retrieval pipelines enforce sub-second latency expectations using a single-writer/multi-reader concurrency model, ensuring high throughput while maintaining strict performance guarantees across Earlybird index shards.

How do I optimize a search engine architecture to handle sub-second latency at scale?▼

Optimize search engine latency at scale by implementing a single-writer/multi-reader concurrency model, sharding Earlybird indexes into Realtime, Protected, and Archive segments, and applying ANN-based ranking.