DevOps Articles

Curated articles, resources, tips and trends from the DevOps World.

Async Rust in Practice: Performance, Pitfalls, Profiling

3 years ago thenewstack.io
Async Rust in Practice: Performance, Pitfalls, Profiling

Summary: This is a summary of an article originally published by The New Stack. Read the full original article here →

It’s been a while since the Tokio-based Rust Driver for https://www.scylladb.com/, a high-performance low-latency NoSQL database, was born during ScyllaDB’s internal developer hackathon. Along the way, we also stumbled upon a few interesting performance bottlenecks to investigate and overcome. This article explains how we diagnosed and resolved performance issues in that Rust driver.

FuturesUnordered has a list of futures ready for polling, and it assumes that once polled, the futures will not need to be polled again.

This is a client-side driver for ScyllaDB written in pure Rust with a fully async API using Tokio.

Made with pure grit © 2024 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com