Unified Server-Side Transaction Replay for PostgreSQL Failover: Merging Connection-Level and Transaction-Level Continuity with Savepoint-Aware Journaling and WAL-Synchronized Replay

This defensive publication discloses a proxy-based transaction replay system for PostgreSQL-compatible databases, implemented as part of HeliosProxy (Dimensigon). The system provides transparent failover without client modification by maintaining a per-session, savepoint-aware transaction journal anchored to the PostgreSQL write-ahead log (WAL LSN), replaying it autonomously against a new primary after failover, and verifying correctness via CRC64 result checksums. Five specific contributions are disclosed as prior art: (1) the first proxy-side transaction replay for PostgreSQL-compatible databases; (2) unified cursor restoration (analogous to Oracle TAF) and DML replay (analogous to Oracle TAC/Application Continuity) in a single mechanism; (3) savepoint-aware journal truncation enabling correct partial rollback during replay; (4) WAL LSN anchoring that verifies standby synchronization before replay begins; and (5) backend connection swapping that preserves the client TCP session and TLS session through failover without client-visible reconnection. The work is positioned relative to Oracle Application Continuity (client-directed, OCI/JDBC driver), MariaDB MaxScale 2.3.0 (proxy-directed, MySQL only), and the PostgreSQL proxy ecosystem (PgBouncer, Pgpool-II, Patroni, AWS RDS Proxy — none of which provide transaction replay). This is the first disclosure of proxy-side transaction replay for the PostgreSQL wire protocol. Implemented in Rust under AGPL-3.0 / SSPL-1.0. Published as prior art under CC-BY-4.0.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-03-24
DOI
https://doi.org/10.5281/zenodo.19200426
Primary Topic
Distributed systems and fault tolerance
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Unified Server-Side Transaction Replay for PostgreSQL Failover: Merging Connection-Level and Transaction-Level Continuity with Savepoint-Aware Journaling and WAL-Synchronized Replay

Daniel Moya Vaca
Zenodo (CERN European Organization for Nuclear Research)
Distributed systems and fault tolerance
article

Unified Server-Side Transaction Replay for PostgreSQL Failover: Merging Connection-Level and Transaction-Level Continuity with Savepoint-Aware Journaling and WAL-Synchronized Replay

Daniel Moya Vaca
article en

Abstract

This defensive publication discloses a proxy-based transaction replay system for PostgreSQL-compatible databases, implemented as part of HeliosProxy (Dimensigon). The system provides transparent failover without client modification by maintaining a per-session, savepoint-aware transaction journal anchored to the PostgreSQL write-ahead log (WAL LSN), replaying it autonomously against a new primary after failover, and verifying correctness via CRC64 result checksums. Five specific contributions are disclosed as prior art: (1) the first proxy-side transaction replay for PostgreSQL-compatible databases; (2) unified cursor restoration (analogous to Oracle TAF) and DML replay (analogous to Oracle TAC/Application Continuity) in a single mechanism; (3) savepoint-aware journal truncation enabling correct partial rollback during replay; (4) WAL LSN anchoring that verifies standby synchronization before replay begins; and (5) backend connection swapping that preserves the client TCP session and TLS session through failover without client-visible reconnection. The work is positioned relative to Oracle Application Continuity (client-directed, OCI/JDBC driver), MariaDB MaxScale 2.3.0 (proxy-directed, MySQL only), and the PostgreSQL proxy ecosystem (PgBouncer, Pgpool-II, Patroni, AWS RDS Proxy — none of which provide transaction replay). This is the first disclosure of proxy-side transaction replay for the PostgreSQL wire protocol. Implemented in Rust under AGPL-3.0 / SSPL-1.0. Published as prior art under CC-BY-4.0.

Zenodo (CERN European Organization for Nuclear Research)
Life in Land
Openalex Percentile: Top 11%
Distributed systems and fault tolerance
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Unified Server-Side Transaction Replay for PostgreSQL Failover: Merging Connection-Level and Transaction-Level Continuity with Savepoint-Aware Journaling and WAL-Synchronized Replay — Daniel Moya Vaca · Zenodo (CERN European Organization for Nuclear Research) (2026) | TGRS Research Map | TGRS