System
Learn about the R2R system architecture
System Diagram
System Overview
R2R is built on a modular, service-oriented architecture designed for scalability and flexibility:
-
API Layer: A FastAPI-based cluster handles incoming requests, routing them to appropriate services.
-
Core Services: Specialized services for authentication, retrieval, ingestion, graph building, and app management.
-
Orchestration: Manages complex workflows and long-running tasks using a message queue system.
-
Storage: Utilizes PostgreSQL with pgvector for vector storage and search, and graph search.
-
Providers: Pluggable components for embedding, LLM, auth, and ingestion services, supporting multimodal ingestion and flexible model integration.
-
R2R Application: A React+Next.js app providing a user interface for interacting with the R2R system.
This architecture enables R2R to handle everything from simple RAG applications to complex, production-grade systems with advanced features like hybrid search and GraphRAG.
Ready to get started? Check out our Docker installation guide and Quickstart tutorial to begin your R2R journey.
Was this page helpful?