Cloudflare Rate Limiting

cloudflareRate limitercloudflare-rate-limiting

Edge rate limiting rules on the Cloudflare network.

Provider
cloudflare
Category
Edge
Properties · 5 set by this component
propertytypevaluesrequiredkind defaultthis component
action · component propertyenumblock | challenge | lognoblockinherited
algorithmenumtoken-bucket | leaky-bucket | sliding-window | fixed-window | adaptivenotoken-bucket▸ fixed-window
atomicOps · advancedboolean—notrueinherited
distributedboolean—nofalse▸ true
failModeenumopen | closednoopeninherited
managedboolean—nofalse▸ true
placementenumedge | gateway | sidecar | in-processnogateway▸ edge
scopeenumglobal | user | ip | api-key | concurrencynouser▸ ip
Rules that apply · 0

Every rule whose selector covers this component's kind or its category. Whether a rule fires depends on the design: its properties, its edges and its groups.

No rule reads this kind yet. That is a gap, not a guarantee.
Use it in a design
nodes:
  - { id: "rate-limiting", component: "cloudflare-rate-limiting" }
Other Rate limiter products · 6
Source
# yaml-language-server: $schema=../../schema/component.schema.json
# Cloudflare Rate Limiting: managed at the edge, fixed counting periods keyed by IP by default, blocks when exceeded.
schemaVersion: "1"
type: "component"
id: "cloudflare-rate-limiting"
kind: "rate-limiter"
provider: "cloudflare"
docs: "https://developers.cloudflare.com/waf/rate-limiting-rules/"
defaults:
  managed: true
  algorithm: "fixed-window"
  scope: "ip"
  placement: "edge"
  distributed: true
properties:
  action:
    type: "enum"
    values: ["block", "challenge", "log"]
    default: "block"

The same page as markdown, for an agent: /catalogue/components/cloudflare-rate-limiting.md