Re: Edit cache eviction policy

2020-01-03 Thread Tony Finch
Itay Alayoff wrote: > > There is something I can't figure out, What the Red Black Tree DB is used > for and what the ADB is used for? Is there a relationship between the two? The rbtdb holds authoritative zone files and the resolver cache. The adb is used for dynamic information about other serv

Re: Edit cache eviction policy

2020-01-01 Thread Itay Alayoff
Thanks Tony for the detailed answer! I just found the parts of the code you mentioned that related to the policy eviction. There is something I can't figure out, What the Red Black Tree DB is used for and what the ADB is used for? Is there a relationship between the two? Sorry if the answers are

Re: Edit cache eviction policy

2019-12-30 Thread Tony Finch
Itay Alayoff wrote: > I'd like to know where is the policy eviction currently implemented? The way I answer questions like this is to start from the configuration options, and working my way from bin/named/server.c (where the parsed config file is processed) I trace through to find the code that

Edit cache eviction policy

2019-12-28 Thread Itay Alayoff
Hey Everyone, I would like to test some policies eviction for BIND. I'd like to know where is the policy eviction currently implemented? I know that there are cleaning intervals and the policy eviction based LRU but I can't find in the code what is happening at the moment that the cache is full. If