Broadening the scope of the negative connection cache

Gerald (Jerry) Carter jerry at samba.org
Tue May 13 15:06:46 GMT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

simo wrote:

>> PS: I do believe that Winbind's idmap cache needs to be cleaned
>> up.  For example, caching the forward and reverse map entries
>> should be in a single transaction.
> 
> We should also make the cache be readable by any winbindd process too,
> so that we save some round trips, it was not done in initial design to
> keep it simpler, but it is time to IMO.

That's a different issue.  In general the design should be
that tha parent winbindd process always hits cache first
and only calls out to a child process when the cache is
empty or expired.  This is more in line with the original
dual-daemon design Tridge implemented.  Which I think
would work really well with the state machine model we
have now.

So it's not just the idmap cache that needs to be readable,
but the entire cache manager should be moved to the parent.





cheers, jerry

- --
=====================================================================
Samba                                    ------- http://www.samba.org
Likewise Software          ---------  http://www.likewisesoftware.com
"What man is a man who does not make the world better?"      --Balian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIKa6GIR7qMdg1EfYRAveYAKCNjGfr0rV2j7V3tf/R05e3tLJskQCgw4gB
YUxD8C59XX4ABPVCJqvMXrw=
=9FRJ
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list