Hi, I'm Mukul 👋
Software developer writing about technology, programming, book reviews, and tools I build. Welcome to my corner of the internet.
Latest Posts
-
Understanding Core Web Vitals: LCP, CLS, INP for Developers
A developer's guide to Core Web Vitals — what LCP, CLS, and INP measure, how to diagnose poor scores, and the code-level fixes that actually move the needle.
-
Caching Strategies: Redis, CDN, and In-Memory — Choosing the Right Layer
A practical guide to caching strategies — cache-aside, write-through, TTL, invalidation, and how to choose between in-process memory, Redis, and CDN caching.
-
Webhooks vs Polling: Which One and When
Compare webhooks and polling for API integrations — understand the trade-offs in latency, reliability, complexity, and security, with code examples for both approaches.
-
REST API Design Best Practices: Versioning, Errors, and Pagination
A practical guide to REST API design covering resource naming, HTTP status codes, versioning strategies, structured error formats, and cursor-based pagination.
-
Rate Limiting — Algorithms and Implementation Patterns
Learn the four main rate limiting algorithms — fixed window, sliding window, token bucket, and leaky bucket — and how to implement them with Redis and Nginx.
-
OAuth 2.0 and JWT Explained: How Auth Actually Works
A practical guide to OAuth 2.0 flows and JWT tokens — how they work together, when to use each grant type, and how to implement secure token validation in your API.
-
MongoDB Schema Design Patterns for Developers
Learn how to design MongoDB schemas using embedding and referencing patterns, with real examples of when to choose each approach for performance and scalability.
-
Connection Pooling Explained: Why max_connections Isn't Enough
Understand how database connection pooling works, why raising max_connections alone won't prevent connection storms, and how PgBouncer solves the problem at scale.
-
Writing Better Bash Scripts: Tips, Traps, and Patterns
A practical guide to writing robust, readable Bash scripts — covering safe mode flags, quoting rules, error handling, argument parsing, and common traps to avoid.
-
TypeScript for JavaScript Developers: A Quick-Start Guide
A practical introduction to TypeScript for JavaScript developers — covering types, interfaces, generics, and the tooling setup you need to get productive fast.