CockroachDB Videos
← Back to all videos

Off Label: CockroachDB as a Message Bus

2026-08-19

Demos & Tutorials

Description

In this video, we explore how you can leverage syncless changefeeds to transform CockroachDB into a central orchestration hub and message bus for your microservices architecture. What We Cover: The Core Concept: How database writes can automatically trigger event-driven push notifications to downstream systems (in our case, microservices), creating a graph of communication without direct wiring. The Demo: Setting up a terminal-based, Slack-style chat application with public and private channels using live running queries for instant message delivery. Performance & Scale Testing: We push syncless changefeeds by scaling from 10 up to 1,000 active concurrent changefeeds to see exactly how quickly they process and deliver messages. Production Reality Check: A look at why - just because you can build a message bus directly inside the database - it might not be the recommended architecture for a production environment 00:42 – Introduction to Syncless changefeeds in CockroachDB 01:08 – Conceptual Overview 01:56 – Demo Setup 03:07 – Demo 03:33 – Performance and Scale Testing 04:12 – Summary and Key Takeaways Learn more at cockroachlabs.com #distributedsql #cockroachDB #database