Return-Path: X-Original-To: apmail-directory-users-archive@www.apache.org Delivered-To: apmail-directory-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F2A94101F7 for ; Fri, 6 Dec 2013 14:59:26 +0000 (UTC) Received: (qmail 56704 invoked by uid 500); 6 Dec 2013 14:59:26 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 56653 invoked by uid 500); 6 Dec 2013 14:59:26 -0000 Mailing-List: contact users-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@directory.apache.org Delivered-To: mailing list users@directory.apache.org Received: (qmail 56645 invoked by uid 99); 6 Dec 2013 14:59:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Dec 2013 14:59:25 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ayyagarikiran@gmail.com designates 209.85.212.174 as permitted sender) Received: from [209.85.212.174] (HELO mail-wi0-f174.google.com) (209.85.212.174) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Dec 2013 14:59:19 +0000 Received: by mail-wi0-f174.google.com with SMTP id z2so984626wiv.1 for ; Fri, 06 Dec 2013 06:58:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=fPbGBDsUwnjvQGwQnUuGIDy7WslEqJiW4Dr/VFskwmE=; b=AM6/JSubQTlGl/7+aldsrc3IFckcYu/pgK5C+YbJzIaEyXjsRn3md4cCSgpOIrbUx6 6TuYTHecYpTolFEOD8fAV6TqodJdL/bbwnHhVx2qgS6Gvxxb5K37gTBp/8i1eyuuh4AO JA+IYHhhMMx1pxWwvr1jPjiXOf/iYqVyyZWH8LyzdN/aMPs4iR0rq5HlCt+k7YRYPxcg aVJQU5s4oVYwrFUI+n147Z7JP1d2VSu0Ekac5cm/E5frsRRP7Cti9INzOKiUJzmZvDUm ZmxbR4K+9sMHvlF2U5mitMkqp7ULRem26hDFygExI9lWKoDmO5ZY54ufyoCV61M6+90C iU1Q== MIME-Version: 1.0 X-Received: by 10.180.211.199 with SMTP id ne7mr1153949wic.6.1386341939141; Fri, 06 Dec 2013 06:58:59 -0800 (PST) Sender: ayyagarikiran@gmail.com Received: by 10.216.166.194 with HTTP; Fri, 6 Dec 2013 06:58:59 -0800 (PST) In-Reply-To: References: Date: Fri, 6 Dec 2013 20:28:59 +0530 X-Google-Sender-Auth: mOR0ObfCFGAdWfAI0jlmeME73mc Message-ID: Subject: Re: Sizing and configuration of ApacheDS for production From: Kiran Ayyagari To: users@directory.apache.org Content-Type: multipart/alternative; boundary=001a11c3473ad1e48004ecdee229 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c3473ad1e48004ecdee229 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On Fri, Dec 6, 2013 at 8:17 PM, J=F6rg Maa=DF wrote: > Dear all, > > here=92s a couple of questions or you savvy guys: > > We plan to use two ApacheDS servers in a multi master replication > configuration with load balancers in front for a production setup. > At present, we have about 30.000 entries in a domain in three trees. The > trees are pretty flat, with a maximum depth of three layers (e.g. > ou=3Dbla,ou=3Dblub,ou=3Dwhatever) > The frontend server have a connection pool of 400 connections towards the > LDAP servers each. > All relevant attributes that are being looked up are indexed with an inde= x > size of 10000 each. > The current number of nbthreads per server are 150. > The search strategy is somewhat awkward: the application looks up an > Orgunit and retrieves all child objects, then applies an AND filter to so= rt > out the objects it needs. > like you said, it _is_, well may be that is based on the need however this is likely to give the end users a 'slow' feeling due to the filtering and re-search by the client(web application?) even when server performs each search better (w.r.t response time). > The JVMs for ApacheDS have 2 GB memory each. > I would strongly suggest you to use the latest trunk(nothing to be scared of, IMO it is stable enough, and you can give a try in your test env) to utilize the recent changes done in cache management and this will definitely help in boosting the search performance in this environment that is equipped with good resources. Please let us know if you run into any problems. > Can you give us some hints as to optimize the performance of this setup? > > Thanks a lot in advance! > > > What we see with the he > Mit freundlichen Gr=FC=DFen > > > > J=F6rg Maa=DF > -- > T: +49 6027 409219 > M: +49 178 5352364 > F: +49 6027 409220 > W: http://www.eacg.de > ---- > EACG GmbH > Enterprise Architecture Consulting Group > OpernTurm 16.OG, Bockenheimer Landstra=DFe 2-4, 60306 Frankfurt am Main > Handelsregister Frankfurt am Main HRB 84852 > Gesch=E4ftsf=FChrer: Jan Thielscher > > --=20 Kiran Ayyagari http://keydap.com --001a11c3473ad1e48004ecdee229--