Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Optimise queueing of inbound replication commands #7861

Merged
merged 5 commits into from
Jul 16, 2020

Commits on Jul 15, 2020

  1. Optimise queueing of inbound replication commands

    When we get behind on replication, we tend to stack up background processes
    behind a linearizer. Bg processes are heavy (particularly with respect to
    prometheus metrics) and linearizers aren't terribly efficient once the queue
    gets long either.
    
    A better approach is to maintain a queue of requests to be processed, and
    nominate a single process to work its way through the queue.
    
    Fixes: #7444
    richvdh committed Jul 15, 2020
    Configuration menu
    Copy the full SHA
    1bc4e93 View commit details
    Browse the repository at this point in the history
  2. fix typo

    richvdh committed Jul 15, 2020
    Configuration menu
    Copy the full SHA
    a507496 View commit details
    Browse the repository at this point in the history
  3. fix typing errors

    richvdh committed Jul 15, 2020
    Configuration menu
    Copy the full SHA
    995a83f View commit details
    Browse the repository at this point in the history
  4. Import Deque from typing_extensions

    ... because stock `typing` doesn't have it in Python 3.5.
    richvdh committed Jul 15, 2020
    Configuration menu
    Copy the full SHA
    a839dd8 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2020

  1. Configuration menu
    Copy the full SHA
    4326de4 View commit details
    Browse the repository at this point in the history