为什么 LDAP 没有流行?
我们开始使用 LDAP,我想知道为什么 LDAP 没有那么流行? 我读到它的读取速度比数据库更快,但写入速度较慢。
编辑:
这是我第一次使用 LDAP,而且我已经在企业中编程一段时间了。 这就是为什么我认为它不受欢迎的原因,而且我在学校从未听说过它。
We start to use LDAP and I wonder why LDAP is not that popular? I read that it has faster reads than database, however slower writes.
EDIT:
Its the first time i use LDAP and i have been programming in enterprise for sometime now. That is the reason why i thought its not popular, plus i never heard about it at school.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
我认为 OP 指的是使用 LDAP 类型数据(阅读:分层数据库)作为应用程序数据的存储机制。
虽然很明显大多数网络登录都是基于 LDAP 的,但确实绝大多数业务系统都是基于关系数据模型,很少是基于分层数据模型。
假设这是这里真正的问题:),我将提供一些部分答案,这些答案一起可能完全回答您的问题:
I think the OP was referring to the use of LDAP-type data (read: hierarchical databases), as a storage mechanism for application data.
While its quite obvious that most network logons are based on LDAP under the covers, it is true that a huge majority of business systems are based on the relational-data model, and very few are based on a hierarchical-data model.
Assuming this is the real question here :), I would provide a few partial answers, that together probably fully answer your question:
您如何得出 LDAP 不流行的结论?
在我工作过的每家大公司中,他们都使用 LDAP 作为访问用户信息中央存储库的方式。
与数据库的比较有点奇怪。 LDAP 是一种协议,而数据库是一个涵盖一大堆产品的术语。 说 LDAP 比数据库更快/更慢就像说 HTTP 比 Web 服务器更快/更慢,特别是因为我希望在每个 LDAP 存储库后面找到某种数据库(甚至可能是关系数据库)。
How do you come to the conclusion that LDAP is not popular?
In every larger company I worked for they used LDAP as a way to access the central repository of user information.
The comparison to databases is a little weird. LDAP is a protocol, while a database is a term covering a whole bunch of products. Stating that LDAP is faster/slower than a database is like saying HTTP is faster/slower than a webserver, especially since I'd expect to find some kind of database (possibly even a relational database) behind every single LDAP repository.
LDAP 非常流行——它是 Windows Active Directory 使用的协议,(这里是轻描淡写)相当广泛。
LDAP is very popular -- it's the protocol used by Windows Active Directory, which is (an understatement here) fairly widespread.
LDAP 很棒,它是单点登录和内部工具的绝佳工具。
不确定您所说的比数据库更快的读取是什么意思,它通常从服务器运行,并且通过网络处理身份验证。
它的设计是一个少写多读的系统,但它确实为您提供的不仅仅是数据库中的一个简单的用户表,它还为您处理身份验证,因此您可以将其插入您需要的任何系统。
在工作中,我们将它用于 ssh、NFS、内联网访问、内部工具等等。 如果您使用数据库,则需要在许多不同的系统之间复制身份验证代码。
LDAP is great, its an awesome tool for single sign on and internal tools.
Not sure what you mean about faster reads than a database, it's generally run from a server, and authentication is handled over the wire.
It's by design a write-few read-many system, but it does give you more than just a simple users table in a database, it handles authentication for you, so you can plug it into whatever systems you need.
At work we use it for ssh, NFS, intranet access, internal tools, everything. If you used a DB you would need to replicate the authentication code among lots of different systems.
我认为你说它不受欢迎有点不靠谱。 如果它不受欢迎,你可能不会问这个问题。 然而,我确实认为它的符号和使用有点复杂,并且为相对简单的任务创建了较高的门槛,这可能会影响其采用率。
I think your a little off-base on saying it is not popular. If it wasn't popular you probably wouldn't be asking the question. However, I do think its notation and use is a bit complex and creates a high-bar of entry for a relatively simple task and this may have an effect on its adoption rate.