Parsing Millions of DNS Records per Second

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Koekkoek, Jeroen, Lemire, Daniel
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866916519659700224
author Koekkoek, Jeroen
Lemire, Daniel
author_facet Koekkoek, Jeroen
Lemire, Daniel
contents The Domain Name System (DNS) plays a critical role in the functioning of the Internet. It provides a hierarchical name space for locating resources. Data is typically stored in plain text files, possibly spanning gigabytes. Frequent parsing of these files to refresh the data is computationally expensive: processing a zone file can take minutes. We propose a novel approach called simdzone to enhance DNS parsing throughput. We use data parallelism, specifically the Single Instruction Multiple Data (SIMD) instructions available on commodity processors. We show that we can multiply the parsing speed compared to state-of-the-art parsers found in Knot DNS and the NLnet Labs Name Server Daemon (NSD). The resulting software library replaced the parser in NSD.
format Preprint
id arxiv_https___arxiv_org_abs_2411_12035
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Parsing Millions of DNS Records per Second
Koekkoek, Jeroen
Lemire, Daniel
Data Structures and Algorithms
The Domain Name System (DNS) plays a critical role in the functioning of the Internet. It provides a hierarchical name space for locating resources. Data is typically stored in plain text files, possibly spanning gigabytes. Frequent parsing of these files to refresh the data is computationally expensive: processing a zone file can take minutes. We propose a novel approach called simdzone to enhance DNS parsing throughput. We use data parallelism, specifically the Single Instruction Multiple Data (SIMD) instructions available on commodity processors. We show that we can multiply the parsing speed compared to state-of-the-art parsers found in Knot DNS and the NLnet Labs Name Server Daemon (NSD). The resulting software library replaced the parser in NSD.
title Parsing Millions of DNS Records per Second
topic Data Structures and Algorithms
url https://arxiv.org/abs/2411.12035