[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: collective attributes (the hard way)



Brett @Google wrote:
On Sun, Sep 7, 2008 at 4:32 AM, Howard Chu <hyc@symas.com
<mailto:hyc@symas.com>> wrote:

    But the more general problem - yes, there needs to be a piece of
    code that keeps a list of (objectclass=subentry) and applies the
    relevant behaviors to each. Doing this correctly would introduce a
    quite different administrative model to the server, and would
    require quite a lot of architectural changes.


Overlays are single threaded, but can they themselves have private worker threads? I guess that this would depend how much the worker thread could do without using the overlay's (single threaded) callbacks / resources etc., and it would need to update the meta data in paralel so as to not block use of the meta information by the overlay proper (and lock access to pointers which might change when the metadata is updated).

Overlays are not single-threaded, so the rest of this question is moot.

--
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/