Hi Andrew,

Thank you very much for your swift answers.

This was my fears and hopes ;-)

I have created a python script that synchronizes groups in an AD LDAP database 
to match groups and users in pts. It uses pts interactive and this speeds it up 
a little bit but not that much. The reads from the database goes really fast so 
there is no problem with the comparing. Only changes takes time. We have right 
now 22 groups and about 2650 users. A sync with a few updates takes around 2 
minutes and I think that is ok. I'm thinking about using the timestamp on the 
group object to see if it has changed since the last sync too to make it even 
faster.

I don't think that it is very important to make the change actions faster in 
pts even if it would be nice. I can imagine that there are other stuff that are 
way more interesting... maybe an LDAP based PTS/VLDB ;-)

--
Emil

-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Andrew Deason
Sent: torsdag den 18 november 2010 16:37
To: [email protected]
Subject: [OpenAFS] Re: Speed up pts actions

On Thu, 18 Nov 2010 15:10:08 +0100
"Assarsson, Emil" <[email protected]> wrote:

> Are there any ways to speed up pts interactions like createuser etc?

Oh, also, if you're not already using 'pts interactive' or 'pts source',
using those may alleviate some overhead for bulk operations. But they
still will commit the db for every change.

-- 
Andrew Deason
[email protected]

_______________________________________________
OpenAFS-info mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-info
_______________________________________________
OpenAFS-info mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-info

Reply via email to