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
-
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.
-
Query Optimization in SQL: EXPLAIN, Indexes, and Join Strategies
Learn how to read EXPLAIN ANALYZE output, choose the right indexes, and pick join strategies to diagnose and fix slow SQL queries in PostgreSQL.
-
Understanding Rust Ownership (Without Writing a Compiler)
A practical guide to Rust's ownership model — covering ownership rules, borrowing, lifetimes, and why the borrow checker exists, with concrete examples throughout.