[OpenSAML] OpenSAML Performance

21 views
Skip to first unread message

Ted Hesselroth

unread,
Dec 4, 2009, 2:51:04 PM12/4/09
to mace-open...@internet2.edu, Ted Hesselroth
We are using opensaml-2.2.0 in a client-server application. We also have
a legacy service using opensaml-1.0.1 in the same container. In our
tests, we can authorize with the legacy service at 50 Hz, but with 2.2.0
the rate is only 10 Hz. We are passing a bit more information in the
newer application, but not five times as much.

Is there a general performance difference between the two versions?
Would going to a version higher than 2.2.0 help? Is there some
understanding of where the bottlenecks occur in opensaml-2.2.0, such
that we might change our implementation to avoid them?

Thanks for any responses. If anyone has a link to other performance
testing of opensaml, we would appreciate knowing about it.

Ted Hesselroth

Chad La Joie

unread,
Dec 5, 2009, 8:22:56 AM12/5/09
to mace-open...@internet2.edu
I do not know of any performance issues with the library.

Have you done any diagnostics to determine what is taking up the time?
"It's slow" doesn't provide much to go on.

--
SWITCH
Serving Swiss Universities
--------------------------
Chad La Joie, Software Engineer, Net Services
Werdstrasse 2, P.O. Box, 8021 Zürich, Switzerland
phone +41 44 268 15 75, fax +41 44 268 15 68
chad....@switch.ch, http://www.switch.ch

Chad La Joie

unread,
Dec 6, 2009, 3:34:58 AM12/6/09
to mace-open...@internet2.edu
The other thing I can recommend is to consider getting a trial copy of
YourKit Java Profiler. I've used it to profile the IdP and it works
pretty well. It would certainly help you isolate exactly what is taking
up your invocation time.

--

Ted Hesselroth

unread,
Dec 7, 2009, 11:41:01 AM12/7/09
to mace-open...@internet2.edu
Thanks. We have a license for JProfiler, so I'll probably use that. I
will let you know what I find vis-a-vis opensaml.
Reply all
Reply to author
Forward
0 new messages