---
title: "Discussion on \"Redis as custom storage for NestJS rate limiter\" | Hashnode"
description: "Discussion on \"Redis as custom storage for NestJS rate limiter\". A rate limiter is a standard protection technique against brute force and DDoS attacks. NestJS provides a module for it, and the default storage is in-memory. Custom storage, Redis in this case, should be injected inside ThrottlerModule configuration..."
url: "https://hashnode.com/posts/redis-as-custom-storage-for-nestjs-rate-limiter/640474c2a547dec75f7a129b"
---

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

Discussion

# [Redis as custom storage for NestJS rate limiter](https://zsevic.hashnode.dev/redis-as-custom-storage-for-nestjs-rate-limiter?utm_source=hashnode&utm_medium=feed)

A rate limiter is a standard protection technique against brute force and DDoS attacks. NestJS provides a module for it, and the default storage is in-memory. Custom storage, Redis in this case, should be injected inside ThrottlerModule configuration...

Mar 5, 2023 · 2 min read · zsevic.hashnode.dev  
Updated Nov 3, 2023  
Read the article

-   [#nestjs](https://hashnode.com/tag/nestjs)
-   [#redis](https://hashnode.com/tag/redis)

## Written by

[Željko Šević](https://hashnode.com/@zsevic)

@zsevic

  
[View profile](https://hashnode.com/@zsevic)

Node.js developer, creating tech content at https://sevic.dev

Node.js developer, creating tech content at https://sevic.dev

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
