Sorry Laurenz, My reply did not get threaded appropriately. My original question was here: https://www.postgresql.org/message-id/a74d5732-60fd-d18b-05fd-7b2b97099f19%40imap.cc I'd like to prioritize walsender for replication not to lag too much.Otherwise, when I have load spikes on master, standby lags, sometimes by hundreds of gigabytes.
Best, Alex