Parsing Gigabytes of JSON per Second

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Langdale, Geoff, Lemire, Daniel
Formato: Preprint
Publicado: 2019
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866929433432031232
author Langdale, Geoff
Lemire, Daniel
author_facet Langdale, Geoff
Lemire, Daniel
contents JavaScript Object Notation or JSON is a ubiquitous data exchange format on the Web. Ingesting JSON documents can become a performance bottleneck due to the sheer volume of data. We are thus motivated to make JSON parsing as fast as possible. Despite the maturity of the problem of JSON parsing, we show that substantial speedups are possible. We present the first standard-compliant JSON parser to process gigabytes of data per second on a single core, using commodity processors. We can use a quarter or fewer instructions than a state-of-the-art reference parser like RapidJSON. Unlike other validating parsers, our software (simdjson) makes extensive use of Single Instruction, Multiple Data (SIMD) instructions. To ensure reproducibility, simdjson is freely available as open-source software under a liberal license.
format Preprint
id arxiv_https___arxiv_org_abs_1902_08318
institution arXiv
publishDate 2019
record_format arxiv
spellingShingle Parsing Gigabytes of JSON per Second
Langdale, Geoff
Lemire, Daniel
Databases
Performance
JavaScript Object Notation or JSON is a ubiquitous data exchange format on the Web. Ingesting JSON documents can become a performance bottleneck due to the sheer volume of data. We are thus motivated to make JSON parsing as fast as possible. Despite the maturity of the problem of JSON parsing, we show that substantial speedups are possible. We present the first standard-compliant JSON parser to process gigabytes of data per second on a single core, using commodity processors. We can use a quarter or fewer instructions than a state-of-the-art reference parser like RapidJSON. Unlike other validating parsers, our software (simdjson) makes extensive use of Single Instruction, Multiple Data (SIMD) instructions. To ensure reproducibility, simdjson is freely available as open-source software under a liberal license.
title Parsing Gigabytes of JSON per Second
topic Databases
Performance
url https://arxiv.org/abs/1902.08318