---
title: "Discussion on \"How to Create a Rate Limiter using Bucket4J and Redis\" | Hashnode"
description: "Discussion on \"How to Create a Rate Limiter using Bucket4J and Redis\". In this tutorial we will learn how to implement rate limiting in a scaled service.We will use the Bucket4J library to implement it and we will use Redis as a distributed cache.\nWhy Use Rate Limiting?\nLet's get started with some basics to make sure we..."
url: "https://hashnode.com/posts/rate-limiting-with-bucket4j-and-redis/66c37625f278f15f931a342a"
---

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

Discussion

# [How to Create a Rate Limiter using Bucket4J and Redis](https://freecodecamp.org/news/rate-limiting-with-bucket4j-and-redis?utm_source=hashnode&utm_medium=feed)

In this tutorial we will learn how to implement rate limiting in a scaled service.We will use the Bucket4J library to implement it and we will use Redis as a distributed cache. Why Use Rate Limiting? Let's get started with some basics to make sure we...

Apr 1, 2022 · 8 min read · freecodecamp.org  
Read the article

-   [#api](https://hashnode.com/tag/api)
-   [#redis](https://hashnode.com/tag/redis)
-   [#web-security](https://hashnode.com/tag/web-security)

## Written by

[Abhinav Pandey](https://hashnode.com/@abh1navv)

@abh1navv

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

Senior Software Engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
