October 27, 2019

216 words 2 mins read

Going from 5s to 5ms: Benefits of a Node-Local DNSCache

Going from 5s to 5ms: Benefits of a Node-Local DNSCache

DNS is one of the most heavily used services in Kubernetes clusters.The kubernetes community has long struggled with these mysterious 5s connection delays or DNS failures.This talk discusses how this …

Talk Title Going from 5s to 5ms: Benefits of a Node-Local DNSCache
Speakers Blake Barnett (Staff Engineer, Postmates), Pavithra Ramesh (Software Engineer, Google)
Conference KubeCon + CloudNativeCon Europe
Conf Tag
Location Barcelona, Spain
Date May 19-23, 2019
URL Talk Page
Slides Talk Slides
Video

DNS is one of the most heavily used services in Kubernetes clusters.The kubernetes community has long struggled with these mysterious 5s connection delays or DNS failures.This talk discusses how this problem is (mostly!) solved with the node-local DNSCache, a feature introduced in Kubernetes 1.13. We’ll start by diving into the DNS problem, the motivation for the feature as well as the design and implementation. Attendees will learn how to use this feature on their clusters.In addition to the latency issue itself, visibility into DNS has been a pain point for many users. Not any more! The metrics exposed by the local DNSCache provides insight into user workloads' DNS needs. We’ll show some of these metrics, along with a demo of how the feature works. Finally, we will share the performance improvements observed in a large-scale production deployment running node-local DNS Cache.

comments powered by Disqus