db-replicas-views
Installation
SKILL.md
db-replicas-views (M17)
Read replicas and materialized views scale reads, but both introduce staleness that silently breaks
correctness if the application assumes fresh data. This is a Performance & Scale (axis
performance) concern; feeds relational Escala w12 (shared with M16/M2/M9).
What it checks
- Read-your-writes — a write immediately followed by a read of the same data, where the read may be routed to an async replica that has not yet caught up. User writes a comment, the next page load reads the replica and the comment is "gone." Recommend routing the immediate read to the primary, or using sync/quorum reads where required.
- Materialized-view refresh — an
MATERIALIZED VIEWqueried as if live but refreshed manually / on a slow cron / never, so it serves stale data. FlagREFRESH MATERIALIZED VIEWwithoutCONCURRENTLY(locks readers), and views with no visible refresh schedule.