Diagram illustrating a high-throughput background pipeline using System.Threading.Channels in ASP.NET Core

C# Channels - Why so forgotten? Designing High-Throughput Background Pipelines

Designing high-throughput background pipelines with C# System.Threading.Channels When our project receives thousands of requests per minute, we need to take some cares. Usually, the bottleneck isn’t CPU. Probabily the problem is one (or more) of these: I/O contention, thread starvation, uncontrolled concurrency, excessive allocations… et cetera. One of the most common mistakes in high-throughput (even in medium-throughput) APIs is coupling request processing with expensive secondary operations such as: audit logging; telemetry; webhook dispatching; email sending; analytics; event persistence. So it causes response times increasing, thread pressure growing and throughput collapses. ...

May 13, 2026 · 7 min · 1280 words · Eduardo Potumati
Semaphore and SemaphoreSlim

Concurrency Control in C#: Semaphore and SemaphoreSlim

I recently published a detailed technical article on Balta.io-one of the premier .NET ecosystem references in Brazil-addressing a critical topic for high-performance systems: concurrency control. As software engineers with extensive experience in high-demand solutions, we often face the challenge of “doing as much as possible, as fast as possible”. However, infrastructure realities-such as rate limits in third-party APIs or hardware constraints-force us to understand exactly when and how to throttle our execution. ...

August 13, 2025 · 2 min · 251 words · Eduardo Potumati