---
title: "Krrish Kumar (@quietkernel) | Hashnode"
description: "Krrish Kumar, backend & AI engineer (Node.js/TypeScript). Read the latest articles by Krrish Kumar on Hashnode."
url: "https://hashnode.com/@quietkernel"
---

@quietkernel

# Krrish Kumar

@quietkernel · Joined October 2026

Krrish Kumar, backend & AI engineer (Node.js/TypeScript)

### [Testing webhook handlers against duplicates, races and out-of-order delivery](https://quietkernel.hashnode.dev/testing-webhook-handlers-against-duplicates-races-and-out-of-order-delivery?utm_source=hashnode&utm_medium=feed)

Most webhook handlers get tested once: send one event, check for a 200, move on. Production doesn't send one event. Stripe's docs say so. Under Handle duplicate events: "Webhook endpoints might occasi

9 min read · [quietkernel.hashnode.dev](https://quietkernel.hashnode.dev/testing-webhook-handlers-against-duplicates-races-and-out-of-order-delivery?utm_source=hashnode&utm_medium=feed)

[6h ago](https://hashnode.com/posts/testing-webhook-handlers-against-duplicates-races-and-out-of-order-delivery/6b07397150c8a3ab531c799c)

### [I SIGKILLed 160 Node workers to find out which idempotency pattern double-charges](https://quietkernel.hashnode.dev/i-sigkilled-160-node-workers-to-find-out-which-idempotency-pattern-double-charges?utm_source=hashnode&utm_medium=feed)

Queues retry. That is their job. BullMQ hands a stalled job to another worker. An agent framework replays a tool call after a timeout. A process dies in the gap between sending the email and writing d

7 min read · [quietkernel.hashnode.dev](https://quietkernel.hashnode.dev/i-sigkilled-160-node-workers-to-find-out-which-idempotency-pattern-double-charges?utm_source=hashnode&utm_medium=feed)

[1d ago](https://hashnode.com/posts/i-sigkilled-160-node-workers-to-find-out-which-idempotency-pattern-double-charges/6b058e9512c058b319968e20)

### [Building a distributed tokens-per-minute limiter for LLM APIs with one Redis Lua script](https://quietkernel.hashnode.dev/building-a-distributed-tokens-per-minute-limiter-for-llm-apis-with-one-redis-lua-script?utm_source=hashnode&utm_medium=feed)

Token buckets, reserve-and-settle leases, crash-safe concurrency slots, and why a 429 isn't always a rate limit

7 min read · [quietkernel.hashnode.dev](https://quietkernel.hashnode.dev/building-a-distributed-tokens-per-minute-limiter-for-llm-apis-with-one-redis-lua-script?utm_source=hashnode&utm_medium=feed)

[Nov 9](https://hashnode.com/posts/building-a-distributed-tokens-per-minute-limiter-for-llm-apis-with-one-redis-lua-script/6af1c6a6f7522e005a9755d2)

### [Saved to Postgres, never queued: the transactional outbox for Node](https://quietkernel.hashnode.dev/saved-to-postgres-never-queued-the-transactional-outbox-for-node?utm_source=hashnode&utm_medium=feed)

Here's a bug that never shows up in tests. A request saves an order to Postgres, then calls queue.add('send-receipt', ...). The deploy restarts the pod between those two lines, or Redis blips for two

9 min read · [quietkernel.hashnode.dev](https://quietkernel.hashnode.dev/saved-to-postgres-never-queued-the-transactional-outbox-for-node?utm_source=hashnode&utm_medium=feed)

[Nov 1](https://hashnode.com/posts/saved-to-postgres-never-queued-the-transactional-outbox-for-node/6ae6fb2adcafec3cec4ffc53)

### [How npm worms steal your credentials, and the order to rotate them in](https://quietkernel.hashnode.dev/how-npm-worms-steal-your-credentials-and-the-order-to-rotate-them-in?utm_source=hashnode&utm_medium=feed)

Almost every npm supply-chain advisory ends with the same instruction: rotate every credential the machine could access. It sounds simple until you try it at 2 AM. Which credentials did the machine ha

9 min read · [quietkernel.hashnode.dev](https://quietkernel.hashnode.dev/how-npm-worms-steal-your-credentials-and-the-order-to-rotate-them-in?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/how-npm-worms-steal-your-credentials-and-the-order-to-rotate-them-in/6addc7f8a1cb4183f25888f3) [Oct 25](https://hashnode.com/posts/how-npm-worms-steal-your-credentials-and-the-order-to-rotate-them-in/6addc7f8a1cb4183f25888f3)
