[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Overlays and OpenLDAP multi-threading model
- To: openldap-technical@openldap.org
- Subject: Overlays and OpenLDAP multi-threading model
- From: Lucas Brasilino <lucas.brasilino@gmail.com>
- Date: Wed, 16 Jun 2010 10:00:33 -0300
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=h4fSmFV6/v2hgRyfo+IuCt0eUFmAeyJRIiwAhORZKRA=; b=ZXiNzAwknqRKxHtmuKWEVqpFQ7jJeQpd9b63ll0YKnE71ycxKIyozR4YkelvA0t7mx IM/ChsbjK+qL73X22it8SCAxrTFFdQ0cQ4y070mN2KTm+7yeJyg1h/64D+FO7szcw9vc MIxuRhQJe6zTCRElBMt7GydYRWI4ZbhlC7D24=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=jJPKQA7I6zkEBm3N9LwEBXPYEuyA8WqtCk+TDXqQ0CdglYmpkFJ3B0MMUhlAzOYVcG N015eXuHllpT0ynVG1bTuIMRPSAocx2q+ITrYDU/vCL3AKr/4ehItyUywaxp2WzT8Frj 5wDaAZIYZXuapajtgwQu7XVvGx7zYhLhXSN+c=
Hi!
I'm starting to see how overlays works to write one. But I've got a
doubt and I'm asking
to be sure: Is the overlay stack called within each thread ? If so, I
think it can't block an
entire thread pool, right ?
My concern is about performance. The overlay I'm writing will only
take place in some
backend data modifications but it can be quite slow in terms of
OpenLDAP connection handling,
because it will be communicating via IPC with another process... If
this overlay blocks only one
connection, it's ok. But if it's blocks an entire thread pool, I'll
have to figure out another solution.
Thanks a lot in advance
Lucas Brasilino