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

A New ScyllaDB Go Driver: Faster Than GoCQL and Its Rust Counterpart

Blog post from ScyllaDB

Post Details
Company
Date Published
Author
Paweł Putra
Word Count
1,490
Language
English
Hacker News Points
-
Summary

ScyllaDB collaborated with the University of Warsaw to develop a new Go driver, aiming to outperform both the existing GoCQL and ScyllaDB Rust drivers in terms of performance. Taking advantage of Go 1.18's generics, the new driver was designed to follow ScyllaDB's shared-nothing architecture, minimizing the use of mutexes and focusing on efficient asynchronous communication using Go channels and atomics. This architectural choice, along with optimized memory management and request coalescing, significantly reduced the impact of the garbage collector and improved performance, enabling the driver to execute operations up to four times faster than its predecessor and twice as fast as the Rust driver. The driver demonstrated its capabilities by handling high concurrency with reduced latency and increased throughput, with plans for further optimization as it continues to be developed on GitHub.