performance
.NET Performance and Optimization Articles, Tutorials & News
.NET Performance and Optimization articles, tutorials, and news from the DotNetNews archive.
1396 articles Updated Page 5 of 56
Browse additional .NET Performance and Optimization articles from the DotNetNews archive.
.NET Performance and Optimization articles
Page 5 of 56
Newest first
-
Database Connection Pooling vs DbContext Pooling in .NET
malshikay.medium.com Issue #469
When working with Entity Framework Core, many developers confuse database connection pooling with DbContext pooling. Although both improve…
-
When Parallel Became a Problem: A Backend Engineering Postmortem on Fan-Out Concurrency
bhautikk.medium.com Issue #469
How an innocent Task.WhenAll() brought down our order aggregation service under load — and what we did about it.
-
Designing high-throughput APIs for 1M requests/minute .NET
blog.elmah.io Issue #468
table of contents Scaling horizontally is great… until the bill comes. Hence, as a startup or a big firm, you always need to be careful about billing while maintaining competitiveness. Every user who ...
-
Improving Performance in .NET Applications
visualstudiomagazine.com Issue #468
Jason Bock shares practical guidance for building faster .NET applications, avoiding modernization pitfalls, and using proven performance resources to keep improving over time.
-
From Structs to Strongly Typed Zero-Copy Views in C#
medium.com Issue #466
Why value semantics, refs, ref structs, scoped lifetimes, and cursor projections make it possible to model data without moving it.
-
The Hidden Cost of ToList() in .NET APIs
medium.com Issue #466
We all use it ToList() everywhere. It looks harmless. But in production systems? ToList() quietly becomes one of the biggest performance…
-
Idempotency in .NET Backend Systems: How to Prevent Duplicate Processing
medium.com Issue #466
In Part 1, I wrote about boundaries. In Part 2, I wrote about aggregates and invariants. In Part 3, I wrote about domain events. In Part 4…
-
️ Modernizing .NET — Part 26: Implementing Rate Limiting Middleware in ASP.NET Core
medium.com Issue #466
Boost performance and stability with ASP.NET Core Rate Limiting Middleware. Control concurrency and prevent service unresponsiveness.
-
The Most Underrated LINQ Feature in .NET: ToLookup()
wiemksaier.medium.com Issue #466
Most C# developers know:
-
Why .NET AI Gateways Melt Down on 429s: The Retry Storm Nobody Plans For
medium.com Issue #465
The easiest way to make a healthy AI feature look broken is to wrap it in a naive retry policy.
-
️ Modernizing .NET — Part 25: Rate Limiting Concepts and Strategies
medium.com Issue #465
Discover why rate limiting is your service’s “last line of defense.” Protect your .NET app from resource exhaustion and crashes.
-
Streaming data without loading everything into memory
csharpdigest.net Issue #465
IAsyncEnumerable lets you process large datasets one item at a time instead of loading everything into memory
-
C# 14 New Features Explained with Real-World Examples
c-sharpcorner.com Issue #464
Explore C# 14's powerful new features with real-world examples! Boost productivity, reduce boilerplate, and enhance performance in your .NET applications.
-
A useful new .Net feature for Processes
blog.jermdavis.dev Issue #464
The pace of change with .Net is pretty relentless these days. And every so often they ship a thing that fixes a challenge I've been mulling over addressing myself. That's happened again with Process A...
-
The Static HttpClient That Wouldn’t Rotate: A Tale of Pooled Connections
blog.dotnetframework.org Issue #463
The symptom A production .NET service had been running fine for months. It made outbound HTTP calls through a rotating proxy provider — the kind that promises a new exit IP for each request. Then one ...
-
Just shows that nobody cares about debugging the parity flag any more
devblogs.microsoft.com Issue #462
The x86-64 architecture inherited the parity flag (PF) from the x86-32, which in turn inherited it from the 8080, which inherited it from the 8008, which implemented it because it was the processor fo...
-
Task vs ValueTask in .NET: What They Are, When to Use Each, and Why It Matters
medium.com Issue #462
A deep dive into one of async/await’s most misunderstood distinctions — with real .NET examples to make it click.
-
Azure IaaS: Deploy high-performance workloads with a system-level approach
azure.microsoft.com Issue #462
Performance in the cloud is no longer defined by individual resources—it’s shaped by how compute, storage, and networking work together. Azure IaaS takes a system-level approach to help organizations ...
-
I Scaled a .NET App Toward 1M Users — Here’s What Actually Matters
medium.com Issue #462
When we started, performance wasn’t a priority.
-
App crashed in Production
medium.com Issue #462
This API had been working fine in production for 2 years.
-
Dirty Tracking at the Application Layer: Cutting Redis Write Volume by 99% in a Real-Time…
blog.stackademic.com Issue #461
We were allocating 143MB of strings on every merge cycle. The answer was a concept borrowed from CPU cache design: the dirty bit. Continue reading on Stackademic »
-
25 Real-Time .NET Core Production Issues Every Senior Developer Must Solve
medium.com Issue #460
Real production issues, Azure architecture decisions, API bottlenecks, and microservices debugging scenarios for 8+ years of experienced…
-
Building a Policy-Driven Distributed Concurrency Engine for AI Workloads in .NET
medium.com Issue #460
How Redis ZSET leases, Lua-based atomic admission, DAG step claiming, and policy-driven throttling make distributed AI execution safer…
-
The HttpClient Mistake That Quietly Breaks .NET Apps in Production
medium.com Issue #460
“Works perfectly on localhost. Crashes in production.”
-
FusionCache — Why Your Cache Needs a Resiliency Strategy, Not Just a TTL
medium.com Issue #460
Hello,