473,473 Members | 1,886 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Using LDAP as an alternative for SQL trees

Lo group,

During my quest for the "perfect" way for storing tree-structures it
quickly became clear that all of the available SQL-solutions have their
own peculiar weaknesses (scalability, slow querying, dangerous inserts,
etc).

This makes me wonder if storing a tree-structure in LDAP would be a
realistic alternative? Scaling probably wouldn't be a problem but how
about speed and stuff?

To make things clearer I am thinking about retrieving all
path-info for my webbased application (up to the leafs which can be
comments, posts, links or whatever) from the LDAP server and then loading
the related data from a database.
Any insights/experiences would be highly appreciated,
SomeDude.
Sep 7 '05 #1
3 1705
I don't know what you mean by perfect. If I have a data structure I
want to save, I'd serialize it and store it somewhere, either in a file
or in text column in a database, so that I could recreate it in memory
later.

Sep 8 '05 #2
Have you considered using an xml-database ?

http://www.rpbourret.com/xml/ProdsNative.htm

Sep 8 '05 #3
On Thu, 08 Sep 2005 06:57:36 -0700, Chung Leong wrote:
I don't know what you mean by perfect. If I have a data structure I
want to save, I'd serialize it and store it somewhere, either in a file
or in text column in a database, so that I could recreate it in memory
later.


With perfect I mean an alternative way for storing large trees using a
method that will outdo the following common methods:
- adjacency method (easy but query intensive)
- Materialized path
- Joe Celko Nested Sets (or MPTT which has slow updates)
- Tropashko's Nested Intervals with Continued Fractions (that does not
size well to both fat and high trees)

Sep 8 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Anthony Baxter | last post by:
I'm looking for something (usable from python) that provides networked directory/registry type functionality to a bunch of Linux and Solaris servers. LDAP's one alternative, but the LDAP servers...
7
by: Sync Walantaji | last post by:
Hi, I would like to write a asp.net winform program to authenticate users on Active Directory. Can I do this with asp.net if the IIS server is not part of the Active directory domain? Is...
0
by: Johan | last post by:
Hi I'm using WMI to set and remove folderpermissions and it sems to work fine, sometimes. I start by having the folderpermissons manuly set to Everyone and Everone has full rights. When I'm...
6
by: Notgiven | last post by:
I am considering a large project and they currently use LDAP on MS platform. It would be moved to a LAMP platform. OpenLDAP is an option though I have not used it before. I do feel fairly...
29
by: 63q2o4i02 | last post by:
Hi, I'm interested in using python to start writing a CAD program for electrical design. I just got done reading Steven Rubin's book, I've used "real" EDA tools, and I have an MSEE, so I know what...
2
by: Jay | last post by:
Hi, This is Jay Mehta. I have this problem when using LDAP. I extract names and EmailId's of all those present from LDAP and populate in a datagrid. Now when run locally, it is running...
3
by: Robert Iver | last post by:
Hello, I am developing an application in C# using VS .NET 2005 that will be accessing and updating Active Directory via LDAP. So, far I have written the main portions, but now I am stuck on the...
0
by: choukse | last post by:
Hi All, I am trying to bind to ADAM instance with a windows user through JNDI and it keeps failing. My ADAM and AD is running on same Windows 2k3 server. But, through LDP I am able to bind with...
0
by: Sells, Fred | last post by:
I'm running python 2.5 (or 2.4) in an XP environment. I downloaded and installed the .dll's from OpenLDAP-2.4.8+OpenSSL-0.9.8g-Win32.zip and copied the .dll's in c:/windows/system32 as instructed...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.