Tagged articles
7 articles
Page 1 of 1
DeWu Technology
DeWu Technology
Feb 26, 2025 · Backend Development

Migrating to Rust: A Case Study in High-Performance Computing

Migrating a Java computing layer to Rust yielded dramatic performance gains—30% lower CPU usage, 70% less memory—and greater stability, as the authors explain how Rust’s ownership, borrowing, lifetimes, and concurrency, combined with optimized data handling, FFI integration, Tokio async, Docker deployment, and monitoring, outweigh the steep learning curve and ecosystem gaps.

Backend DevelopmentFFIHigh‑performance computing
0 likes · 22 min read
Migrating to Rust: A Case Study in High-Performance Computing
JD Cloud Developers
JD Cloud Developers
Aug 10, 2023 · Backend Development

How to Prevent File Write Chaos in Rust with Tokio Mutex

This article demonstrates the problem of unordered file content when multiple Tokio tasks write concurrently in Rust, shows a sample program that exhibits the issue, and provides a solution using Tokio’s asynchronous Mutex to synchronize file access, ensuring ordered and complete writes.

RustTokiofile I/O
0 likes · 5 min read
How to Prevent File Write Chaos in Rust with Tokio Mutex
High Availability Architecture
High Availability Architecture
Oct 23, 2019 · Backend Development

Design and Implementation of the New Tokio Scheduler: Performance Improvements and Optimizations

This article details the redesign of Tokio's Rust async scheduler, describing its new task system, queue algorithms, task‑stealing strategy, reduced synchronization, memory‑allocation optimizations, Loom‑based concurrency testing, and the resulting ten‑fold performance gains in benchmarks and real‑world workloads.

Tokioperformance
0 likes · 31 min read
Design and Implementation of the New Tokio Scheduler: Performance Improvements and Optimizations