performance
.NET Performance and Optimization Articles, Tutorials & News
.NET Performance and Optimization articles, tutorials, and news from the DotNetNews archive.
1586 articles Updated Page 4 of 64
Browse additional .NET Performance and Optimization articles from the DotNetNews archive.
.NET Performance and Optimization articles
Page 4 of 64
Newest first
-
Benchmarking .NET 11 NativeAOT CLI Startup and Memory Usage
c-sharpcorner.com Issue #521
Benchmark .NET 11 NativeAOT command-line applications against JIT deployments to compare startup time, memory consumption, execution performance, and deployment characteristics.
-
Reading ETW events and diagnosing production issues
medium.com Issue #521
A practitioner’s guide to Event Tracing for Windows — from provider to root cause
-
Resilient Microservices in .NET: Integrating Refit with Polly Circuit Breakers
c-sharpcorner.com Issue #520
Secure .NET microservices with Refit & Polly circuit breakers. Prevent cascading failures and ensure resilience against HTTP dependency issues.
-
Benchmarking ASP.NET Core HTTP/3 Under Real API Load
c-sharpcorner.com Issue #520
Benchmark ASP.NET Core API HTTP/3 performance under real-world load. Measure latency, throughput, CPU, and memory for accurate insights.
-
.NET MAUI CoreCLR Migration: Finding Mobile Regressions
c-sharpcorner.com Issue #520
Navigate .NET MAUI CoreCLR migration for mobile apps. Discover regressions, test systematically, and ensure a smooth transition with this expert guide.
-
Deep Dive into EF Core Query Performance: Default Tracking vs. AsNoTracking
c-sharpcorner.com Issue #520
In Entity Framework Core (EF Core), query performance and memory management are heavily governed by one underlying mechanism: Change Tracking. While EF Core's default tracking behavior makes data muta...
-
EF Core Tracking Is Silently Wasting Your Memory
medium.com Issue #520
Your endpoint returns 50 order summaries. The query allocates objects for every matching order.
-
Benchmarking EF Core Complex-Type Indexes at Scale
c-sharpcorner.com Issue #520
Benchmark EF Core 11 complex-type indexes at scale. Measure query latency, reads, CPU, execution plans, and write overhead.
-
Preventing Connection Pool Staleness with .NET 11 HTTP Eviction
c-sharpcorner.com Issue #520
Learn how .NET 11 HTTP connection eviction helps prevent stale connections and improve reliability, latency, and connection-pool behavior in production applications.
-
Routing and Failover for Microsoft.Extensions.AI
devblogs.microsoft.com Issue #520
As AI adoption scales, cost, uptime, and latency become first-class constraints on application architecture. Routing between models or providers is a lever on all three at once. These new Microsoft.Ex...
-
PostgreSQL 18 AIO: Benchmarking .NET Database Workloads
c-sharpcorner.com Issue #520
Benchmark PostgreSQL 18 AIO with .NET workloads. Measure performance differences between sync, worker, and io_uring for optimal database I/O.
-
Benchmarking .NET MAUI Startup After CoreCLR Migration
c-sharpcorner.com Issue #520
Benchmark .NET MAUI startup after CoreCLR migration. Measure cold/warm starts, UI responsiveness, memory, and app size for accurate performance analysis.
-
Building Resilient HTTP Clients with Polly v9 and .NET 11
c-sharpcorner.com Issue #519
Build resilient .NET 11 HTTP clients with Polly v9. Master retry, timeout, and circuit breaker patterns for reliable service communication.
-
Benchmarking .NET Native AOT for High-Traffic REST APIs
c-sharpcorner.com Issue #519
Explore .NET Native AOT for high-traffic REST APIs. Benchmark startup, latency, throughput, and memory for optimal performance.
-
Mastering Async Concurrency in Enterprise AI: gather vs as_completed vs TaskGroup in LangGraph
c-sharpcorner.com Issue #519
Master async Python for enterprise AI: gather, as_completed, TaskGroup in LangGraph for efficient ML inference and multi-agent concurrency.
-
Is Async/Await Killing Your App’s Performance?
medium.com Issue #519
For a long time, I used async and await under the assumption that they were a 'magic button' to make my code faster. Continue reading on Deloitte UK Engineering Blog »
-
Production-Ready OpenTelemetry Metrics in .NET 11
c-sharpcorner.com Issue #519
Implement production-ready OpenTelemetry metrics in .NET 11. Capture custom business metrics, monitor performance, and ensure reliability.
-
Leveraging Built-In Rate Limiting and Output Caching in Modern .NET
c-sharpcorner.com Issue #519
Boost .NET API performance with built-in rate limiting & output caching. Protect against abuse & reduce database load efficiently.
-
Entity Framework N+1 in a Report Loop: The Pre-Fetch Fix Was Going to Crash Large Tenants
medium.com Issue #519
he query loop was firing once per row. The obvious fix loaded the entire tenant’s history into memory. Neither was acceptable.
-
Diagnosing Thread Pool Starvation in ASP.NET Core APIs
c-sharpcorner.com Issue #519
Diagnose and fix ASP.NET Core API Thread Pool starvation. Learn to identify slow responses caused by blocked threads, not just slow databases.
-
How I Extended Polly’s Resilience Pipeline with a Custom IOptionsMonitor
medium.com Issue #519
From feature request to merged PR: exposing a hidden path in Polly’s resilience pipeline.
-
Designing High-Throughput File Processing Pipelines with .NET Channels
c-sharpcorner.com Issue #519
Design scalable .NET file processing pipelines with Channels. Learn producer-consumer, backpressure, and error handling for high throughput.
-
Second-Level Caching in EF Core 10: The Complete Guide
codewithmukesh.com Issue #519
Add second-level caching to EF Core 10 with EFCoreSecondLevelCacheInterceptor, Redis, and HybridCache - with real benchmarks and the invalidation gotchas.
-
Building High-Performance Minimal APIs with Typed Results in .NET Core
c-sharpcorner.com Issue #518
Unlock high-performance .NET Core Minimal APIs with Typed Results. Enhance type safety, unit testability, and Swagger documentation for cleaner code.
-
When our cache turned against us
csharpdigest.net Issue #518
cache stampedes happen when many requests all miss the cache at the same moment