Technical Writing·8 articles·4 topics

Engineering Notes

Backend systems, distributed architecture, AI/NLP, and algorithms with production context and implementation tradeoffs.

Browse

Latest writing

Engineering PatternsMay 31, 2026 · 22 min read

Designing API Rate Limiters: Algorithms, Distributed Systems, and Production Trade-offs

A practical guide to rate-limiting algorithms, atomic Redis enforcement, failure modes, multi-region trade-offs, and the edge cases that shape production API design.

Rate LimitingRedisDistributed Systems
Case StudyMay 2026 · 18 min read

KaryaFlow: A Distributed Autonomous Task Orchestration System

An agentic control plane with deterministic scheduling and optional retrieval-augmented decision intelligence — designed so no task remains idle without system intervention, and so correctness never depends on LLM availability.

GoKafkaPostgreSQLRedis
DSAApr 2026 · 18 min read

7 Dynamic Programming Patterns That Cover 90% of LC Hard

Pattern recognition is the real skill in DP — Knapsack, LIS, Grid, Interval, Tree, Bitmask, and Digit DP patterns broken down with examples.

AlgorithmsDPLeetCode
Case StudyApr 2026 · 20 min read

SanketLens: A Multi-Tenant gRPC Observability Engine

A token-scoped ingestion gateway with gateway-enforced tenant labels, multi-level load shedding, and app-scoped opinionated reports — designed to remove repeated Prometheus / Grafana / Collector / Tempo / Loki setup from every backend codebase.

GogRPCClickHousePostgreSQL
Case StudyApr 2026 · 12 min read

Keyword Extractor

Built a Bangla keyword extraction pipeline that ranks sentence tokens with transformer embeddings and produces keyword-text pairs for low-resource text generation research.

PythonPyTorchHugging FaceBanglaBERT
Engineering PatternsMar 2026 · 14 min read

RBAC That Survives Real Tenants

What I learned comparing flat permission catalogs, per-request scope injection, tenant roles, module gates, and immediate revocation.

RBACPostgreSQLMulti-Tenancy
LeetCodeMar 2026 · 8 min read

LeetCode #146 — LRU Cache: Every Way to Solve It

From brute force to the optimal O(1) doubly linked list + hashmap solution, with full Go implementation and complexity analysis.

GoHash MapLinked List
Case StudyMar 2026 · 14 min read

ProcessCache: In-Process LRU Cache for Go

A bounded, thread-safe Go cache package that keeps Redis out of simple hot paths while preserving exact global LRU order, O(1) prefix-scoped eviction, TTL expiration, typed reads, stats, custom sizing, and clean shutdown.

GoLRUMemory ManagementOpen Source