January 2022 Summaries
3 posts from ScyllaDB
Filter
Month:
Year:
Post Summaries
Back to Blog
ScyllaDB has introduced a new lesson at ScyllaDB University focused on using the scylla-rust-driver, an open-source driver for Rust, to interact with ScyllaDB clusters. The lesson guides users through building a simple Rust application that connects to a ScyllaDB cluster to store and query temperature time-series data. Written in pure Rust with an async API using Tokio, the driver is designed for high performance and safety, leveraging Rust's unique async model to efficiently handle asynchronous computations. The application includes creating a data schema with a keyspace and table to store temperature measurements, running queries to add and retrieve data, and using dependencies such as uuid, tokio, scylla, and chrono for functionality. The course emphasizes Rust's growing popularity and showcases how its async model minimizes the need for allocations by determining state machines at compile time. Additionally, the lesson encourages further learning through ScyllaDB University and the upcoming ScyllaDB Summit, where insights from engineers and users implementing Rust in production will be shared.
Jan 20, 2022
1,256 words in the original blog post.
The ScyllaDB Rust Driver, initially developed during an internal hackathon, has undergone significant advancements since its inception, but encountered unexpected performance issues compared to the cassandra-cpp driver, particularly in local testing environments. These issues were traced back to the lack of buffering in the driver's read and write operations, leading to excessive CPU usage due to frequent syscalls. By implementing buffering with Tokio's BufReader and BufWriter, the driver significantly reduced syscall overhead. A subsequent challenge involved the use of Rust's FuturesUnordered, which caused quadratic execution time due to its interaction with Tokio’s cooperative scheduling. This was resolved by limiting the number of futures iterated in a single poll, balancing cooperative scheduling benefits and maintaining low latencies. The experience underscores the ongoing evolution in Rust’s async programming, highlighting the importance of profiling and community contributions in optimizing performance.
Jan 12, 2022
1,837 words in the original blog post.
ScyllaDB Summit 2022, held on February 9 and 10, featured over 25 sessions focused on the latest advancements in distributed databases and data-intensive applications, providing an interactive platform for attendees to explore the current trends and innovations in the field. Participants had the opportunity to learn about various topics, including ScyllaDB's new features, migration strategies, and the integration of technologies like Rust and Raft into database systems. The summit also highlighted significant use cases from companies like Rakuten and Amdocs, showcasing how they leverage ScyllaDB for scalable and efficient data management solutions. In addition to technical discussions, the event offered engaging activities, including speaker interactions, contests, and the ScyllaDB Innovation Awards, fostering a collaborative environment for data practitioners to connect and share insights.
Jan 04, 2022
1,069 words in the original blog post.