ProficientNowTechRFCs
Product RFCs/Db ops/RFC DBOPS 0001

3. System Architecture

RFC-DBOPS-0001                                                    Section 3
Category: Standards Track                              System Architecture

3. System Architecture

← 2. Requirements | Index | Next: 4. Components →


3.1 System Overview

The containerized stack standardizes on PostgreSQL 18 while preserving a dual-pooler architecture and CDC integrations. Application services connect through PgBouncer for query and management workloads. Debezium consumes logical decoding streams from the tenant database, and migration tooling uses session pooling to maintain transactional semantics. The upgrade changes the database baseline while keeping service boundaries and trust domains stable.


3.2 Authority Domains

DomainAuthorityScope
Data AuthorityPostgreSQL databasesSystem of record for all persisted data
Connection AuthorityPgBouncerMediates client connections and enforces pool-mode semantics
CDC AuthorityDebeziumInterprets logical decoding streams and publishes events
Configuration AuthorityRepository-managed container builds and configuration filesDefines runtime parameters

3.3 Trust Boundaries

BoundaryDescription
Application → PgBouncerApplication services are untrusted clients; pooler authentication and pooling rules MUST continue to enforce access boundaries
Debezium → Tenant DBDebezium is an external CDC consumer and MUST be limited to required replication privileges
Container host → Persistent volumesData at rest trust boundary; the upgrade MUST preserve encryption and access controls already in place

3.4 Stable Interfaces

InterfaceDescription
SQL protocol over PgBouncerPrimary interface for application traffic
Logical decoding slotsCDC interface for Debezium via replication slots and publications
Session pooler connectionsSchema migration tooling continues to use session pooler for session-state operations

Document Navigation


End of Section 3

On this page