Skip to content
Ashish's Engineering Lab

Engineering Notes

High-signal thoughts on infrastructure, artificial intelligence, and the intricacies of building resilient systems at scale.

  • 16 min readPerformance

    DSA Problem-Solving Guide: When to Use Which Concept

    A practical DSA pattern-recognition guide for knowing when to use HashMap, Binary Search, Two Pointers, Sliding Window, Prefix Sum, Stack, BFS, DFS, Greedy, DP, Heap, and Backtracking.

  • 3 min readAI Engineering

    The True Cost of LLM Latency

    Time-to-first-token and total generation time are different products. Streaming, deadline propagation, and why your timeout budget is probably wrong.