Topic

Performance & Data

Databases, telemetry, ingestion and the measurements behind a system that is actually faster.

.NET & C#13 min

ArrayPool Across await: Leases, Ownership Transfer and Real Savings

Reproduce the HELLO-to-WORLD overwrite with ArrayPool.Shared, end leases at the right event, transfer ownership through a bounded queue and measure what pooling really saves.

.NET & C#13 min

Parsing TCP Frames in .NET: Cursors, Backpressure and Buffer Lifetimes

Build a framed PipeReader loop that survives split headers, see why Pipe backpressure counts examined bytes, and decide from measurements when copying beats a borrowed slice.

Performance & Data14 min

Why This Total Changed: Lineage That Survives Retries and Corrections

Give every derived total an identity from its rule and exact source versions, record each contribution, and correct sources by replacement, so retries count once and changes explain themselves.

Performance & Data16 min

When SQL Monitoring Becomes the Workload: Scans, Viewers and Locks

A four-row dashboard tile can out-read the business it watches and queue writers behind its own lock wait. Measure the per-call cost, share one snapshot and bound the exporter.

Performance & Data12 min

A Performance Diagnosis That Survives the Allocation Explanation

Allocation fell 77% and latency did not move. Test competing explanations on a real ASP.NET Core and SQLite endpoint, read the statement's work, and hand over a decision.

Engineering Practice13 min

Measure the AI Review Queue Without Inventing Reviewer Effort

Delivery times are not lead times, elapsed is not effort, and five approval notifications can be three accepted tasks. Measure the review queue honestly, then model capacity.

Performance & Data13 min

Telemetry Is a Schema: One Contract for a .NET AI Platform

A library upgrade renamed gen_ai.system and zeroed a dashboard. Build a .NET telemetry contract that survives GenAI convention changes, retries and cardinality limits.

Performance & Data13 min

One Million Events and Three Ways a Consumer Quietly Breaks

Duplicates after a lost acknowledgement, events skipped by a high-water checkpoint, and old events reapplied after retention: why totals miss them and how one transaction prevents them.

Performance & Data13 min

Trace One Order Across HTTP, a Queue and Retries in .NET 10

Make an ASP.NET Core 10 service explain itself before the first incident: propagate context through a queue, keep failed retries visible, and know what survives when traces are sampled out.

AI Engineering15 min

What Does a Correct RAG Answer Cost? Count Retries, Review and Setup

Per-call price ranks RAG pipelines wrongly. Divide all work by accepted tasks, keep missing usage unknown, and see how volume and question mix change the winner.

Performance & Data11 min

The Observer Effect: What .NET Telemetry Costs Before Sampling

A sampled-out span can still build its payload, and a stalled exporter silently drops spans. Measure both with OpenTelemetry .NET and add the guards and counters that fix them.

Performance & Data14 min

Moving Large Datasets with EF Core: Bounded, Resumable Batches

Export millions of rows through an EF Core 10 service without skipping or duplicating any: a frozen selection, keyset pages, a bounded pipeline and a receipt that commits with the data.