Leveraging Rust in our Java database

QuestDB is a high-performance time-series database that is primarily built in Java but is now starting to incorporate Rust into its code base. The database aims to minimize garbage collection and improve performance through various techniques such as object pooling and avoiding text encoding conversions. However, integrating third-party technologies into the Java code without violating the zero-garbage collection standards has been a challenge. Rust provides a solution by offering a large collection of GC-free dependencies and statically linking all dependencies, reducing the risk of symbol collisions. QuestDB has developed a rust-maven-plugin to integrate Rust and Java code seamlessly in the build process. The article also discusses the integration of Rust and Java logging, developer workflow, and upcoming QuestDB features in Rust, including replication, cold storage, native SSL/TLS, and authentication cryptography.

https://questdb.io/blog/leveraging-rust-in-our-high-performance-java-database/

To top