__dil__
Explore posts from serversCDCloudflare Developers
•Created by __dil__ on 6/14/2024 in #general-help
(R2) Overwriting files
hmm thanks. Overwriting seems to be the intended behavior for PutObject, but I can't really find any evidence for multiparts
6 replies
CDCloudflare Developers
•Created by __dil__ on 6/14/2024 in #general-help
(R2) Overwriting files
Thanks for the answer btw @Erisa
6 replies
CDCloudflare Developers
•Created by __dil__ on 6/14/2024 in #general-help
(R2) Overwriting files
ahh thanks that is just perfect 🙂 Is there any documention of this behavior? In other words, is this something I can absolutely rely on? as otherwise it might break my program which deals with backup data.
6 replies
CDCloudflare Developers
•Created by __dil__ on 6/2/2024 in #general-help
Does R2 have a native API?
Alright I think that answers all my questions for now. I really appreciate your help, thanks! 😄
13 replies
CDCloudflare Developers
•Created by __dil__ on 6/2/2024 in #general-help
Does R2 have a native API?
I imagine I could use the one for s3, but that wouldn't include the extensions I suppose (and it would contain many unsupported operations too)
13 replies
CDCloudflare Developers
•Created by __dil__ on 6/2/2024 in #general-help
Does R2 have a native API?
now this might be a stretch, but do you know if cloudflare has a rust crate for the R2 API?
13 replies
CDCloudflare Developers
•Created by __dil__ on 6/2/2024 in #general-help
Does R2 have a native API?
got it
13 replies
CDCloudflare Developers
•Created by __dil__ on 6/2/2024 in #general-help
Does R2 have a native API?
oh so it's more to connect serverless workers with r2 storage?
13 replies
CDCloudflare Developers
•Created by __dil__ on 6/2/2024 in #general-help
Does R2 have a native API?
Thank you, I didn't understand correctly when I looked at the docs but now I see
13 replies
CDCloudflare Developers
•Created by __dil__ on 6/16/2023 in #general-help
New to CloudFlare, looking to secure a tiny API (free plan)
I have very little interest in writing JS/TS in general.
Thanks for pointing out workers-rs! I naively thought I could just use a regular containerized webserver. I guess I'm a bit reluctant to lock-in with host-specific tech. But that might just be how serverless works idk. It's my first time trying it out.
17 replies
CDCloudflare Developers
•Created by __dil__ on 6/16/2023 in #general-help
New to CloudFlare, looking to secure a tiny API (free plan)
that complicates things
17 replies
CDCloudflare Developers
•Created by __dil__ on 6/16/2023 in #general-help
New to CloudFlare, looking to secure a tiny API (free plan)
Ohhh I just saw that Workers are WASM-only though :/
17 replies
CDCloudflare Developers
•Created by __dil__ on 6/16/2023 in #general-help
New to CloudFlare, looking to secure a tiny API (free plan)
Thanks for the help and insight @walshydev
17 replies
CDCloudflare Developers
•Created by __dil__ on 6/16/2023 in #general-help
New to CloudFlare, looking to secure a tiny API (free plan)
Fantastic 🙂 I'm definitely going to give it a shot then, it sounds like a perfect match for my usecase.
17 replies
CDCloudflare Developers
•Created by __dil__ on 6/16/2023 in #general-help
New to CloudFlare, looking to secure a tiny API (free plan)
To be clear, I'm not trying to be a cheapskate, your pricing model is extremely attractive and reasonable, I'm just trying to avoid hidden costs. Would definitely consider subscribing to the paid plan once I have more resources.
17 replies
CDCloudflare Developers
•Created by __dil__ on 6/16/2023 in #general-help
New to CloudFlare, looking to secure a tiny API (free plan)
That sounds great to me 🙂
I did have two concerns though
Up to 10ms CPU time per requestI'm not sure how I'm supposed to evaluate this since this depends on the exact workload and how fast your CPUs are, what kind of load they are under, etc. Would you say that 10ms is plenty enough for a typical webserver (written in Rust in my case). Sorry if this question is too specific. Also, in the event that the request does take more than 10ms for whatever reason, what happens then? Is the request simply cancelled, am I billed?
100,000 requests a day for freeIf for some reason there are more than 100,000 requests in a given day, what happens then?
17 replies
CDCloudflare Developers
•Created by __dil__ on 6/16/2023 in #general-help
New to CloudFlare, looking to secure a tiny API (free plan)
Thanks for taking the time to help @walshydev , I appreciate it 🙂
17 replies
CDCloudflare Developers
•Created by __dil__ on 6/16/2023 in #general-help
New to CloudFlare, looking to secure a tiny API (free plan)
What is this API?It's extremely simple, mostly one route that takes in a bunch of filters and returns a random item based on the filters. There are also a couple of other admin-only routes. Those I'm less concerned with since they are authenticated and the people who have access are hand-picked.
17 replies
CDCloudflare Developers
•Created by __dil__ on 6/16/2023 in #general-help
New to CloudFlare, looking to secure a tiny API (free plan)
My main concern is not with normal use, but with bad actors abusing the API.
17 replies
CDCloudflare Developers
•Created by __dil__ on 6/16/2023 in #general-help
New to CloudFlare, looking to secure a tiny API (free plan)
Well, it isn't deployed yet, so that's hard to tell.
As I said in the OP, I don't expect any massive amount of traffic. My best guess would be a few thousand hits per day.
17 replies