[pbs-devel] [PATCH proxmox 1/2] http: factor out PBS shared rate limiter implementation

Thomas Lamprecht t.lamprecht at proxmox.com
Mon Sep 15 21:10:18 CEST 2025


Am 28.08.25 um 12:26 schrieb Christian Ebner:
> Moves the current shared rate limiter implementation from the Proxmox
> Backup Server into proxmox-http for it to be reusable, e.g. for s3
> client rate limiting.

Two things:
1. There is still the PROXMOX_BACKUP_SHARED_RATE_LIMITER_MAGIC_1_0 references
   to PBS that should be made generic in naming, otherwise it might be confusing.

2. Should the this and the existing RateLimiter go into their own crate? They
   are not really tied to being used with HTTP after all, token bucket filter
   are a rather generic concept and besides the central module entry point lib.rs
   you do not touch any file from the crate here. What do you think?






More information about the pbs-devel mailing list