重い処理には重い値段を。正門の入場制限がかしこくなった
💬 In one line
正門で人数制限する時、簡単な質問と難しい質問で同じ枠を使い分けられるようになりました。
商品検索は1カウント、重い検索は10カウント、といった具合に。
✨ Highlights
-
重さに応じて枠を消費できる
簡単な処理と重い処理が同じペナルティでは不公平です。これで公平に制限できます。
-
誰がどう使っているか、より細かく見守れる
同じユーザーでも、何をしているかで判断できるので、不正な使い方をより正確に見つけられます。
🛠️ What it means for your work
これまでは、ある人が1時間に100回まで、という単純な制限でした。これからは、誰かが重い検索を10回すれば枠が100回分無くなる、といった細かい調整ができます。つまり、あなたが書いたプログラムが「この処理は重いから、ここでは余裕を残しておこう」と自分で判断できるようになるわけです。
⚠️ Watch out for
新しい仕事机(Wrangler 4.157.0 以上)を用意しないと、手元での試し動かしに対応していません。
🔗 Original
This page is an AI summary of the official release notes. The full original text is not reproduced here.
Read the Cloudflare https://developers.cloudflare.com/changelog/post/2026-11-04-rate-limit-weighted-requests/ release notes →🔗 Related hubs and releases in the same category
🔔 Get the next one
Get plain-Japanese write-ups of new Cloudflare releases without opening the site (twice a day). No email address required.
What is RSS: New items arrive automatically wherever you already read (a reader such as Feedly, Slack, n8n). Copy the URL above and paste it in — no sign-up, no cost.
The headline and summary are an AI's Japanese rendering of each company's official announcement. They can diverge from the original. For the exact wording, follow the link to the official page. Terms of Use