K
CDCloudflare Developers
•Created by K on 11/28/2024 in #workers-help
Access runtime APIs in wrangler Pages and Astro framework
Hi,
There is integration for Cloudflare in Astro framework that allows to work with
bindings from
wrangler.toml
and env vars.
But I can't find the way to use workers Runtime APIs like HTMLRewriter in Astro.
I launch with astro dev
btw.
Any ideas?4 replies
CDCloudflare Developers
•Created by K on 11/6/2024 in #general-help
What is "prepaid" meaning for storage?
Quick question
Docs mention that storage for images is "prepaid" in $5 per 100K images stored.
Does one have to manually buy them or does it just mean it will charge in $5 intervals (for lack of a better word).
I ask because there's hard limit mentioned and if app would get popular overnight users might be denied to upload until new 100k is bought which is kind of not great.
6 replies
CDCloudflare Developers
•Created by K on 3/14/2024 in #workers-help
Simultaneous fetches over 6 are being dropped instead of being queued.
Hi.
I'm doing multiple Http calls to external server via fetch(). It works locally. But anything over 6 on deployed version throws error instantly. Docs say that additional fetches should be automatically queued and executed when older ones get freed up.
I'm doing multiple Http calls to external server via fetch(). It works locally. But anything over 6 on deployed version throws error instantly. Docs say that additional fetches should be automatically queued and executed when older ones get freed up.
8 replies
CDCloudflare Developers
•Created by K on 2/23/2024 in #general-help
Is proxied GEO load balancer suitable for messaging app?
How long can proxied load balancer DNS queries be cached for?
I'd use polling so for example 1 person, using app for 1h for a month would do 108,000 requests.
Would that be about $0.10 or could that be reduced by caching dns?
Also since it would be polling, having 1000 users at same time would mean 1k queries per second to Cloudflare. At what scale that would be an issues for CF?
I'd be using Cloudflare for ddos protection.
14 replies
CDCloudflare Developers
•Created by K on 1/7/2024 in #workers-help
Max Queries per second for DO
In docs there is soft limit mentioned of 1000 queries per second per durable object.
My question is, if I have class Page, and I create DO with .idFromName(pathname) , does it mean that each different path will get 1k queries per second limit? Or whole Page class gets 1k regardless of
pathname
?3 replies