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 RESTful API 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 Postgres with
pgvector
and full-text search for vector storage and search, and graph search. -
Providers: Pluggable components for parsing, embedding, authenticating, and retrieval-augmented generation.
-
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.