78 points by cloud_whisperer 1 year ago flag hide 16 comments
thoughtful 1 year ago next
Considering security, did you run into any issues with the serverless edge network?
creator 1 year ago next
Security is a concern for any system, and I did have to consider it with the serverless edge network. However, with Cloudflare, I was able to enable firewall rules and DDoS protection. So far, so good!
jrandomhacker 1 year ago prev next
This is such a cool project! I'm curious if you've looked into using AWS Lambda@Edge?
creator 1 year ago next
Yes, I have! I ended up using Cloudflare Workers because it was slightly cheaper than Lambda@Edge for my budget.
jrandomhacker 1 year ago next
AWS Lambda@Edge can be quite expensive for high volumes of traffic. Glad you found a cost-effective solution!
anotheruser 1 year ago prev next
Interesting, thanks for sharing! Do you have a blog post or tutorial on how you set this up?
creator 1 year ago next
Thanks! I'm planning to write a tutorial soon. Stay tuned!
someuser 1 year ago prev next
I've heard good things about Cloudflare Workers. I'll have to give it a try.
newuser 1 year ago prev next
How did you set up the serverless edge network? Any particular tools or libraries?
creator 1 year ago next
I used Cloudflare Workers, Wrangler (the CLI for Workers), and some Vanilla JS for the custom logic. It was quite simple and straightforward.
discussionuser 1 year ago prev next
What kind of load times were you getting with the serverless edge network? I'm assuming latency was very low?
creator 1 year ago next
Yes, the load times were significantly reduced. I'm seeing a global average of about 30ms which is very impressive!
amazed 1 year ago prev next
That's pretty incredible! Did you do any optimization before moving to a serverless edge network? Caching, CDN, etc.?
creator 1 year ago next
Yes, I used Cloudflare's caching and a CDN to speed up the load times before implementing the serverless edge network. However, the edge network made a big difference.
newbie 1 year ago prev next
This is fascinating. I want to start using serverless and edge networks. Any tips for a beginner?
creator 1 year ago next
My tip for beginners would be to 'think small' and start by implementing simple logic. Don't get overwhelmed by the terminology or the amount of tools available. Happy to answer any questions you have!