Hi Christoph,

My recommendation is to limit the TTL to 12 or 6 hours and find out how many 
cache entries are created during this time. Increase that by 50% and that's 
your value. You'll see that it doesn't require that much memory space.

Winfried 

Am 9. September 2023 09:15:04 MESZ schrieb Christoph via Pdns-users 
<pdns-users@mailman.powerdns.com>:
>Hi,
>
>if you have 20 or 100 GB of free RAM
>what is a good approach to choose the different Recursor's cache sizes?
>
>Is larger always better or is there a sweet spot
>between cache size, cache lookup time, cache management overhead and CPU 
>usage? How does upstream latency fit into the equation?
>
>In our case we consider caching and prefetching also an important privacy 
>property to decouple inbound and outbound queries to some extend.
>
>We have different kinds of setups:
>- fully recursive resolvers
>- forwarding resolvers (~12ms upstream latency)
>
>best regards,
>Christoph
>_______________________________________________
>Pdns-users mailing list
>Pdns-users@mailman.powerdns.com
>https://mailman.powerdns.com/mailman/listinfo/pdns-users
_______________________________________________
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/pdns-users

Reply via email to