@Matt ! Thanks for 1 and 3. For 2: we finally got a reply from our Cloudflare TAM and yes, they st
@Matt !
Thanks for 1 and 3.
For 2: we finally got a reply from our Cloudflare TAM and yes, they stated we need to add a payment method on our non-prod account. I'm working on us setting that up.
16 Replies
Hey guys,
really loving my solution using only cloudflare services for my backend api but im currently suffering from one problem I am hoping someone can guide me. I am using cloudflare queues to manage events that need to be processed say sending a command to a iot device. That iot device 3rd party api has been giving me issues sometimes where its unnavailable for 3 hours due to maintnanace on their end. So when my worker consumes that queue I need a way to keep retrying all the queue items every hour. until they succeed and then I can mark them as consumed.
Do you guys think i should just use upstash for now if I need those features?
whats the best way to retry a message in the queue but on a delay?
will retries happen immediately?
No good way to do that right now unfortunetely based on my limited experience. I needed a solution fast so i just temporarily moved to qstash from upstash
alternatively, would be nice to consume a queue from an external application. that would solve the problem for me
so I only consume items when my server is up and running
@idearium/cloudflare-queues | Idearium Lib
Safely process Cloudflare Queues batches and messages.
This is coming (HTTP Pull) in the future.
Sweet, I’d really love that.
I am looking at queue api docs, there is no way to send something to queue outside of the worker. Am i missing anything?
You would need to write a Worker: https://developers.cloudflare.com/queues/get-started/#write-your-producer-worker
Get started · Cloudflare Queues
Cloudflare Queues is a flexible messaging queue that allows you to queue messages for asynchronous processing. By following this guide, you will …
Thanks ❤️
my producer is simple:
after make 1 request via PostMan
there's a lots triggering this function, make massive queues produced to the Queue
any of them, has same logs like below:
what's wrong with my code? or is this a bug? any helps?
found out
it's because the routes endwith wildcard (star), without slashes rightbefore
( domain.com/a* => bug massive trigger)
( domain.com/a/* => works now)
hey guys! is there a way to increase the limit of queues? We used the request form (https://docs.google.com/forms/d/e/1FAIpQLSd_fwAVOboH9SlutMonzbhCxuuuOmiU1L_I5O2CFbXf_XXMRg/viewform) from the docs a couple of weeks ago, but never got any answer
Google Docs
Cloudflare Developer Platform: Limit Increase Request Form
Want to increase the limits of your current plan? Let us know what your requirements are here.
Which limit are you looking to increase?
Limits · Cloudflare Queues
Many of these limits will increase during Queues’ public beta period. Follow our changelog or join the #queues-beta channel in our Developer Discord …
I can't see which request is yours: can you share your account ID here? I'll increase it to 10,000.