When to use LDAP over a database?

前端 未结 6 1315
你的背包
你的背包 2021-02-05 01:56

When should I use LDAP vs. database/key-value-store/column-oriented-database/etc?

6条回答
  •  情歌与酒
    2021-02-05 02:43

    LDAP can be considered a database. But I'm assuming that you mean SQL databases.

    LDAP data stores are for systems with high number of reads compared to writes. While other databases such as SQL stores are designed for transactional data usage (high read and writes).

    This is why LDAP is a directory protocol. It's well suited to directories where you read lots and write hardly.

    From here

    LDAP is characterised as a 'write-once-read-many-times' service. That is to say, the type of data that would normally be stored in an LDAP service would not be expected to change on every access. To illustrate: LDAP would NOT be suitable for maintaining banking transaction records since, by their nature, they change on every access (transaction). LDAP would, however, be eminently suitable for maintaining details of the bank branches, hours of opening, employees etc..

    And this is another good intro here - LDAP vs RDBMS

提交回复
热议问题