Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Warning when hitting the Cloudflare Platform Limits #3317

Open
JanThiel opened this issue Jan 10, 2025 · 0 comments
Open

Feature Request: Warning when hitting the Cloudflare Platform Limits #3317

JanThiel opened this issue Jan 10, 2025 · 0 comments
Labels
feature request Request for Workers team to add a feature

Comments

@JanThiel
Copy link

JanThiel commented Jan 10, 2025

Hey there,

first of all: It is a pleasure developing for CF Workers thanks to your amazing local tooling with miniflare in it's core. Thank you very much!

Now it comes to the dark sides of local simulation: The Cloudflare Platform Limits ( https://developers.cloudflare.com/workers/platform/limits/ ).
On a recent project we developed for some weeks locally until the Worker did what it should. It is kind of a Data Warehouse Data Collector based on D1, Workflows, Cron Triggers, Queues and the latest versions of the Worker Platform.

Locally everything worked out perfectly fine. We were happy. Amazing solution with great performance building upon nice tools provided by the CF Platform. Great DX :-)
Then we deployed it to Cloudflare ... and we faced "reality" ... . The Worker was unable to perform as it should due to "API request limits". It runs on Workers Paid. So 1000 requests seems "a lot". But it's not. As each D1 DB call is part of the limit...

I would not like to discuss the limits, but asking for a way to know of these limits while developing locally. As we tested locally with exactly the same data base we now want to run on prod, we passed the limits there as well already.

A warning, note or whatsoever would be a massive support to know as early as possible that the app that works locally will not do so after being deployed.

We now need to fundamentally change core parts of the app to facilitate less requests. Knowing that before would have helped us to reduce frustration and developing costs now at the latest possible time of the dev cycle.

Best Regards,

Jan

@penalosa penalosa transferred this issue from cloudflare/miniflare Jan 10, 2025
@jasnell jasnell added the feature request Request for Workers team to add a feature label Jan 10, 2025
@penalosa penalosa removed this from workers-sdk Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Request for Workers team to add a feature
Projects
None yet
Development

No branches or pull requests

2 participants