<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Rate Limiting on Nalar</title>
    <link>https://nalar.dev/tags/rate-limiting/</link>
    <description>Recent content in Rate Limiting on Nalar</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Tue, 01 Sep 2026 00:00:00 +0700</lastBuildDate>
    <atom:link href="https://nalar.dev/tags/rate-limiting/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Token Bucket Rate Limiting in Go</title>
      <link>https://nalar.dev/token-bucket-rate-limiter-go/</link>
      <pubDate>Tue, 01 Sep 2026 00:00:00 +0700</pubDate>
      <guid>https://nalar.dev/token-bucket-rate-limiter-go/</guid>
      <description>&lt;p&gt;Rate limiting protects a service from traffic spikes, accidental client loops, and workloads that consume more resources than the system can safely handle. A useful limiter should do more than enforce a fixed request count: it should allow small bursts while keeping the long-term request rate bounded.&lt;/p&gt;&#xA;&lt;p&gt;The token bucket algorithm provides exactly that behavior. This guide implements a small, concurrency-safe token bucket using only Go&amp;rsquo;s standard library and then shows how to use it in an HTTP service.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
