public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] Authentication performance
@ 2024-12-13 16:21 Mark Schouten
  2024-12-16  8:59 ` Shannon Sterz
  0 siblings, 1 reply; 7+ messages in thread
From: Mark Schouten @ 2024-12-13 16:21 UTC (permalink / raw)
  To: pbs-devel


[-- 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-12-20 13:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-13 16:21 [pbs-devel] Authentication performance Mark Schouten
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

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