Skip to content
All topics

Tech Stacks

Kubernetes, Docker, microservices and modern architecture patterns — HLDs, LLDs and the trade-offs behind them.

36 long reads · 446 minutes in total

  1. Internal Admin Tool with Django, HTMX, and Celery: A Small-Team Blueprint

    A practical AWS architecture for a small internal admin tool, from Django and HTMX request handling through Celery jobs, safe releases, observability, and recovery.

    12 Nov 202622 min

  2. Tech Stacks Interview Questions: Choosing and Evolving a Stack Under Constraints

    Twelve practical interview questions on selecting, validating, operating, and evolving a technology stack without treating familiarity or fashion as evidence.

    9 Nov 202615 min

  3. Clinic Booking on ASP.NET Core, PostgreSQL, and Azure App Service

    A small-team architecture blueprint for a clinic booking app, from PostgreSQL conflict safety and App Service deployment to observability, recovery, and cost.

    2 Nov 202621 min

  4. Personal Finance Tracker with Next.js Server Actions and PostgreSQL on a Single VPS

    Build a cost-efficient, scalable personal finance tracker using Next.js Server Actions paired with PostgreSQL, all on a single VPS, focusing on simplicity, performance, and developer productivity.

    30 Oct 202614 min

  5. Designing ekanatha.io: a Markdown-first publishing platform with an AI editor

    The HLD, LLD, data model, sequence flows and deployment plan behind ekanatha.io — a single Next.js service with a Word-style Markdown editor, an AI co-writer and an auto-posting job, shipped to a Hostinger VPS with Docker.

    30 Oct 20268 min

  6. Caching as a Performance Multiplier: Hits, Freshness, and Failure

    Caching can cut repeated work and protect dependencies, but only when keys, freshness rules, and failure behavior are designed as carefully as the hit path.

    25 Oct 202611 min

  7. Part 1: The Foundations of Production .NET Services

    Part 1: The Foundations of Production .NET Services A practical guide for building, operating, and deploying reliable ASP.NET Core services on AWS. Audience: .NET developers moving from working APIs to production service...

    24 Oct 202627 min

  8. C# Interview Guide: CQRS with MediatR — Commands, Queries, Pipeline Behaviours

    Q27 — CQRS with MediatR — Commands, Queries, Pipeline Behaviours Level: Senior | Topic: Architecture CQRS in a Nutshell Command Query Responsibility Segregation separates operations that change state (Commands) from oper...

    6 Jun 202612 min

  9. C# Interview Guide: Clean Architecture — Solution Structure and the Dependency Rule

    Q26 — Clean Architecture — Solution Structure, Dependency Rule, Layer Responsibilities Level: Senior | Topic: Architecture The Core Principle — Dependency Rule In Clean Architecture, dependencies point inward only . The ...

    6 Jun 202611 min

  10. C# Interview Guide: Integration Testing with WebApplicationFactory and Testcontainers

    Q25 — Integration Testing with WebApplicationFactory and Testcontainers Level: Senior | Topic: Testing Why Integration Tests? Unit tests verify logic in isolation. Integration tests verify the full ASP.NET Core pipeline ...

    6 Jun 202612 min

  11. C# Interview Guide: Secrets Management — User Secrets, Azure Key Vault, Managed Identity

    Q23 — Secrets Management — User Secrets, Azure Key Vault, Managed Identity Level: Mid-Level | Topic: Security The Problem Secrets committed to source control are a leading cause of breaches. The correct approach: use dif...

    5 Jun 202612 min

  12. C# Interview Guide: OWASP Top 10 for .NET APIs — Mitigations and Code

    Q22 — OWASP Top 10 — How Each Applies to .NET APIs with Mitigations Level: Senior | Topic: Security The Most Critical Risks A01 — Broken Access Control: Never trust client-sent IDs. Always load the resource then verify o...

    5 Jun 202611 min

  13. C# Interview Guide: Rate Limiting in .NET 7+ — Fixed Window, Sliding Window, Token Bucket

    Q21 — Rate Limiting in .NET 7+ — Fixed Window, Sliding Window, Token Bucket Level: Senior | Topic: Performance Optimization Why Rate Limiting? Rate limiting protects your API from overload — whether from abusive clients,...

    5 Jun 20268 min

  14. C# Interview Guide: Span<T>, Memory<T>, and ArrayPool<T> — Zero-Allocation Patterns

    Q20 — Span&lt;T&gt;, Memory&lt;T&gt;, and ArrayPool&lt;T&gt; — Zero-Allocation Patterns Level: Senior | Topic: Performance Optimization The Problem: Allocation Pressure In high-throughput .NET code, excessive heap alloca...

    5 Jun 202613 min

  15. C# Interview Guide: Caching Layers — IMemoryCache, IDistributedCache, HybridCache, Output Cache

    Q19 — Caching Layers — IMemoryCache, IDistributedCache, HybridCache, Output Cache Level: Senior | Topic: Performance Optimization Choosing the Right Cache IMemoryCache: In-process, zero serialisation, microsecond latency...

    5 Jun 202612 min

  16. C# Interview Guide: SQL Server Query Optimisation — Execution Plans, Statistics, Query Store

    Q18 — Query Optimisation Workflow — Execution Plans, Statistics, Query Store Level: Senior | Topic: SQL Server The Optimisation Workflow Effective query optimisation follows a structured workflow: identify slow queries, ...

    5 Jun 20268 min

  17. C# Interview Guide: SQL Server Window Functions — ROW_NUMBER, LAG, Running Totals

    Q17 — Window Functions — ROW_NUMBER, LAG, SUM OVER, Running Totals Level: Mid-Level | Topic: SQL Server What Are Window Functions? Window functions operate across a set of rows without collapsing them into a single outpu...

    5 Jun 202613 min

  18. C# Interview Guide: SQL Server Indexes — Clustered, Non-Clustered, Covering, Filtered

    Q15 — Clustered vs Non-Clustered Indexes — Covering Indexes, Filtered Indexes Level: Mid-Level | Topic: SQL Server Clustered Index A clustered index physically sorts and stores the actual data rows in the table based on ...

    5 Jun 20268 min

  19. C# Interview Guide: EF Core Performance — Compiled Queries, Split Queries, Raw SQL

    Q14 — EF Core Performance — Compiled Queries, Split Queries, Raw SQL Level: Senior | Topic: Entity Framework Core Performance Bottlenecks in EF Core Every LINQ query goes through an expression tree compiler that translat...

    5 Jun 20268 min

  20. C# Interview Guide: EF Core Migrations — Production Deployment Strategy

    Q13 — EF Core Migrations — Production Deployment Strategy Level: Senior | Topic: Entity Framework Core The Problem with Naive Migration Deployment Running MigrateAsync() at app startup in a multi-instance deployment is d...

    5 Jun 20269 min

  21. C# Interview Guide: EF Core AsNoTracking vs Tracked Queries

    Q12 — AsNoTracking vs Tracked Queries — Change Tracker Internals Level: Mid-Level | Topic: Entity Framework Core How the Change Tracker Works When you load an entity with a tracked query, EF Core stores a snapshot of the...

    5 Jun 20268 min

  22. C# Interview Guide: EF Core Loading Strategies and the N+1 Problem

    Q11 — Eager, Lazy, and Explicit Loading — Differences and the N+1 Problem Level: Mid-Level | Topic: Entity Framework Core The Three Loading Strategies Eager Loading ( Include() ): Related data is loaded in the same query...

    5 Jun 20269 min

  23. C# Interview Guide: Global Exception Handling with IExceptionHandler (.NET 8)

    Q10 — Global Exception Handling with IExceptionHandler (.NET 8) Level: Senior | Topic: Web API The Problem Without centralised exception handling, every controller action needs its own try/catch, error responses are inco...

    5 Jun 202615 min

  24. C# Interview Guide: DI Service Lifetimes and the Captive Dependency Trap

    Q7 — DI Service Lifetimes — Singleton, Scoped, Transient and the Captive Dependency Trap Level: Mid-Level | Topic: ASP.NET Core The Three Lifetimes Singleton: One instance per application. Created once, reused forever. U...

    5 Jun 20268 min

  25. C# Interview Guide: ASP.NET Core Middleware Pipeline

    Q6 — Explain the ASP.NET Core Middleware Pipeline and Write Custom Middleware Level: Mid-Level | Topic: ASP.NET Core How the Pipeline Works ASP.NET Core processes every HTTP request through a linear chain of middleware c...

    5 Jun 202610 min

  26. C# Interview Guide: async/await Internals — State Machines, Pitfalls, ValueTask

    Q5 — async/await Internals — State Machines, Pitfalls, ValueTask Level: Senior | Topic: C# Fundamentals How async/await Works Under the Hood The C# compiler transforms every async method into a state machine struct . Eac...

    5 Jun 202614 min

  27. C# Interview Guide: Memory Management — Stack, Heap, GC, IDisposable

    Q4 — Memory Management — Stack, Heap, GC Generations, IDisposable Level: Senior | Topic: C# Fundamentals Stack vs Heap The stack stores value types and method frames — allocation and deallocation are O(1) pointer moves. ...

    5 Jun 202615 min

  28. C# Interview Guide: Records, Nullable Reference Types, and Pattern Matching

    Q3 — Explain the C# Type System: Records, Nullable Reference Types, and Pattern Matching Level: Mid-Level | Topic: C# Fundamentals Records (C# 9+) Records are compiler-synthesised types that provide value equality , immu...

    5 Jun 202612 min

  29. C# Interview Guide: Abstract Classes vs Interfaces

    Q2 — Abstract Classes vs Interfaces — Differences and When to Use Each Level: Mid-Level | Topic: C# Fundamentals The Core Distinction Abstract classes express an IS-A relationship — they share state, constructors, and a ...

    5 Jun 202613 min

  30. C# Interview Guide: Value Types vs Reference Types

    Q1 — What is the difference between value types and reference types in C#? Level: Junior | Topic: C# Fundamentals The Short Answer Value types store data directly on the stack (or inline within an object). Reference type...

    5 Jun 202614 min

  31. Monolithic Architecture in .NET Core

    Monolithic — the starting point for most systems. A traditional monolith is a single process; a modular monolith enforces domain boundaries within it (great for teams not ready for microservices); vertical slice organise...

    16 May 20268 min

  32. SOLID Principles Explained with Real-World Examples

    SOLID is a set of five object-oriented design principles that help developers build software that is easier to maintain, extend, test, and refactor. The five principles are: S - Single Responsibility Principle O - Open/C...

    14 May 202627 min

  33. Logging in ASP.NET Core

    1. Introduction to Logging in ASP.NET Core ASP.NET Core logging is built into the framework from day one — no third-party package required to get started. The system is built around three abstractions that compose cleanl...

    12 May 20269 min

  34. Asynchronous Programming

    1. Understanding the Asynchronous Programming Model The diagram above shows the core problem async solves. In the synchronous model, every blocking I/O call (database query, HTTP request, file read) stalls its thread. Yo...

    11 May 20269 min

  35. EF Core Performance: Diagnosis, N+1 Fixes, and Projection Strategies

    A pragmatic performance playbook for EF Core: find bottlenecks, fix N+1s with projection/eager loading, and when to cache or use AsNoTracking.

    11 May 20268 min

  36. .NET DI Lifetimes: Avoiding Captive Dependencies and Scoping Pitfalls

    Practical guidance to register and consume services correctly in .NET: lifetimes, scope validation, hosted services, and background work patterns.

    11 May 202612 min

Newsletter

Get new Tech Stacks reads on Saturday.

The week’s new long reads on architecture, cloud and AI — with the diagrams left in. Delivered Saturday morning, no noise in between.

One email every Saturday. Unsubscribe with one click, any time.