Building Scalable Spring Applications with YugabyteDB
summary
Compares traditional primary/replica RDB patterns with YugabyteDB’s multi-node read/write capability, demonstrates local cluster setup via Docker and yugabyte yb-ctl commands (3 → 4 nodes), and shows ports 5433/7000/9000. Uses Spring with HikariCP datasource and the YB JDBC driver (driver caches tserver list, refresh ~5 min) and shows automatic connection rebalancing on scale-out/in. Runs ApacheBench (30 clients, 3 minutes), exposes max_connections default 300, and eliminates transient 500s during scale-in by using @Retryable retries; Grafana/Prometheus monitor metrics.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 2:07RDB vs YugabyteDB scalability
- 6:05YugabyteDB architecture
- 11:52Spring with YugabyteDB
- 16:31Connection pooling in Spring
- 20:27Scale-in and connection errors
- 23:17Live demo: cluster scaling
- 27:01Monitoring with Prometheus
- 29:43Summary
related talks
30mIntroduction to Spring Data YugabyteDB: Accelerating Developer Productivity
01h 29mYugabyteDB DBA Fundamentals
51mJump Start Your Developer Journey in 60 Minutes: Go from 0 to Expert
25mYugabyteDB Technical Overview
29mEnterprise Scale: How a Distributed Architecture Can Deliver Scale and Resilience
27mIntroduction to YugabyteDB – Design and Architecture
01h 27mYugabyteDB YSQL Development
30mYugabyteDB Elasticity and Resilience in Containers
