clickhouse-js-node-rowbinary-parser

Installation
SKILL.md

ClickHouse JS RowBinary Parser Generator for Node.js

First: is RowBinary even the right format?

RowBinary exists for throughput, but it is not automatically the fastest path — match the format to the shape of the data before committing to a bespoke parser.

Prefer a JSON* format (e.g. JSONEachRow) when the result is mostly strings / JSON-like values that you consume wholesale — randomly accessing essentially every field, running string/regexp methods on them, treating values as text. V8's native JSON.parse is heavily optimized C++ and builds JS strings and objects faster than a JS-level RowBinary decoder can; pair it with HTTP response compression (gzip / zstd, which crushes JSON's repetitive keys) and the wire cost shrinks too.

RowBinary clearly wins when the result is dominated by:

Installs
3
GitHub Stars
322
First Seen
3 days ago
clickhouse-js-node-rowbinary-parser — clickhouse/clickhouse-js