public inbox for pdm-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: pdm-devel@lists.proxmox.com, Dominik Csapak <d.csapak@proxmox.com>
Subject: applied: [PATCH datacenter-manager v2 0/4] implement back-off mechanism for connection errors for remotes
Date: Mon, 22 Jun 2026 20:13:27 +0200	[thread overview]
Message-ID: <178215200489.2888775.18421259188232230100.b4-ty@b4> (raw)
In-Reply-To: <20260608132539.2949407-1-d.csapak@proxmox.com>

On Mon, 08 Jun 2026 15:25:28 +0200, Dominik Csapak wrote:
> When a remote is not reachable (e.g. network outage, crashes, etc), PDM
> tries to connect on every attempt with a timeout. This leads to heavily
> delayed api calls in the PDM UI. To counter that, this series implements
> a basic back-off mechanism that increases the time between actual api
> calls in an exponential way (up to a maximum).
> 
> For details on how the back-off mechanism works see patch 1/4
> 
> [...]

Would have welcomed some more feedback from others, but given that this is
basically just internal with no config, state file nor API exposure, it
bascially can only improve the status quo, and if there are other ideas in
the future we can still rework this relatively freely.

Applied, thanks!

[1/4] server: remote cache: prepare for back-off mechanism
      commit: 8f70828f8d88105dbe2c9b11a7b3731e9342414b
[2/4] server: remote cache: introduce canary remote when none is reachable
      commit: bc68a91d9a1d1ac3a9fecadcd0cfce17cccb7bbe
[3/4] server: connection: multi-client: use back-off state from remote cache
      commit: 41d60dd863d398dcd69b6993b1903eff55eb459d
[4/4] tasks: remote node mapping: use host cache for PBS too
      commit: e380d2ddd6b3ea0fd0b3c732b1f668536aed297c




      parent reply	other threads:[~2026-06-22 18:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-08 13:25 [PATCH datacenter-manager v2 0/4] implement back-off mechanism for connection errors for remotes Dominik Csapak
2026-06-08 13:25 ` [PATCH datacenter-manager v2 1/4] server: remote cache: prepare for back-off mechanism Dominik Csapak
2026-06-08 13:25 ` [PATCH datacenter-manager v2 2/4] server: remote cache: introduce canary remote when none is reachable Dominik Csapak
2026-06-08 13:25 ` [PATCH datacenter-manager v2 3/4] server: connection: multi-client: use back-off state from remote cache Dominik Csapak
2026-06-08 13:25 ` [PATCH datacenter-manager v2 4/4] tasks: remote node mapping: use host cache for PBS too Dominik Csapak
2026-06-22 18:13 ` Thomas Lamprecht [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178215200489.2888775.18421259188232230100.b4-ty@b4 \
    --to=t.lamprecht@proxmox.com \
    --cc=d.csapak@proxmox.com \
    --cc=pdm-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal