Serverless Apps on Cloudflare – A book on the Cloudflare dev platform
Hello HN! I am Ashley, author of the book Serverless Apps on Cloudflare, and I'm excited to share it with you and hopefully spread the awareness of the powerful and developer-focussed platform that Cloudflare has built, that I believe is currently flying under the radar! For years, I've been building applications on Cloudflare - from websites, to APIs, to Discord bots and everything in-between. The platform has grown hugely in the past few years, to the point it has all the essential building blocks for modern applications. It's also built with engineers in mind, the developer experience…
What it does
In the maker’s words, at launch
Hello HN! I am Ashley, author of the book Serverless Apps on Cloudflare, and I'm excited to share it with you and hopefully spread the awareness of the powerful and developer-focussed platform that Cloudflare has built, that I believe is currently flying under the radar! For years, I've been building applications on Cloudflare - from websites, to APIs, to Discord bots and everything in-between. The platform has grown hugely in the past few years, to the point it has all the essential building blocks for modern applications. It's also built with engineers in mind, the developer experience (imo) is second to none. AWS is powerful, vast and very widely used, but I don't think anyone would shout about its developer experience in most cases. Some of the features of the platform are incredibly unique and powerful. With a distributed architecture of many different services, you have to deal with services being down, or the network being down - with Bindings, you get a zero-cost abstraction to make inter-service calls between your different services (called Workers in Cloudflare) and they are automatically injected for you at runtime - no secrets, no credentials, no configuration - it just works. The same goes for databases, caches, queues and all the other supporting services you need - they all use bindings. Everything runs seamlessly locally too, including databases, caches and everything else. No setup required, again, it just works and massively increases productivity and enjoyment when building applications. You don't need to worry about failover or redundancy, your application and resources are deployed and available globally, thanks to the edge network Cloudflare runs. The pricing is great too, you only pay for what you use. For example, the CPU time you use in a Worker, you don't pay while your code waits on I/O (e.g. an API call), and there's zero egress fees. Lastly, they have a very unique concept called Durable Objects. You can think of these like mini single-threaded servers, that act as a way to coordinate multiple clients or a single entity. You write them the same way you'd write a class in your code, and Cloudflare takes care of persisting those objects and hydrating them with state - as they come with built-in state too (key-value or SQLite). They also have native WebSocket support, allowing you to add WebSockets to your application in literally a few lines of code - they are super cool. That's just a flavour of some of the cool offerings of the platform - if you want to learn more, it's available in eBook format via The Pragmatic Programmers (https://pragprog.com/titles/apapps/serverless-apps-on-cloudf...), as well as available to preorder in physical format via Amazon (https://www.amazon.com/dp/B0DFNTSMHP?maas=maas_adg_968101BB2...). It's content complete, and the beta tag will be removed in November. Any questions or feedback, let me know!
Does the same job
all alternatives →


- BPBest practices for building Serverless apps2019 · ▲10
Hi all, I'm one of the authors of Serverless-Stack.com — an open source guide to building full-stack apps with AWS Lambda and React. Since it's launch in 2017, it's become one of the most widely read guides for building Serverless apps. Today we are adding a new section to the guide that walks you through the best practices of building large Serverless applications. It tries to address some of the most common questions that teams have: - How should my project be structured when I have dozens of interdependent services? - How should I manage my environments? - What are the best practice for…

- IWI wrote a book about using Lambda with Go2021 · ▲103
Hi HN! During the last few years, I worked on a few applications built with Go, running on AWS Lambda. As I got to know the platform better, I started to find Go & Lambda to be a really productive combination. The applications were fast, and they ended up being much cheaper to run than what my team & I had built before. It’s probably not the best platform for _every_ application, but I was surprised at how much of our workload worked well on it. As we brought new engineers on to our team and helped them get up to speed with the stack, I found that we were covering a lot of the same topics…
More dev tools this month
the category →



Open-source GTM skills for technical founders
Dev tools · 29d ago · gtmcofounder.com

OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.
Dev tools · 1d ago · opentrailpaper.com

Launched alongside, November 2024
the whole month →


- IB
I wasn't quite sure if this qualified as "Show HN" given you can't really download it and try it out. However, dang said[0]: > If it's hardware or something that's not so easy to try out over the internet, find a different way to show how it actually works—a video, for example, or a detailed post with photos. Hopefully I did that? Additionally, I've put code and a detailed guide for the netboot computer management setup on GitHub: https://github.com/kentonv/lanparty Anyway, if this shouldn't have been Show HN, I apologize! [0]…
Dev tools · 2024 · lanparty.house

