Skip to content
CAI
Produce a survey ↗Verify a survey

supabase/realtime

This system is a distributed, multi-tenant real-time data synchronization service built on Elixir and Phoenix. It manages real-time database change streams from PostgreSQL via logical replication and WebSockets, enforcing strict tenant isolation and row-level security policies. The platform provides a comprehensive API for broadcasting messages, tracking presence, and monitoring cluster health, all supported by extensive observability and automated testing infrastructure.

63.3

Adequate · 5 August 2026

32k

lines of production code

Elixir

primary language

4

bus factor · 64 authors in all

5

measurements over time

CAI band scale
CAI trend line

How it got here

2019–2021 · Realtime API and infrastructure modernization

This period focused on upgrading the Elixir/Phoenix backend to version 1.7 and implementing a comprehensive Realtime API with WebSocket support, tenant management, and metrics. The frontend build was simplified by replacing Webpack with native ES6 imports and Tailwind CSS, while configuration was centralized for environment-driven settings. Additionally, the project established robust test coverage and cloud deployment scripts for multi-node clustering.

18 changes

2022 · Realtime infrastructure and monitoring

This period focused on building the core Realtime service infrastructure, including tenant configuration, JWT authentication, and rate limiting. It also introduced comprehensive monitoring, metrics collection, and a Postgres CDC extension for database change streaming, supported by extensive test coverage.

23 changes

2023–2025 · Realtime v2 architecture and observability

This period focused on the architectural overhaul of the Realtime service, introducing a modular v2 framework with strict tenant isolation and distributed messaging capabilities. Concurrently, significant effort was dedicated to system observability through comprehensive telemetry, monitoring plugins, and end-to-end testing infrastructure.

23 changes

2026 · Realtime infrastructure and distributed broadcasting

This period focused on strengthening the Realtime system's reliability and observability by introducing a watchdog process for connection health monitoring and adding comprehensive test suites for storage backends and dashboard components. Additionally, a new Forum library was implemented to provide distributed process group tracking and routed broadcast capabilities, while administrative tools and database cataloging features were added to support tenant management and schema drift detection.

8 changes

CAI lens gauges

Survey your own repository

supabase/realtime was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point the surveyor at a repository you know and see whether you agree with it.

Survey a repository

About this page

  • The description of this project is derived from its own commit history, not from its README.
  • The score is its highest published measurement, taken on 5 August 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit a5b8f471da — the exact code this score is about.
  • Scored under rubric rubric-2026.08.19. Score the same commit under that rubric and you get the same number.
CAI link cards