cole
cole
CDCloudflare Developers
Created by cole on 7/10/2024 in #workers-discussions
Node.js compatibility · Cloudflare Worke...
Dug into this further. The answer is definitely "no" and there is a great writeup on sockets here: https://blog.cloudflare.com/workers-tcp-socket-api-connect-databases
2 replies
CDCloudflare Developers
Created by cole on 7/10/2024 in #workers-discussions
Node.js compatibility · Cloudflare Worke...
Found this! Looks like I may be refactoring this code a bit 😄 https://blog.cloudflare.com/workers-tcp-socket-api-connect-databases
But for TCP sockets, we faced a challenge — there was no clear shared standard across runtimes. Node.js provides the net and tls APIs, but Deno implements a different API — Deno.connect. And web browsers do not provide a raw TCP socket API, though a WICG proposal does exist, and it is different from both Node.js and Deno.
2 replies
CDCloudflare Developers
Created by freerangebella on 7/10/2024 in #workers-discussions
Hi I have some questions about workers
I'm not super savvy on the pricing either, but 3-4 minutes of computation sounds like not the right fit for Workers in my conceptualization of them. What I have done for processes like that is build a queue that gets fired into a Go process somewhere else for the CPU/GPU workload
1 replies
CDCloudflare Developers
Created by cole on 7/3/2024 in #workers-discussions
I want to check on whether I am missing
I think my short term aim will be to just set up a route for every custom hostname 🤷‍♂️
1 replies
CDCloudflare Developers
Created by Chaika on 7/2/2024 in #workers-discussions
Right, CF For SaaS enables that. You can
Ahh perfect. Thanks so much for your help! And the pointer to what's happening in the industry - I'm super interested in following those developments!
24 replies
CDCloudflare Developers
Created by Chaika on 7/2/2024 in #workers-discussions
Right, CF For SaaS enables that. You can
Or I may have skipped the pre-validation TXT... that seems like something I might have done haha 😅
24 replies
CDCloudflare Developers
Created by Chaika on 7/2/2024 in #workers-discussions
Right, CF For SaaS enables that. You can
Ahh nice. Thanks! That's great to know! I also may have been too impatient - very used to how fast validation works for domains on Cloudflare haha. (and non-root CNAMEs)
24 replies
CDCloudflare Developers
Created by Chaika on 7/2/2024 in #workers-discussions
Right, CF For SaaS enables that. You can
That's exciting!! Thank you! 😄
24 replies
CDCloudflare Developers
Created by Chaika on 7/2/2024 in #workers-discussions
Right, CF For SaaS enables that. You can
Just for completeness.. these are the ideas I was throwing around to improve this situation. - get the industry to standardize on some mechanism of "CNAME at the root" that can be interpreted from the outside. I.e. Naively: a TXT record that indicates that a "CNAME" Is in place, even if it just looks like A records - Teach Workers to be more savvy about recognizing "appropriate A records" as validating the "CNAME" requirement on root domains - Create a TXT or other mechanism to short circuit Cloudflare's CNAME recognition and indicate that A records are really being resolved properly as a "CNAME at the root"
24 replies
CDCloudflare Developers
Created by Chaika on 7/2/2024 in #workers-discussions
Right, CF For SaaS enables that. You can
Ok cool - I'll give that a shot, thank you!
24 replies
CDCloudflare Developers
Created by Chaika on 7/2/2024 in #workers-discussions
Right, CF For SaaS enables that. You can
Yeah, that makes sense. It's just hard if I want someone to be able to use my service and they use another domain provider, my workers are sorta hosed haha
24 replies
CDCloudflare Developers
Created by Chaika on 7/2/2024 in #workers-discussions
Right, CF For SaaS enables that. You can
Yeah, exactly. It worked out ok for this case because I just flipped the domain over to being managed by Cloudflare, but I can't imagine that will always work haha
24 replies
CDCloudflare Developers
Created by Chaika on 7/2/2024 in #workers-discussions
Right, CF For SaaS enables that. You can
Ahhh interesting. Right, that's kinda what I'm getting at. It feels like there is no industry standard for how to do this, so each company kinda does their own... But there's no great way to communicate across providers that this is being done. I.e. there is no way to tell that I have a "Namecheap CNAME" / ALIAS record at the root
24 replies
CDCloudflare Developers
Created by Chaika on 7/2/2024 in #workers-discussions
Right, CF For SaaS enables that. You can
(It looks like just A records, much like Cloudflare's CNAME flattening)
24 replies
CDCloudflare Developers
Created by Chaika on 7/2/2024 in #workers-discussions
Right, CF For SaaS enables that. You can
So you would expect a Namecheap ALIAS record pointed appropriately to validate the "CNAME" requirement for SaaS worker stuff?
24 replies
CDCloudflare Developers
Created by cole on 1/11/2024 in #workers-help
R2 Access Via Domain is Down?
Ohhh I missed that nuance! That "None" is super helpful, thanks!
32 replies