Blog promoting cloudflare workers - Serverless comparison

Hi, I am using Workers as part of my work in lightricks (a generative ai unicorn). We wrote a blog article about our positive experience with cloudflare, to be released in our companys website. We are missing one section - The comparison of CF workers to aws serverless solution. I was hoping you could help with this. Should be quite short.
14 Replies
zegevlier
zegevlier2y ago
What specifically are you asking here? AWS serverless is quite different in operation to CF workers
YaronKar
YaronKarOP2y ago
In what ways? They are both code running on demand, scalable, logging, production ready. What would be selling points of workers vs Lambda?
zegevlier
zegevlier2y ago
Give this a read: https://developers.cloudflare.com/workers/learning/how-workers-works/ It explains the different model of workers vs traditional serverless. This change in model allows for extremely low startup times and low cost
How Workers works · Cloudflare Workers docs
Though Cloudflare Workers behave similarly to JavaScript in the browser or in Node.js, there are a few differences in how you have to think about your …
YaronKar
YaronKarOP2y ago
Thanks! We wrote a whole article about the workings of workers, including KV storage, code examples for a/b testing system, Working with wrangler and much more. We hired an external editor before we released, which indicated we should have a paragraph comparing to other serverless solutions. I can write it myself, but I thought your marketing team had a clear comparison (nothing really good came up on google)
Vero
Vero2y ago
nice, would love to read that article 🙂 Have you released it already?
YaronKar
YaronKarOP2y ago
Planning to release tomorrow, @Vero 🐙 I could share it with you. Am I correct to understand you are a CF employee (wanted to ask if you are a CF worker, but decided not to)
Hello, I’m Allie!
We are all CF Workers(Working with Cloudflare’s products), but yes, Vero, and everyone with an Orange Cloud next to their username(or the @Cloudflare role) is a Cloudflare employee
YaronKar
YaronKarOP2y ago
Cool @Vero 🐙 Sent you privately
Vero
Vero2y ago
Awesome, thanks
YaronKar
YaronKarOP2y ago
Right now kind of stuck on this - https://chat.openai.com/share/038903a7-a05c-4394-a8bf-7811d1a51d4c I'm sure someone here can list some of CF positives compared to Lambda
ChatGPT
ChatGPT
Isaac McFadyen
Main things IMO: - the free tier and pricing, Workers is way cheaper than Lambda - (no) cold start speed, Workers have zero cold-start time because of some optimizations + the runtime they use - scalability, workers can easily run more than 1000 concurrent requests which is the default cap of Lambda For AI specifically, since there's often extra time associated with processing things on the AI side (inference time) cutting down on processing time outside of the model is always a good thing
Hello, I’m Allie!
Adding on to this, you could use Workers as a pre-processor for Lambda. The Worker will filter invalid requests, and optimize those that pass, then it will forward them to Sagemaker/Lambda for running the actual model
YaronKar
YaronKarOP2y ago
Thanks so much, will add it now, will post a bit later today
YaronKar
YaronKarOP2y ago
Medium
Backend for Frontend Developers with Cloudflare Workers
Making production grade backends using simple Javascript

Did you find this page helpful?