Re: LDAP in php

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 3, 2008 at 2:22 PM, pobox@xxxxxxxxxxxxx <pobox@xxxxxxxxxxxxx>
wrote:

> I am 100% aware of the fact that LDAP is a read optimized database (though
> I am not sure where this optimization goes when back end is PostgreSQL, for
> example - the LDAP "commands" seem simple and re-writing them into SQL can't
> be so much overhead; the explanation might be that PostgreSQL powered LDAP
> is not as fast as... - whatever, I'm not an expert and this analysis is not
> my goal, not now.).


afaik, the performance degrades severly; and its a little more complicated
to map to sql than one might initially suspect
http://www.openldap.org/doc/admin24/intro.html#LDAP%20vs%20RDBMS

> PHP is probably not going to give you blazing fast performance
> compared to an off-the-shelf LDAP server in C.
>

100% aware of that.
>


the other key facet of the open ldap (assume this implementation is what
were discussing [sorry if its an oversight]) is the use of berkdb internally
for which there is no php extension.  if im not mistaken, the 'queries' are
compiled directly into the source.

i know your reqs for ldap usage are small, but im thinking it would be much
more straight-forward and less time consuming to just setup ldap, write some
php scripts to map / sync data from ur relational db to it and point the
client software to said ldap installation.

-nathan

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux