[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: random topics
- To: Howard Chu <hyc@symas.com>
- Subject: Re: random topics
- From: Ryan Steele <ryan.g.steele@gmail.com>
- Date: Fri, 25 Sep 2009 10:05:55 -0400
- Cc: OpenLDAP Devel <openldap-devel@openldap.org>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=AZN1twCbPwa0FeRxNfBqQbusUZXt/pp/o+Qv92OUPUo=; b=E39zzK6+yIS0+xOCmtOzE5xjsOi3VcZkGTNrrI6ub1aHZOyZLkFJJVVV90ryRxUFXi jqVcRVaWlLHHH7uzVFcLyiKtsE7wuJ6UnFSOx+SIayWheRxJ8RHVp68+amLBj+EpQQwQ zI5F/6uM0dZdzs4NwMP7CzKq39TyUb0alrdmk=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=WlzVx4Gtzr/KrWBALTXr67v0XI6Z+lNibxqWAOiFIb6WvB7iXdBYw8j5rXfJ0L3nRf vO/CKbc4secNVRYBGjJuDMmTf4MfAjvOhF6YjrmeUdRkbnwRgaHCKS6D6GXZZRjzqt7U U1XTr3VovVR2ur9cKMICWIaqVx5XJizYbgdz0=
- In-reply-to: <4ABB0DF0.9050509@symas.com>
- References: <4ABB0DF0.9050509@symas.com>
- User-agent: Thunderbird 2.0.0.19 (X11/20090105)
Howard Chu wrote:
> Some of these should go onto the roadmap or TODO list. Just scribbling
> them down here before I forget.
>
> Had a chat with tridge and abartlet about the LDAP TXN support they're
> looking for with Samba4. One of their requirements was being able to do
> reads inside the TXN, and that is explicitly not supported by the LDAP
> TXN draft. But after talking a bit more about how they do things in LDB,
> we decided to take the same approach here - LDB only allows one writer
> when a TXN is active. We can write a (global) overlay that gives this
> same behavior, and then not have to worry about any of the other TXN
> details.
Interesting. Just out of curiosity, this won't change or expand the core spec since it's going to be implemented as an
overlay, correct?
> While thinking about back-mdb, I realized that since we're mapping
> storage to memory we don't really need a traditional disk-DB structure.
> Instead we can just manage the space as its own heap and use in-memory
> structures like AVL trees and such. I've been thinking about extending
> our current AVL library to a T-tree implementation. Further reading
> along those lines led me to Cache-Sensitive T-trees (CST-Trees) which
> also have the important property of being friendly to CPU cacheline
> sizes, and so behaving a lot better in multi-processor systems. This is
> a pretty generic project - if anyone's been looking for a relatively
> self-contained bit of work they could contribute, this would be ideal.
> You can get the paper here:
>
> http://ids.snu.ac.kr/wiki/CST-Trees:_Cache_Sensitive_T-Trees
Thanks for the reference. Anything in particular you think would help acclimate those unfamiliar with the existing code
base to our current AVL libraries and implementations?
> Also a completely fringe topic, but still interesting - we've got
> OpenLDAP running well on Android now; on a G1 phone. But it's still just
> a set of command-line tools. UnboundID showed off their Java LDAP SDK in
> a simple app also running on Android. A combination of these two would
> make an extremely powerful package:
>
> Develop a canned slapd config that uses syncrepl to sync with a remote
> LDAP address book. Use proxied multimaster, to allow local changes to be
> propagated back to the remote directory. Write a java app that uses LDAP
> for the G1's contact book backend instead of the SQLite ****stuff that
> it's currently using. Accomplishing this will necessitate writing a few
> GUI menus for configuring the handful of variables needed for the slapd
> config.
Neat! I'd love to configure my G1 to behave this way. So, is there an open invitation to brainstorm/make suggestions
for/write a GUI front-end in collaboration with the Project's developers (mostly for their approval, review, et cetera)?
> More ideas later...
All really good stuff, Howard, thanks for sharing it! Wish I could have been there, sounds like it was a really
interesting collection of dialogues. Looking forward to hearing more from you and the other attendees!
Respectfully,
Ryan