Readyset Weekly: Issue 33
The Real Cost of Read Replicas (and How to Reduce It)
Read replicas often look like an easy scaling win, but the real cost shows up later. Each replica still parses, plans, and executes full queries, multiplying work and cloud spend and often quietly amplifying inefficiencies that show up as lag, connection pressure, and operational overhead.
Here are a few practical ways to reduce replica cost before it becomes a tax on performance and engineering time:
- Reduce unnecessary replica reads with better query hygiene. Audit repetitive or expensive read paths with
pg_stat_statementsorsys.statement_analysis. Batch ORM-generated N+1s, remove redundant filters, and limitSELECT *usage. Every fix cuts work across all replicas. - Cap replica fan-out with connection pooling. Postgres is sensitive to high connection counts. Use pgBouncer, ProxySQL, or RDS Proxy so replicas execute fewer queries. Pooling stabilizes memory, reduces executor churn, and helps keep lag down.
- Attack replica lag at the source. Long transactions, bloat, and write hotspots slow replication. Shorten transactions, tune autovacuum, and reduce contention on hot tables. Less lag means fewer fallback reads to the primary and fewer correctness workarounds.
- Eliminate redundant work with targeted caching. Identify stable or repetitive queries ripe for materialized views, application caching, or a SQL-native cache like Readyset. Cutting work is almost always cheaper than adding servers.
Read replicas have their place, but they work best when used sparingly and paired with strategies that cut repeated computation, which we'll cover more in the coming weeks.
🔍 What We're Watching in the Database Ecosystem
IBM to Acquire Confluent for a "Smart Data Platform"
IBM is acquiring Confluent to fuse streaming data, governance, and generative AI into a single enterprise platform. It's a clear signal that real-time, continuously updated data is becoming foundational for AI-driven systems, not auxiliary infrastructure.
Advancing the Lakehouse with Apache Iceberg v3
Databricks shares how Iceberg v3 brings transactional improvements, schema evolution features, and better cross-engine interoperability. As AI and analytics converge, formats like Iceberg are becoming critical for consistent, shared data across systems.
AWS Introduces Database Savings Plans
AWS introduced Savings Plans for RDS, Aurora, and Redshift, offering predictable discounts for teams with steady database usage. It helps reduce cost on baseline consumption, but it does not solve the underlying compute amplification that drives a large share of database spend.
In Case You Missed It
Readyset November Product Update
Readyset shipped major improvements this month, including automatic table-rename resnapshotting, PostgreSQL array support, dynamic eviction tuning, replay-graph visualization, and CTAS replication for MySQL. We also shared new demos showing Bucket delivering 365x faster analytics and QueryPilot scaling both handcrafted and AI-generated workloads with zero config. If you missed our Black Friday webinar on handling peak traffic without duct tape, you can watch the replay and find all updates in the release notes.
Get Readyset Weekly in your inbox
One email a week — what shipped, what we learned, and what is worth reading.