From: "Mark Schouten" <mark@tuxis.nl>
To: pbs-devel <pbs-devel@lists.proxmox.com>
Subject: [pbs-devel] Authentication performance
Date: Fri, 13 Dec 2024 16:21:02 +0000 [thread overview]
Message-ID: <ema6032dba-8585-4377-bec1-11a37159087c@192dede7.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1433 bytes --]
Hi All,
As you may know, we offer free PBS accounts up to 150GB and this is
quite popular. So popular, that I am seeing performance issues on the
PBS-end. Yesterday, we rebooted a PBS and directly after booting, the
load was about 14, without any running tasks.
I think one of the obvious bottlenecks is authentication, as we’re using
PBS in a slightly different manner than it was probably initially
intended. Because we’re currently doing about 240 succesful
authentication-requests per second (on average) on this server.
But we do notice that the PBS is responding slow, even though there are
not that many tasks. Which leads me to believe that if we can tweak the
authentication process, OR one of the calls that a PVE cluster is doing
on the PBS.
I’m thinking one of these two calls:
1879332 GET /api2/json/admin/datastore (on average 30 per second)
14587762 POST /api2/json/access/ticket. (on average 238 per second)
Where the number is the amount of requests today, so far.
Again, I know this is a different situation from normal, but if we can
improve PBS even further. My knowledge of Rust is minimal, but if
someone can point me to the logic here, I may be able to see possible
improvements myself. Although you guys are probably much more capable at
that.
Let me know what you think, thanks!
—
Mark Schouten
CTO, Tuxis B.V.
+31 318 200208 / mark@tuxis.nl
[-- Attachment #1.2: Type: text/html, Size: 2979 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
pbs-devel mailing list
pbs-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel
next reply other threads:[~2024-12-13 16:51 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-13 16:21 Mark Schouten [this message]
2024-12-16 8:59 ` Shannon Sterz
2024-12-16 11:23 ` Mark Schouten
2024-12-16 11:51 ` Shannon Sterz
2024-12-16 13:01 ` Mark Schouten
2024-12-19 9:56 ` Mark Schouten
2024-12-20 13:22 ` Shannon Sterz
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=ema6032dba-8585-4377-bec1-11a37159087c@192dede7.com \
--to=mark@tuxis.nl \
--cc=pbs-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