Topic

Performance

Discover performance optimization trends covering profiling, caching, and resource efficiency. Our digest synthesizes concurrency patterns, memory management, and database tuning from developer communities.

What this topic tracks

  • Engineering practices and ecosystem debates
  • Tools, architecture, and implementation lessons
  • Relevant discussions from developer communities

Performance · 970 stories

Recent stories

Each story's summary, with the places it was discussed.

Summaries are written by AI from the linked sources. Open the source for full context.

20 stories

vLLM large scale serving: DeepSeek 2.2k tok/s/h200 with wide-ep

blog.vllm.ai · 17 Dec

Distributed Systems · Large Language Models · Performance

vLLM has officially transitioned to its V1 engine architecture, achieving a record throughput of 2.2k tokens per second per H200 GPU for DeepSeek-style Mixture-of-Experts (MoE) models.

This performance gain is driven by radical optimizations including Wide Expert Parallelism (Wide-EP), which maximizes KV cache efficiency for Multi-head Latent Attention (MLA), and Dual-batch Overlap (DBO) to mitigate communication bottlenecks. Additionally, Expert Parallel Load Balancing (EPLB) and disaggregated serving strategies further enhance stability and utilization. The update underscores vLLM's position as a production-ready inference leader supported by a massive contributor community.

The efficient frontier of LLM inference

baseten.co · 2 Sept

Algorithms · Hardware · Performance

Inference engineering uses efficient frontiers to balance latency, throughput, cost, quality, and reasoning.

Batch sizing, parallelism, and quantization target points on these frontiers, while kernel/runtime optimization, speculative decoding, and prefill/decode disaggregation push the frontier outward. Empirical tuning is essential because performance changes are jagged, and improvements can compound across hardware and software.

Python 3.15's Ultra-Low Overhead Interpreter Profiling Mode – Ken Jin's Blog

fidget-spinner.github.io · 15 Jul

Performance · Programming Languages · Python

CPython 3.15 introduces a new low-overhead interpreter profiling method for JIT compilation.

By swapping dispatch tables instead of using branches or duplicate interpreters, the system achieves efficient trace recording. This approach provides significant performance improvements and is notably faster than traditional meta-tracing techniques, offering a scalable solution for runtime analysis.

Does Postgres Scale?

dbos.dev · 30 Apr

Database · Performance · PostgreSQL

This article benchmarks the scalability of PostgreSQL for durable workflow execution.

Experiments show a single instance can handle 144K writes or 43K workflows per second. Performance is primarily bottlenecked by Write-Ahead Log (WAL) flushing. Results confirm that PostgreSQL is highly capable of supporting massive-scale, write-intensive applications, provided queuing contention is managed.

DNS Explained – How Domain Names Get Resolved

bhusalmanish.com.np · 2 Feb

Cloud Computing · Performance · Computer Science

This comprehensive guide explores the fundamentals of the Domain Name System (DNS), detailing its hierarchical structure from root servers and Top-Level Domains (TLDs) to specific domain records.

It clarifies the differences between recursive resolvers and authoritative nameservers, explaining how the resolution process works step-by-step. The text highlights critical technical concepts such as Time To Live (TTL) and its impact on propagation, as well as the functionality of various record types like A, AAAA, CNAME, MX, and TXT. Additionally, it offers practical troubleshooting advice, commands for clearing caches, and demonstrates how DNS is utilized in system design for load balancing and geographic routing. Understanding these mechanisms is essential for developers and system administrators to manage web infrastructure effectively and resolve connectivity issues efficiently.

Compiler-style optimization for drawing via Skia

arxiv.org · 17 Sept

Algorithms · Performance · Programming Languages

Researchers introduce μ Skia, a formal, Lean-mechanized semantics for Skia’s 2D rasterization, covering canvas state, layers, blending, and color filters.

They use it to verify four Chrome optimization patterns and build a high-performance optimizer. Across 99 programs from major websites, it improves performance 18.7% over Skia’s modern GPU backend with optimization under 32 μs.

A look under our trunk: what's in our compute

waymo.com · 20 Aug

Hardware · Performance · Robotics

Waymo details its autonomous-driving compute architecture, co-designed with sensors and algorithms for responsive, ruggedized, and redundant onboard operation.

A heterogeneous system combines CPUs, GPUs, accelerators, and a custom 5nm ASIC delivering over 1,000 TOPS for real-time sensor processing and fusion. Partnerships with AMD, NVIDIA, TSMC, and others support scalable, energy-efficient performance.

Max Payne – two decades later – Graphics Critique (2021)

darkcephas.blogspot.com · 23 Jul

Performance · Software Architecture · Computer Science

Max Payne, released in 2001, is celebrated for its groundbreaking graphical achievements despite the severe hardware constraints of its era.

This retrospective analysis explores how Remedy Entertainment utilized technical 'smoke and mirrors' to fake high-fidelity realism on systems with limited CPU and GPU resources. Key techniques discussed include prebaked lightmaps for static geometry, detail textures for micro-surface features, and the baking of 3D details directly into albedo textures. The article also highlights the game's impressive particle effects, such as vapor trails and animated chips, which were advanced for their time. While identifying limitations like clipping and inconsistent specular highlights, the study concludes that Max Payne's reliance on precalculated computations and clever visual tricks set a high standard for real-time rendering in early 2000s gaming.

Speculative Decoding in vLLM on AMD GPUs

vllm.ai · 7 Sept

Artificial Intelligence · Large Language Models · Performance

The study evaluates speculative decoding in vLLM on AMD Instinct MI300X and MI355X GPUs.

Native MTP, Gemma 4 MTP, EAGLE-3, DFlash, and DSpark can improve output-token throughput, sometimes exceeding 2×, but results vary by model, workload, checkpoint, and proposal length. Acceptance metrics and representative benchmarks are essential for tuning deployment settings.

Surprising economics of load-balanced systems

brooker.co.za · 19 Jun

Distributed Systems · Performance · Computer Science

Analyzing an M/M/c queuing system with constant per-server utilization reveals that increasing the number of servers improves efficiency.

As c increases, the probability of queuing decreases, causing the mean latency and percentiles to asymptotically approach the service time. This scalability phenomenon benefits service economics, allowing better performance or higher utilization at larger scales.

RX – a new random-access JSON alternative

github.com · 18 Mar

Backend · Performance · Computer Science

REXC is a high-performance binary encoding library that acts as a drop-in replacement for JSON.

It reduces data size by 18x, offers 23,000x faster lookups via binary search, and achieves near-zero heap allocations by utilizing a Proxy-based lazy parsing architecture, making it highly efficient for memory-constrained application environments and large production datasets.

Data Processing Benchmark Featuring Rust, Go, Swift, Zig, Julia etc.

github.com · 31 Jan

Performance · Programming Languages · Computer Science

This benchmark project compares the performance of various programming languages including Rust, Go, Python, Julia, and others in solving a specific computational task: identifying top related posts based on shared tags.

The challenge involves processing up to 100,000 posts and 100 tags efficiently while adhering to strict rules such as runtime JSON parsing and memory limits under 8GB. The results highlight significant performance disparities, with low-level or JIT-compiled languages like Julia HO1, D, and Rust leading the rankings. Concurrent implementations across languages demonstrate substantial speedups, showcasing the effectiveness of modern parallel processing. The analysis provides deep insights into language-specific optimizations, such as using specialized hash maps in Rust or custom priority queues in Go to minimize processing overhead.

A set of Idiomatic prod-grade katas for experienced devs transitioning to Go

github.com · 4 Jan

Distributed Systems · Go · Performance

This repository provides a specialized collection of Daily Katas focused on mastering Go through repetitive practice of idiomatic patterns.

Drawing inspiration from Bruce Lee's philosophy, the project emphasizes muscle memory for high-quality software engineering rather than general-purpose coding. The challenges target seasoned developers transitioning to Go, helping them bridge the gap between working code and production-grade efficiency. Key topics include real-world concurrency patterns to prevent leaks, performance optimization through zero-allocation techniques, idiomatic HTTP hygiene, and modern error handling strategies like context-aware retries and cleanup chains. By engaging in these standalone drills, developers learn to apply specific Go constraints such as memory efficiency and effective concurrency control in a structured, consistent manner.

A Critique of GPUI

blog.zortax.de · 8 Nov

Performance · Rust · Software Architecture

The critique argues that GPUI, egui, and Elm-style state models do not scale well for complex desktop applications because updates cannot identify precisely what changed and which UI depends on it.

GPUI’s notify typically rerenders views, while egui rebuilds the whole interface; benchmarks show costs rising with thousands of rows. Retention and caching improve GPUI but require manually constructed, view-sized dependency graphs. The proposed alternative is tracked reads with signals and run-once components, while acknowledging creation, memory, effects, and layout costs.

We just shipped support for the ugliest part of HTTP: Vary

blog.cloudflare.com · 22 Sept

Cloud Computing · Performance · Terraform

Cloudflare now supports HTTP `Vary` in Cache Rules on all plans.

Origins identify headers that may change responses, while operators choose `normalize`, `passthrough`, or `bypass` to balance correctness and cache efficiency. Normalization consolidates equivalent negotiation requests, while bypass protects against personalized or high-cardinality values such as `Cookie` and `User-Agent`.

Frame – Linux X server in Assembly

isene.org · 17 Jul

Low-Level Programming · Performance · Open Source

A developer created 'frame', a custom, lightweight X server written entirely in Assembly to replace X11.

This minimalistic build significantly reduces complexity and CPU usage compared to standard stacks. By prioritizing individual control and power efficiency, the developer successfully created a stable, personalized desktop environment while open-sourcing the entire project for public benefit.

Optimizing Top K in Postgres

paradedb.com · 8 Mar

Database · Performance · PostgreSQL

Postgres faces performance challenges with Top K queries when combining filters and text search, often requiring multiple expensive indexes or heap scans.

ParadeDB addresses this by using Tantivy-based compound indexes and columnar storage, enabling efficient filtering and early pruning via Block WAND for significantly faster query execution.

Where it came fromHacker NewsLobstersCreate a Snapbyte.dev digest and choose Performance as one of your topics.Build your digest