Skip to Content.
Sympa Menu

grouper-dev - Re: [grouper-dev] Subject API Slowness

Subject: Grouper Developers Forum

List archive

Re: [grouper-dev] Subject API Slowness

Chronological Thread 
  • From: "Ellen Sluss" <>
  • To: "Mark Weber" <>
  • Cc:
  • Subject: Re: [grouper-dev] Subject API Slowness
  • Date: Sat, 30 Sep 2006 10:11:03 -0500
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta;; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=BBaxvxvK6N7ryZgKyfyZfaD3gf+bZP2GJ5AhGs5J0WARHIzTnLdgpTR0qsJrr14qN8V7puhuex4z3EA9E5SqwnnH0zMgm1wdNNuzYYEmW1Vec3GMT6CqRf3qNpaf2MqzsjLxZwa6jTuT3kA9WsUD1qYAjZ2Av3oGM4USl2VWjYI=

I remember when I first started using grouper I found it very slow.
Then I discovered that I was at the memory limits of my jvm. So
I increased the size using JAVA_OPTS= "-Xmx512m" .


On 9/29/06, Mark Weber
We've started doing some initial load testing and found that it's pretty
slow. Our initial estimates put a full load of our population into
grouper, via the xml-import facility, would take about 8 days.

I think I've narrowed it down to the Subject API. Specifically the
Subject API configured using JNDI/LDAP adapter. For Instance, the UI
takes 74 seconds to load the " All Groups - Current subjects with
[xyz] privilege" page. It displays the first 50 members and creates a
connection, bind, search, result, unbind, and disconnect for each person
on the page. Same with the xml-import.

I noticed that on the import, for each subject, the API handles each
request discretely (connect, bind, query disconnect) instead of in mass
(connect, bind, query, query, query...unbind). And it's possible (and
likely) that I just have it mis-configured. So, is there some
configuration option that allows for connection pooling within the
subject API when it's using LDAP?


This is an assumption, but if we used the jdbc source adapter instead,
would it use connection pooling and thereby eliminate the problem

.Mark G. Weber----------------------Division of Information Technology.
University Of Wisconsin - Madison|
|608/263.8945 Room 3159 Computer Science|

Ellen Sluss
cell 773-218-1700
home 773-684-0665

Archive powered by MHonArc 2.6.16.

Top of Page