2
1 Comment

Tried Cloudflare Workers from my latest project, here are my thoughts

My latest project is DevTrends where I create short videos on interesting new topics in web development.

I love experimenting with new tech, so whenever I start a new project I always try to include a little bit of bleeding-edge stuff in my stack for the fun of it.

DevTrends is a Jamstack site, so I'd normally host with Netlify. Instead, I thought I'd try Cloudflare Workers which I'd be hearing a lot about.

You're probably familiar with the idea of hosting a static site on a CDN. What Cloudflare Workers does is allow you to host serverless functions on the network edge as well!

This means your whole stack will be running from a data center near your user giving your whole site super-low latency.

The thing about CW is that they're entirely JavaScript, unlike Lambda, Azure, etc which can be written in many different languages. The API is modeled off Service Worker (hence the name Cloudflare Workers) so the syntax is enough to pick up.

The only thing I didn't like so much was the dev tool for CW (it's called Wrangler CLI and allows you to work with your serverless functions in a local environment). It's not bad, it's just not as polished and easy to use as netlify-lambda, for example.

I enjoyed CW enough to make a DevTrends video on it if you're interested:
CloudFlare Workers video

posted to Icon for group Developers
Developers
on April 14, 2021
  1. 2

    This comment was deleted 4 years ago.

    1. 1

      That explains a lot!

      This right here is the argument against using bleeding-edge tech for anything beyond fun

      1. 1

        This comment was deleted 4 years ago.

      2. 1

        This comment was deleted 4 years ago.

Trending on Indie Hackers
I wasted 6 months building a failed startup. Built TrendyRevenue to validate ideas in 10 seconds. User Avatar 29 comments Your files aren’t messy. They’re just stuck in the wrong system. User Avatar 27 comments Built a tool that finds which Reddit/HN threads are making ChatGPT recommend your competitors User Avatar 21 comments Cloud vs Cybersecurity Certifications | 2026 Path Makes More Sense User Avatar 18 comments Why Direction Matters More Than Motivation in Exam Preparation User Avatar 11 comments A Closer Look at Droven .io Artificial Intelligence User Avatar 8 comments