Database PerformanceEngineering Note
SQL Query Optimization via Execution Plans & Indexing
Diagnosing table scans, key lookups, and costly joins in large datasets by reading execution plans in SSMS, and restructuring queries into CTEs and covering non-clustered indexes.
Core Engineering Insights:
- Pinpointing expensive clustered index scans and converting them to index seeks with targeted non-clustered index definitions.
- Refactoring nested subqueries into Common Table Expressions (CTEs) and window functions (ROW_NUMBER, DENSE_RANK, SUM() OVER) for cleaner execution paths.
- Analyzing SQL Server statistics IO and execution durations to systematically measure optimization improvements under load.
SQL ServerExecution PlansCTEsQuery Tuning
Software ArchitectureEngineering Note
Establishing Scalable DI & Layered Architecture in .NET 8
Practical patterns for establishing initial .NET API solution structures, modular DI registrations with proper lifetime scoping, Generic Repository abstractions, and Unit of Work coordination.
Core Engineering Insights:
- Structuring service registrations with domain-specific service collection extension methods to keep Program.cs clean and maintainable.
- Implementing lifetime scoping best practices: Scoped for repositories and DbContexts, Transient for Unit of Work coordinators, and Singleton for stateless utilities.
- Enforcing strict DTO boundaries and CancellationToken propagation across asynchronous database pipelines.
.NET 8Dependency InjectionUnit of WorkClean Boundaries
Cloud & Practical AIEngineering Note
Asynchronous Document Processing in RAG with Azure Durable Functions
Architecting resilient serverless ingestion pipelines that prevent long-running OCR, chunking, and vector embedding on 500+ page documents from blocking interactive user APIs.
Core Engineering Insights:
- Decoupling document upload from heavy OCR and vector generation using Durable Functions orchestrator and activity patterns.
- Designing an automated PDF segmentation algorithm to overcome the 500-page limit in OCR engines while preserving cumulative page offsets.
- Implementing in-memory sliding-window rate limiters to prevent HTTP 429 exceptions when batching embedding API requests.
Azure Durable FunctionsRAGAzure AI SearchEmbeddings
DevOps & ReliabilityEngineering Note
Diagnosing Production Bottlenecks with Azure Monitor & Application Insights
A methodical approach to troubleshooting production bugs, memory spikes, and differentiating application code issues from cloud resource exhaustion.
Core Engineering Insights:
- Correlating failed HTTP requests with database query execution durations using end-to-end transaction telemetry in Application Insights.
- Tracing code execution paths and using structured Serilog database logs to reproduce complex financial calculation edge cases locally.
- Correlating application error spikes with Azure App Service CPU/memory metrics and database DTU/vCore utilization to isolate infrastructure bottlenecks.
Azure MonitorApplication InsightsProduction DebuggingTelemetry