load analysis for idp?

Steve Thorpe thorpe at mailbox.mcnc.org
Tue Oct 18 19:55:17 BST 2011


Hello Jean,

Around April 2010 I experimented with some scripted "stress testing" of 
a relatively tiny IdP.  This was done using the perl WWW:Mechanize 
module, and it simulated many user browsers doing rapid-fire end-to-end 
login attempts (SP -> WAYF -> IdP -> SP).  At that time I was able to 
get at least 150-200 successful logins per minute (which would equate to 
more than 200K logins per day).  This was using an IdP on a tiny guest 
VM with 512 MB of RAM, running on relatively slow (old) host hardware. 
I expect if the IdP's VM had more memory and was running on more recent 
hardware, it could have successfully handled many more than 200 logins 
per minute.

Extrapolating from those results, my guess is to process 20,000 logins 
per day should be very doable on most VMs.  Of course, as always YMMV.

If you'd like a copy of the basic perl script I used, just let me know 
and I'll try to locate it and sanitize it a bit.

Best wishes,

Steve


On 10/18/11 10:42 AM, Jean Robertson wrote:
> Hello,
>
> We are currently looking at increasing the load on our small shibboleth
> IdProvider.
>
> Has anyone seen problems scaling the IdProvider?
>
> Ours is on a vmware virtual machine.
>
> We will need to handle 20,000 logins per day.
>
> How does the software and or hardware scale?
>
> How much memory or CPU horsepower is needed for a load of 20,000 logins?
>
> Any ideas about this?
>
> Thanks,
>
> Jean
>

-- 
Steve Thorpe
Systems Programmer/Analyst, MCNC
Email: thorpe at mcnc.org
Office: 919-248-1161
Mobile: 919-724-9654
Skype/AIM: thorpe682

Connecting North Carolina's Future Today


More information about the users mailing list