Context Engineering for Enterprise AI, Part 1: Context Management (Why RAG Alone Isn't Enough)
Part 1 of a context-engineering series: why naive RAG hallucinates and the C#+Python context layer that fixes it — rewriting, re-ranking, budgeting.
Posts and interview questions tagged Context Engineering.
Part 1 of a context-engineering series: why naive RAG hallucinates and the C#+Python context layer that fixes it — rewriting, re-ranking, budgeting.
How Mattrx swapped synchronous REST calls for Kafka — decoupling the ingestion pipeline, killing cascading failures, and cutting failures by 90%.
Mattrx's Azure bill spiked overnight. The real causes — runaway logging, autoscale, orphaned resources, egress — and the fixes that cut it 60%.
.NET 11 vs .NET 10 benchmarked on Mattrx in production — the real throughput, latency, and memory wins, the new features, and whether to upgrade.
NgRx (classic + ComponentStore + SignalStore), Signals, NGXS, Akita — same Mattrx feature implemented every way with bundle, LOC, and DevTools tradeoffs.
10 async/await mistakes that wreck API throughput — .Result, async void, sequential awaits, lock across await. Mattrx 1,200 → 4,500 RPS in 2 weeks.
How Mattrx ended oversells and retired a Redis cluster by moving inventory reservation into MySQL with SELECT FOR UPDATE SKIP LOCKED.
10 hidden ASP.NET Core memory leaks with before/after code — singletons, MemoryCache, EF tracker, LOH. Mattrx fleet RAM 12.6 GB → 2.3 GB.
The 10 React mistakes I see in every audit — derived state, fetch waterfalls, key bugs — with before/after code and real production metrics.
Full-stack Mattrx playbook — Angular 19 + .NET 9 + Clean Architecture + CQRS + MediatR + EF Core + JWT + SignalR + Redis, with production metrics.
Deep .NET data access guide: EF Core tracking, projection, AsSplitQuery, ExecuteUpdateAsync, compiled queries, and the EF + Dapper hybrid pattern.
SOLID principles built around a real C# order-processing service. Refactor each principle with honest pros, cons, and a code-review checklist.