Tags:
create new tag
view all tags

Question

I have alot of custom work implemented to mimic our Active Directory structure as TWiki groups. In doing so, there are around 115 groups. Because of the unique implementation and AD structure (multiple CNs for users), LDAP contrib is not an option.

Because I have so many groups, I am seeing around a 2-second delay for every topic to load. I assume it is because of the underlying ACL checking because only TWiki Admins do not see this delay.

Is there anything that I can do to remove this delay?

Environment

TWiki version: TWikiRelease04x01x02
TWiki plugins: CalendarPlugin, CommentPlugin, EditTablePlugin, InterwikiPlugin, MathModePlugin, PreferencesPlugin, RedirectPlugin, SlideShowPlugin, SmiliesPlugin, SpreadSheetPlugin, TablePlugin, TwistyPlugin
Server OS: SLES 10 SP1, kernel 2.6.16.46-0.12-bigsmp
Web server: Apache 2.2.4
Perl version: 5.8.7
Client OS: MS Windows XP
Web Browser: Netscape, IE
Categories: Performance

-- JosephMecca - 11 Sep 2008

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

presumably your best bet is to add LDAP caching so requests are not made to the AD server every twiki request?

-- SvenDowideit - 12 Sep 2008

Sven, thanks for replying so quickly. I have a process which runs on the server each morning. This process queries AD, based on configurable parameters, such as containers to search and can handle multiple containers which house our groups. It then creates the GroupNameGroup.txt files, based on an empty group template and populates it with the wikinames for each group. All of the files are located in the twiki/data/Main directory on the server. TWiki never goes to LDAP, it is all done via this process, which is outside of TWiki.

It seems that just having a large number of TWiki groups is adding this performance hit, not querying LDAP. How can this be improved?

-- JosephMecca - 15 Sep 2008

If you have alot of users and groups, I would suggest using the LdapContrib (which does do cacheing as i understand it), or HTTPDUserAdminContrib, which I wrote for larger scale twiki's.

-- SvenDowideit - 15 Sep 2008

Closing after more than 30 days. Please reopen with more details if needed...

-- PeterThoeny - 06 Nov 2008

Change status to:
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2008-11-06 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.