---
title: "Priyansh Naskar (@pnaskardev) | Hashnode"
description: "System design, backend logic, and everything that scales. Read the latest articles by Priyansh Naskar on Hashnode."
url: "https://hashnode.com/@pnaskardev"
---

@pnaskardev

# Priyansh Naskar

@pnaskardev · Bangalore, India · Joined April 2025

System design, backend logic, and everything that scales.

### [A Practical Guide to Failure Handling](https://priyanshucodes.hashnode.dev/a-practical-guide-to-failure-handling?utm_source=hashnode&utm_medium=feed)

Why a timeout means "unknown", and how idempotency, retries, outboxes and reconciliation keep distributed systems correct.

6 min read · [priyanshucodes.hashnode.dev](https://priyanshucodes.hashnode.dev/a-practical-guide-to-failure-handling?utm_source=hashnode&utm_medium=feed)

[Sep 28](https://hashnode.com/posts/a-practical-guide-to-failure-handling/6abaa8b9cfdfe3e7eee7ac76)

### [Rate Limiting from Scratch in Go: Where Each Algorithm Breaks](https://priyanshucodes.hashnode.dev/rate-limiting-from-scratch-in-go-where-each-algorithm-breaks?utm_source=hashnode&utm_medium=feed)

Token bucket, leaky bucket, fixed window, and sliding window rate limiters built from scratch in Go — with the edge cases where each one fails.

5 min read · [priyanshucodes.hashnode.dev](https://priyanshucodes.hashnode.dev/rate-limiting-from-scratch-in-go-where-each-algorithm-breaks?utm_source=hashnode&utm_medium=feed)

[Sep 7](https://hashnode.com/posts/rate-limiting-from-scratch-in-go-where-each-algorithm-breaks/6a9ee1fe72261c05021ecfa1)

### [CAP Theorem, Explained Without the Jargon](https://priyanshucodes.hashnode.dev/cap-theorem-explained-without-the-jargon?utm_source=hashnode&utm_medium=feed)

CAP Theorem is also known as Brewers Theorem named after the Computer Scientist who state the theorem Eric Brewer. CAP Theorem explained

3 min read · [priyanshucodes.hashnode.dev](https://priyanshucodes.hashnode.dev/cap-theorem-explained-without-the-jargon?utm_source=hashnode&utm_medium=feed)

[Aug 28](https://hashnode.com/posts/cap-theorem-explained-without-the-jargon/6a912b65dce655bc4a6400fe)

### [SAGAs to maintain data consistency in a microservice architecture](https://priyanshucodes.hashnode.dev/sagas-to-maintain-data-consistency-in-a-microservice-architecture?utm_source=hashnode&utm_medium=feed)

Before diving in, I want to give full credit to Chris Richardson, whose talk on Sagas is one of the clearest explanations of this pattern I've come across. This article draws heavily from that talk, y

4 min read · [priyanshucodes.hashnode.dev](https://priyanshucodes.hashnode.dev/sagas-to-maintain-data-consistency-in-a-microservice-architecture?utm_source=hashnode&utm_medium=feed)

[Aug 25](https://hashnode.com/posts/sagas-to-maintain-data-consistency-in-a-microservice-architecture/6a8de229bb1108e4633a8113)

### [What is re-CAPTCHA and why is it used](https://priyanshucodes.hashnode.dev/what-is-re-captcha-and-why-is-it-used-c67e46e24119?utm_source=hashnode&utm_medium=feed)

In this day and age where around 60% of the world is using internet, it is actually very safe to assume that we all have come across a very annoying prompt which asks us “Humans” to prove that we are “Humans” which as I said is very annoying and may ...

5 min read · [priyanshucodes.hashnode.dev](https://priyanshucodes.hashnode.dev/what-is-re-captcha-and-why-is-it-used-c67e46e24119?utm_source=hashnode&utm_medium=feed)

[Dec 30, 2024](https://hashnode.com/posts/what-is-re-captcha-and-why-is-it-used-c67e46e24119/680b32131cadd8dd934a7af9)
