πŸ‘‹ Welcome to my Signature, a space between logic and curiosity. I’m a Software Development Engineer who loves turning ideas into systems that work beautifully. This space captures the process: the bugs, breakthroughs, and β€œaha” moments that keep me building.

Author avatar
Prashant Basnet
Prashant  Basnet signature image

Signature of Prashant Basnet

Author avatar
Prashant BasnetDec 31, 2025
Scaling Reads: Reducing API Latency from 4s to 40ms

Our newsfeed was taking 4 seconds to load a feed. We added a cache. Now it takes 40 milliseconds.Here's what happened.The ProblemWe ran a load test with just 50

2 min readΒ·General
Article cover
Author avatar
Prashant BasnetDec 15, 2025
How We Scaled from 10 to 750+ Permissions Without Writing a Single Middleware Function | Metaprogramming

This thread is about auto Generating Semantic role based access control middleware  using Metaprogramming.Metaprogramming is code that writes or manipulate

3 min readΒ·General
Article cover
Author avatar
Prashant BasnetNov 20, 2025
We Cut API Latency by 67% By Fixing One Simple Thing | Metrics Bus |

We cut our API latency by 67% and boosted throughput by 31%. We didn't change a single line of business logic. We didn't upgrade our servers. We fixed one stupi

3 min readΒ·General
Article cover
Author avatar
Prashant BasnetOct 6, 2025
Promise In JavaScript

🧱 1. Basic Functionfunction feature(){  return "hi" } console.log(feature()) => "hi" Everything here runs top to bottom, line by line, without interrup

5 min readΒ·General
Author avatar
Prashant BasnetSep 4, 2025
Factory Pattern: The Glue of Services, Repos, and Infra

When a project starts, life is simple. You know how things are wired, and adding a new feature feels effortless. But as the system grows, that mental model coll

3 min readΒ·General
Article cover
Author avatar
Prashant BasnetSep 2, 2025
Design Patterns Every Developer Should Know: From Principles to Practice

First thing first what's difference between Design Principles vs Design Patterns?The Why?Design Principles are broad guidelines or philosophies for writing good

9 min readΒ·General
Article cover
Author avatar
Prashant BasnetAug 30, 2025
200K+ Authorization Checks per sec with Graph Based RBAC and Zero DB Hits

The Situation & Challenge:At Blueflite, drone operations platform serves multiple organizations with straightforward roles:Operators : Plan and execute ope

5 min readΒ·General
Article cover
Author avatar
Prashant BasnetJun 21, 2025
Word Ladder | HashMap + BFS

A transformation sequence from word beginWord to word endWord using a dictionary wordList is a sequence of words be

3 min readΒ·General
Author avatar
Prashant BasnetJun 16, 2025
Understanding Backtracking Patterns: Sequential vs Choice Generation

Many struggle with backtracking because they confuse two fundamental patterns i.e Sequential Decision Making and Choice Generation. The Conversion Funnel: From

2 min readΒ·General
Article cover
Author avatar
Prashant BasnetJun 15, 2025
🧠 The Thinking Evolution: From Problem to Pattern Recognition | Mental Model

🎯 The Real Question: How do I train my brain to see patterns?here's the actual thinking process that happens in senior developers' minds:πŸ“– STEP 1: R

6 min readΒ·General
Article cover
Author avatar
Prashant BasnetJun 11, 2025
System Design 101: What I'm Building, Reading, and Practicing

1/ Why System Design? I realized that while DSA builds problem-solving skills, System Design teaches how real-world software works:ScalabilityReliabilityPerfor

1 min readΒ·General
Author avatar
Prashant BasnetJun 8, 2025
Pub/Sub: The Invisible Glue That Makes Modern Apps Work

Publish-Subscribe is a messaging pattern where:Publishers send messages without knowing who receives them.Subscribers listen without kn

4 min readΒ·General
Article cover
Author avatar
Prashant BasnetMay 29, 2025
Understanding Debounce vs Throttle

If you’ve ever built a search bar or input form that sends API calls, you’ve probably heard of debounce. Or maybe you’ve created a backend API then you've proba

3 min readΒ·General
Article cover
Author avatar
Prashant BasnetMay 26, 2025
Kahn's Algorithm | Topological Sort | Graph Cycle Detection

A sort that return a specific order of the vertex of a given a graph as long as the graph satisfies certain condition. This is a simple algorithm to learn.First

5 min readΒ·General
Article cover
Author avatar
Prashant BasnetMay 26, 2025
CSCE-533 | Message passing based IPC

All communication in distributed systems is based on explicit message exchange (sending and receiving messages).When process P wants to communicate with process

3 min readΒ·General
Article cover
Author avatar
Prashant BasnetMay 19, 2025
Data Structures Based on Array

Arrays are where we start as devs. But what if I told you arrays secretly stack superpowers?Let's go beginner β†’ expert: mastering arrays, stacks, monotonic stac

6 min readΒ·General
Article cover
Author avatar
Prashant BasnetMay 17, 2025
Think Like an Engineer: Optimize Swaps with Cycle Insight | Sort Array | Moving Items to Empty Space

You are given an integer array nums of size n containing each element from 0 to n - 1 (inclusive). Each of the

4 min readΒ·General
Article cover
Author avatar
Prashant BasnetMay 17, 2025
Matrix Rotation: A Must-Know for Devs & ML Engineers

🧠 Why Learn This?Matrix rotation isn't just a coding interview favorite It's used in AI, ML, and image processing to manipulate data efficiently.Think:Rotating

3 min readΒ·General
Article cover
Author avatar
Prashant BasnetMay 17, 2025
From Brute Force to Optimal: Subarray Ranges Explained via Monotonic Stacks πŸ”₯

You are given an integer array nums. The range of a subarray of nums is the difference between the largest and smallest element in the

5 min readΒ·General
Article cover
Author avatar
Prashant BasnetMay 9, 2025
Largest Color Value in a Directed Graph

πŸ” Problem Restatement (in simpler terms)You are given:A directed graph with n nodes.Each node i has a color, colors[i] ∈ {a-z}.Each path from one node to anoth

4 min readΒ·General
Article cover
Author avatar
Prashant BasnetApr 29, 2025
Decode String Problem: Mastering Stacks for Nested String Parsing

1️⃣ Understanding the ProblemThe Decode String problem asks us to decode a string like 3[a2[c]] into accaccaccFormat: k[encoded_st

4 min readΒ·General
Article cover
Author avatar
Prashant BasnetApr 24, 2025
Shortest Unsorted Continuous Subarray

The Problem:Given an integer array nums, you need to find one continuous subarray such that if you only sort this subarray in non-decreasing orde

3 min readΒ·General
Article cover
Author avatar
Prashant BasnetApr 22, 2025
Building a Resilient Task Queue System πŸ“¨ with RabbitMQ, Flask & Python 🐍

πŸ‡ What is RabbitMQ?In real world systems, services fail, crash, restart, or scale dynamically. You can't afford tight coupling between them. RabbitMQ ensures n

4 min readΒ·General
Article cover
Author avatar
Prashant BasnetApr 22, 2025
Finding the Number of Visible Mountains

🌍 The Why?Event Timeline Visibility:Think of mountains as tasks, events, or ads that want to be seen. Only those not completely covered by others are visible.U

5 min readΒ·General
Article cover
Author avatar
Prashant BasnetApr 7, 2025
Loop Order in 2D Arrays | The Case of the Slow Matrix: A Developer’s Mystery πŸ”

Chapter 1: The Mysterious SlowdownAlex, a junior engineer at a fast-paced AI startup, was proud of their latest code. It processed massive datasets for a new re

3 min readΒ·General
Article cover