Vadim Yatsenko: Splitting the Read-Only Transaction: Replica Reads Inside an Open Transaction

2026-11-01来源 Planet PostgreSQLEnglish
Read/write splitting is easy for single, autocommit statements. It gets hard the moment a client opens a transaction. Most proxies give up and send every statement inside a transaction to the primary, even the reads. This article is about a middle path we built into Polar Proxy: keep the transaction on the primary, but let its read statements borrow a replica connection.

原文:https://www.a8q9.cn/en/article/vadim-yatsenko-splitting-the-read-only-transaction-replica-reads-inside-an-open--7cf342.html

相关文章