Re: Syncrep and improving latency due to WAL throttling - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Syncrep and improving latency due to WAL throttling
Date
Msg-id 20230127082046.ydzyufv4xrpkp6t3@alvherre.pgsql
Whole thread Raw
In response to Re: Syncrep and improving latency due to WAL throttling  (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>)
Responses Re: Syncrep and improving latency due to WAL throttling
List pgsql-hackers
On 2023-Jan-27, Bharath Rupireddy wrote:

> Looking at the patch, the feature, in its current shape, focuses on
> improving replication lag (by throttling WAL on the primary) only when
> synchronous replication is enabled. Why is that? Why can't we design
> it for replication in general (async, sync, and logical replication)?
> 
> Keeping replication lag under check enables one to provide a better
> RPO guarantee

Hmm, but you can already do that by tuning walwriter, no?

-- 
Álvaro Herrera



pgsql-hackers by date:

Previous
From: "Takamichi Osumi (Fujitsu)"
Date:
Subject: RE: Time delayed LR (WAS Re: logical replication restrictions)
Next
From: Andres Freund
Date:
Subject: Re: New strategies for freezing, advancing relfrozenxid early