Database Performance: Up to 11Ă— Faster Workloads with Connection Pooling

Connection pooling significantly enhances database operation efficiency by reusing existing connections, reducing setup time. In SQLite benchmarks, pooling achieved up to an 11Ă— speedup under heavy concurrency. While beneficial for applications with frequent connections, pooling should be enabled by default, with exceptions for specific cases requiring immediate connection release.

Binary and JSON Compression in .NET: Brotli vs. LZ4

Choosing the right compression algorithm in .NET involves more than simply selecting the option that produces the smallest payload. Compression speed, decompression time, memory allocations, data format, and network conditions can all affect overall application performance. This article compares Brotli and LZ4 across binary and JSON workloads, explores how their compression levels behave, and explains the trade-offs developers should evaluate before choosing a strategy for performance-critical applications.

Are Async Database Inserts Really Faster in .NET?

When inserting records into a database, should you use synchronous or asynchronous execution? In this article, I compare both approaches in .NET, explain when each one makes sense, and share performance insights based on benchmarking. If you assume async is always faster, you may want to take a closer look.

Pipes vs. Streams in .NET: Choosing the Right Tool for Performance

The choice between Pipes and Streams for data processing hinges on specific workloads. Optimal selection requires benchmarking based on the application's data handling needs.

Coding Faster with dotNetTips.com Spargine 10: October 2026 Release

Spargine 10 (v2026.10.7.1), released on July 1, 2026, introduces NuGet packages for .NET 10, featuring new types, methods, and performance enhancements. The update allows for trimmable libraries, reducing application sizes and improving startup times. Community contributions are encouraged, and detailed benchmarks are available on GitHub.

dotNetDave Rocks .NET Developer Days 2026 Warsaw

David McCarter, also known as dotNetDave, will speak at .NET Developer Days 2026 in Warsaw on October 20-21. His sessions focus on performance benchmarking using BenchmarkDotNet and software engineering principles likened to rock music. Attendees will gain insights on effective code measurement, testing, and embracing engineering judgment.

GitHub Copilot and .NET Performance: Benchmark Every Optimization

GitHub Copilot offers optimization suggestions but testing their effectiveness requires careful engineering. While some improvements may seem beneficial, they can complicate code or slow performance. After reviewing various implementations, only a few suggestions showed meaningful gains. Developers must benchmark thoroughly to determine the real impact before adopting AI-generated code.

Collection Performance: Use Caution when using Range Expressions in Hot Paths when Collection Slicing

Range expressions make collection slicing concise, but they can introduce unexpected overhead in hot paths. This subscriber-only article compares several ways to create slices with `Memory`, `Span`, `ReadOnlyMemory`, and `ReadOnlySpan.

.NET Threads: The Performance Trap Hiding in Your Code

Creating background tasks in .NET applications is crucial to maintain responsiveness. While dedicated threads can be used, they incur significant overhead.

TCP vs. UDP in .NET: Speed, Reliability, and the Hidden Cost of Performance

Choosing between TCP and UDP is crucial for data transport. TCP ensures reliability and ordered delivery, making it ideal for critical applications, while UDP prioritizes speed and low latency, suited for real-time scenarios.