Skip to Content.
Sympa Menu

grouper-dev - Re: [grouper-dev] ldappc-ng and openspml thread safety

Subject: Grouper Developers Forum

List archive

Re: [grouper-dev] ldappc-ng and openspml thread safety


Chronological Thread 
  • From: Tom Zeller <>
  • To: Chris Hyzer <>
  • Cc: Grouper Dev <>
  • Subject: Re: [grouper-dev] ldappc-ng and openspml thread safety
  • Date: Tue, 26 Jan 2010 16:15:23 -0600
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=qygMnwIvPqOuVEL06srrmyNzTPFiuBLJReepzdwj3yuONxucICu2JyD7L005CkZrBW 040gwb57VWAuWFcrEHNBMySCRCh0tCYQ1luIl8GpBt/mv9gA/DTC5Rhy0pKW9h62HYAN SThrbSbjNZf2L9EJtOH+nybbm1roUMxaZiBkw=

I was thinking there would be one thread per provisioned target. The
optimization here is that grouper would only have to be queried once
for source data (the attribute resolver), and then these attributes
would be passed to each target.

Perhaps I should assume single-threadedness for now, make sure the
code we write is thread safe, and consider multi-threadedness later.

On Tue, Jan 26, 2010 at 10:25 AM, Chris Hyzer
<>
wrote:
> We could synchronize the access to the spml library on the same object.
> Or do we need it to be more efficient where we need multiple threads doing
> things at the same time? (i.e. even with WS having an operation which says
> 'provision now, something changed', we could set a timer so that it doesn't
> necessarily provision, but waits 5 seconds, then provisions, and in the
> meantime, if more 'provision now' requests arrive, they are ignored)
>
> Thanks,
> Chris
>
> -----Original Message-----
> From:
>
>
> [mailto:]
> On Behalf Of Tom Zeller
> Sent: Tuesday, January 26, 2010 10:49 AM
> To: Grouper Dev
> Subject: [grouper-dev] ldappc-ng and openspml thread safety
>
> The openspml library currently used by ldappc-ng is not always thread
> safe (https://openspml.dev.java.net/issues/show_bug.cgi?id=5). It's
> good that there is now some sort of development process underway for
> openspml.
>
> If, one day, we expose provisioning via grouper-ws, I assume thread
> safety is an issue. Besides finding another spml implementation, is
> there a way to configure tomcat or code grouper-ws to workaround
> thread safety issues ?
>
> TomZ
>



Archive powered by MHonArc 2.6.16.

Top of Page