本文へスキップ
記事初級

Queues で外部 API のレート制限に対応する

Cloudflare Queues を使って外部 API のレート制限内に収める方法を、Resend でメール通知を送るアプリを例に解説します。

最終更新
2026年10月12日
元の記事を読む

この紹介文は現在英語版のみです。

Instead of calling a rate-limited API directly, send work to a queue and let a consumer process it at a pace the API accepts. The example sends email with Resend, but the pattern works for any external API.

What you’ll learn

  • Set up a queue and bindings
  • Send messages to the queue
  • Process messages within rate limits
  • Send email with Resend and deploy

Cloudflare products used

Queues, Workers.

Follow the full, step-by-step tutorial in Cloudflare’s documentation.

さらに学ぶ