---
title: "Discussion on \"How Rate Limiting Works in a Node.js URL Shortener (Deep Dive)\" | Hashnode"
description: "Discussion on \"How Rate Limiting Works in a Node.js URL Shortener (Deep Dive)\". A thorough walkthrough of how express-rate-limit is used to protect a URL shortener API — covering dual limiters, proxy trust, in-memory storage trade"
url: "https://hashnode.com/posts/how-rate-limiting-works-in-a-node-js-url-shortener-deep-dive/69d525085da14bc70e68613c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How Rate Limiting Works in a Node.js URL Shortener (Deep Dive)](https://url-shortener.hashnode.dev/how-rate-limiting-works-in-a-node-js-url-shortener-deep-dive?utm_source=hashnode&utm_medium=feed)

A thorough walkthrough of how express-rate-limit is used to protect a URL shortener API — covering dual limiters, proxy trust, in-memory storage trade

Apr 7 · 8 min read · url-shortener.hashnode.dev  
Read the article

-   [#node](https://hashnode.com/tag/node)
-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#rate-limiter-api](https://hashnode.com/tag/rate-limiter-api)
-   [#express](https://hashnode.com/tag/express)
-   [#webdev](https://hashnode.com/tag/webdev)
-   [#security](https://hashnode.com/tag/security)

## Written by

[Niraj Maharjan](https://hashnode.com/@niraj-maharjan)

@niraj-maharjan

  
[View profile](https://hashnode.com/@niraj-maharjan)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
