Optimizing IdP's performance

Daniel Fisher dfisher at vt.edu
Mon Aug 1 18:07:17 BST 2011


On Mon, Aug 1, 2011 at 10:46 AM, Manuel Haim <haim at hrz.uni-marburg.de>wrote:

> Chad,
>
> thank you for your response and helpful recommendations.
>
> > I *strongly* discourage people from simply creating the DN from given
> > input from the user.  It's a very brittle setup and I would remove any
> > such suggestion added to the wiki.  If that extra search, done via
> > pooled connections, is such a onerous amount of work then the problem
> > is with your LDAP.
>
> Well, yes. However, it seems that the SearchDnResolver does not make use
> of pooled connections yet. In our setup, this not only impaired the
> latency, but also resulted in less logins per second (compared to using
> a static DN). Is connection pooling planned here for a future release?
>
>
Early versions of the 2.x IDP attempted to use connection pooling for DN
resolution, with mixed results due to some bugs. Ultimately we decided it
simply violated the stateless nature of JAAS and moved to the current
implementation which opens and closes a connection for every DN lookup. Open
a feature request for this, it's a good time for me to review this again.

--Daniel Fisher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/users/attachments/20110801/395f0b57/attachment-0001.html 


More information about the users mailing list