RAM Architecture
Resilient Adaptive Manager system design
Learn about RAM's distributed architecture, components, and how they work together to provide high availability.
Architecture Features
High Availability
Automatic failover with sub-second detection and recovery.
Real-time Monitoring
Comprehensive metrics and health monitoring for all cluster components.
Enterprise Security
Token-based authentication, SSL/TLS encryption, and rate limiting.
Cloud Native
Docker, Kubernetes, and Helm chart support for modern deployments.
System Components
RAM Controller (ramctrl)
Central management daemon that orchestrates cluster operations and monitors node health.
Key Features
RAM Daemon (ramd)
Node-specific daemon that manages local PostgreSQL instances and reports status.
Key Features
Network Layer
High-performance networking for inter-node communication and data replication.
Key Features
Consensus Engine
Raft-based consensus protocol ensuring cluster consistency and leader election.
Key Features
Cluster Architecture
RAM implements a distributed architecture with multiple nodes working together to provide high availability and automatic failover.
Primary Node
Active PostgreSQL instance handling read/write operations
Standby Nodes
Replica instances ready for failover and read scaling
Consensus Layer
Raft protocol ensuring consistency and coordination