Home / Companies / ClickHouse / Blog / Post Details
Content Deep Dive

More Than 2x Faster Hashing in ClickHouse Using Rust

Blog post from ClickHouse

Post Details
Company
Date Published
Author
Denis Bolonin
Word Count
1,056
Company Posts That Month
13
Language
English
Hacker News Points
4
Post removed?
No
Summary

The ClickHouse DBMS has been integrated with Rust programming language, allowing for the use of libraries in other compiled languages. A package manager called Cargo was used to download dependencies and compile Rust code, while ClickHouse uses CMake and Ninja build system. The integration process involved implementing a custom CMake function or using an existing utility called Corrosion-rs to simplify the integration. The BLAKE3 hash function was added as an example library, which demonstrated improved performance compared to other hash functions in ClickHouse. However, issues arose during the integration process, including compatibility problems with C++ Memory Sanitizer and multiplatform building. Despite these challenges, the integration was successful, allowing for optional use of Rust libraries and enabling future additions of more libraries, such as BLAKE3, which provided improved speed and security features.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.