Skip to main content

Module server

Module server 

Source
Expand description

Proxy Server Implementation

Main server that accepts client connections and routes them to backends. Implements PostgreSQL wire protocol forwarding with TWR (Transparent Write Routing).

Structsยง

ClientSession
Client session
NodeHealth
Node health status
PoolModeStatsSnapshot
Pool mode statistics snapshot (when pool-modes feature is enabled)
ProxyServer
Proxy server
ServerMetricsSnapshot
Metrics snapshot for external consumption
StatementLog
Logged statement for TR replay
TransactionState
Transaction state