3 links tagged with all of: optimization + performance + rust
Click any tag below to further narrow down your results
Links
The article details a case study where a payment service at TikTok, originally built in Go, faced CPU bottlenecks due to increased traffic. By selectively rewriting the most CPU-intensive endpoints in Rust, the team achieved double the performance and projected annual savings of $300,000 in cloud costs.
The author discusses the slow build times associated with the Rust compiler when deploying applications in Docker, particularly when using statically linked binaries. By exploring various compilation techniques and tools like cargo-chef, they aim to improve build efficiency while analyzing the performance bottlenecks in the compilation process, specifically focusing on link-time optimization (LTO) and LLVM-related tasks.
SQLite query optimization significantly improved the performance of the Matrix Rust SDK, boosting event processing from 19,000 to 4.2 million events per second. The article details the structure of data persistence using LinkedChunk and how identifying and addressing inefficiencies in SQL queries led to this enhancement. It emphasizes the importance of profiling tools and strategic indexing to optimize database interactions.