<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>aptpod_tech-writer</author_name>
  <author_url>https://blog.hatena.ne.jp/aptpod_tech-writer/</author_url>
  <blog_title>aptpod Tech Blog</blog_title>
  <blog_url>https://tech.aptpod.co.jp/</blog_url>
  <categories>
    <anon>Go</anon>
    <anon>サーバーサイド</anon>
  </categories>
  <description>はじめに こんにちは、aptpodのサーバーサイドエンジニアの宮内です。 突然ですが、APIのレートリミット実装していますか？ 最近、弊社のバックエンドAPIでもレート制限を実装しました。 Generic Cell Rate Algorithm (GCRA) を使ったのですが、 このアルゴリズムが面白かったので、今回はこのGCRAについてと、GoでGCRAを利用したレートリミットについて説明します。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.aptpod.co.jp%2Fentry%2F2021%2F03%2F05%2F100000&quot; title=&quot;GOでGCRAレートリミット - aptpod Tech Blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/a/aptpod_tech-writer/20210304/20210304181504.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-03-05 10:00:00</published>
  <title>GOでGCRAレートリミット</title>
  <type>rich</type>
  <url>https://tech.aptpod.co.jp/entry/2021/03/05/100000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
