Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Directory Service vs Relational Database

 
azhar bharat
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What are the benefits of using a Directory Service as opposed to a user database in a relational database system like mysql?

Please note that the context need not be security and authentication only. The user data in question might be used for other purposes too.
 
srini Raman
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Directory service is optimized for reading . If the data rarely changes and of course maintains a hierarchy we have to go with directory service.Otherwise database should be used.
 
azhar bharat
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it advisable to use both in a web app.
Like say, in an ecommerce application, can I have user info in a directory service and other info like product info in relational database?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic