ยฉ 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developersโ€ข4y agoโ€ข
7 replies
Kai

Implementing complex rate-limiting

I have an upstream service I want to hammer with as many requests as I can get. But, unsurprisingly, they have rate limiting in place. I have recently implemented this in DOs, blocking concurrency on each DO, but this is incredibly expensive (10d ~ $120) as the DO is permanently active and making requests.

Is there any smarter way to implement stateful rate limiting? I'm already using queues to make the requests, but not sure if there's a way to get state as part of queues.
Cloudflare Developers banner
Cloudflare DevelopersJoin
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Rate Limiting
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
2y ago
rate limiting issues
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
16mo ago
Suggestion for rate limiting
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
2y ago
New Rate Limiting Feature Broken?
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
14mo ago