Stage:
Private Alpha
Available on self-hosted:
N/A
Supabase Read Replicas allow you to deploy additional read-only databases that are kept in sync with your Primary database. This feature enhances performance, improves resource management, and reduces latency for global applications.
Key features
- Load balancing: Distribute read operations across multiple databases, reducing load on the Primary.
- Global deployment: Deploy replicas closer to users for reduced latency.
- Dedicated endpoints: Each replica has its own database and API endpoints.
- API load balancer: Automatically balance GET requests across all available endpoints.
- Centralized configuration: Settings are propagated across all databases in a project.
- Monitoring tools: Track replication lag and resource utilization through the Supabase Dashboard.
Benefits:
- Improved performance: Serve data from the nearest location, reducing response times.
- Increased availability: Distribute read traffic across multiple replicas for enhanced resilience.
- Scalability: Handle higher read loads by offloading queries to replicas.
- Data redundancy: Replicas provide additional copies of your data.
- Analytics support: Run resource-intensive queries on replicas without impacting production.
Read Replicas are particularly valuable for:
- Global applications serving users across different regions
- High-traffic websites with read-heavy workloads
- Real-time analytics dashboards requiring low-latency data access
- Applications needing to scale read capacity independently of write capacity
By leveraging Read Replicas, you can achieve consistent low-latency performance globally, improve application responsiveness for read operations, and enhance system reliability through better resource distribution and redundancy.