On Fri, Feb 6, 2015 at 1:14 AM, David Paulsen <[email protected]> wrote:
> Kiran Ayyagari <kayyagari@...> writes: > > > > > On Thu, Feb 5, 2015 at 12:17 PM, Emmanuel Lécharny <[email protected]> > > wrote: > > > > > Le 03/02/15 16:36, Kiran Ayyagari a écrit : > > > > On Tue, Feb 3, 2015 at 10:57 PM, David Paulsen <dave.paulsen@...> > > > > wrote: > > > > > > > >> Hello... > > > >> > > > >> Our application is a hosted, multi-tenant application where we have > > > 1000's > > > >> organzations (ou's), with each having it's own password policy. I > have a > > > >> Java > > > >> utility that adds all the policies to ApacheDS. Adding the first few > > > >> hundred > > > >> adds take 2-3 seconds each, which is OK. But as the number of > policies > > > >> increases, the time to add new policies steadily increases too. For > > > >> example, > > > >> adding the 5300th (yes we have that many!) takes about 15 seconds. > Note > > > >> that > > > >> the time to add orgs (ou's) and users (uid's) stays pretty constant > > > (200- > > > >> 500ms) > > > >> > > > > this is expected, cause the configuration is stored in a text file > > > > and each update on this partition results in re-writing the entire > config > > > > file > > > > > > I wonder if there is not a way to tell the server to use the multi-file > > > version of the config, which would make it much faster... > > > > > > no, instead we might have to think of completely moving to this new > > format > > > If there is any way to make this perform better I would really appreciate > it! > > Are there any options in the short term I have for making this perform? > For example, can I configure the server to write changes to disk in batches > (rather that for every change) while performing a mass import of data? Any > other ideas? > I am currently looking to improve this, please watch this thread for updates -- Kiran Ayyagari http://keydap.com
