Engineering Demonstration
Software Engineering
High-Throughput .NET Core 8 Web API with SQL Server & Redis
Problem Statement:
Under simulated concurrent traffic of 2,500 requests per second, a standard Entity Framework Core backend experienced severe SQL connection pool starvation, elevated memory allocations, and p95 latency exceeding 320ms.
Solution Overview:
Re-architected the read/write pathways using Clean Architecture and the CQRS pattern via MediatR. Implemented Dapper micro-ORM for read projections, added Redis distributed cache-aside for high-frequency endpoints, and optimized SQL Server connection pooling and query parameterization.
ASP.NET Core 8
C# 12
SQL Server
Dapper
Redis
MediatR
Docker
BENCHMARK RESULTS
2,500 req/sec
Before (p95)
320ms
After (p95)
58ms
Memory Allocation
-68%
DB Conn Pool
0 Timeout
Verified using k6 load testing scripts against containerized SQL Server 2022 instance.