<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Performance on Mechanical Snail</title><link>https://mechanicalsnail.com/tags/performance/</link><description>Recent content in Performance on Mechanical Snail</description><image><title>Mechanical Snail</title><url>https://mechanicalsnail.com/images/logo.png</url><link>https://mechanicalsnail.com/images/logo.png</link></image><generator>Hugo -- 0.152.2</generator><language>en-us</language><lastBuildDate>Mon, 24 Nov 2025 10:00:00 +0100</lastBuildDate><atom:link href="https://mechanicalsnail.com/tags/performance/index.xml" rel="self" type="application/rss+xml"/><item><title>Wire Formats Compared: Protobuf, Cap'n Proto &amp; FlatBuffers</title><link>https://mechanicalsnail.com/posts/wire-formats-rust/</link><pubDate>Mon, 24 Nov 2025 10:00:00 +0100</pubDate><guid>https://mechanicalsnail.com/posts/wire-formats-rust/</guid><description>Choosing a wire format at scale: JSON, Protocol Buffers, Cap&amp;#39;n Proto, FlatBuffers, Avro and MessagePack compared on payload size, encode/decode cost, and schema evolution.</description></item><item><title>Columnar Storage in Go: Fast Financial Aggregation</title><link>https://mechanicalsnail.com/posts/columnar-storage-golang-financial/</link><pubDate>Wed, 26 Mar 2025 10:00:00 +0100</pubDate><guid>https://mechanicalsnail.com/posts/columnar-storage-golang-financial/</guid><description>Building a columnar storage engine in Go: cache-friendly memory layout, fixed-point decimal arithmetic for financial precision, SIMD-friendly aggregations, and honest benchmarks.</description></item><item><title>Neural Networks from Scratch in Rust</title><link>https://mechanicalsnail.com/posts/neural-networks-rust/</link><pubDate>Tue, 18 Mar 2025 10:00:00 +0100</pubDate><guid>https://mechanicalsnail.com/posts/neural-networks-rust/</guid><description>Neural networks from first principles in Rust: manual backpropagation, cache-friendly matrix operations, SIMD utilization, and where inference time is actually spent.</description></item><item><title>Caching Strategies: Cache-Aside, Write-Through &amp; Eviction</title><link>https://mechanicalsnail.com/posts/caching/</link><pubDate>Fri, 14 Feb 2025 12:00:00 +0100</pubDate><guid>https://mechanicalsnail.com/posts/caching/</guid><description>A survey of production caching strategies: cache-aside, read-through, write-through and write-back, LRU and friends as eviction policies, and the consistency trade-offs each one implies.</description></item><item><title>Low-Latency Trading Systems in Rust</title><link>https://mechanicalsnail.com/posts/low-latency-trading-rust/</link><pubDate>Mon, 02 Sep 2024 10:00:00 +0100</pubDate><guid>https://mechanicalsnail.com/posts/low-latency-trading-rust/</guid><description>Engineering microsecond-latency trading systems in Rust: lock-free data structures, cache-line optimization, kernel bypass networking, and hot paths that never allocate.</description></item><item><title>Recommendation Systems in Production (Part 3 of 6)</title><link>https://mechanicalsnail.com/posts/recommendation-systems-part3/</link><pubDate>Wed, 10 Jul 2024 11:00:00 +0100</pubDate><guid>https://mechanicalsnail.com/posts/recommendation-systems-part3/</guid><description>Part 3 of 6: running recommenders in production — offline ranking metrics, A/B testing statistics, distributed training, model serving and compression, cold start, and drift.</description></item><item><title>Social Media Platform Architecture at Scale</title><link>https://mechanicalsnail.com/posts/social-media-architecture/</link><pubDate>Sun, 08 Oct 2023 13:00:00 +0100</pubDate><guid>https://mechanicalsnail.com/posts/social-media-architecture/</guid><description>Systems architecture for an Instagram-scale social platform: fan-out on write versus read, graph sharding, feed caching, and absorbing celebrity-tier traffic spikes.</description></item><item><title>Building a Time Series Database in Go</title><link>https://mechanicalsnail.com/posts/timeseries-database-go/</link><pubDate>Sun, 11 Jun 2023 14:00:00 +0100</pubDate><guid>https://mechanicalsnail.com/posts/timeseries-database-go/</guid><description>Inside a high-performance time series database in Go: LSM-style storage, delta-of-delta and Gorilla compression, inverted label indexes, and range query execution.</description></item><item><title>Vector Optimization: SIMD, Cache Lines &amp; Memory Bandwidth</title><link>https://mechanicalsnail.com/posts/vector-optimization-simd/</link><pubDate>Fri, 11 Mar 2022 10:00:00 +0100</pubDate><guid>https://mechanicalsnail.com/posts/vector-optimization-simd/</guid><description>Why vector code is memory-bound, not compute-bound: cache-line behaviour, array-of-structs versus struct-of-arrays layout, AVX vectorization, and the bandwidth ceiling.</description></item></channel></rss>