Cloudflare Developer Week 2022 — Everything That Was Announced | by Ashley Peacock | Nov, 2022

From new products and features to technical depth, we cover it all in this article

photo by Nick Fewings Feather unsplash

I always love it when a tech company has a week devoted to new announcements, after all, who doesn’t love hearing about the new toys on offer? Amazon usually announces a lot of interesting things at its annual Re-Invention conference, and Cloudflare just had its developer week.

As the name suggests, this is a week dedicated to discussing all things development at Cloudflare. This year, they announced brand new products, new features for existing products, took a deep dive into the technicalities some of the products are in use, and even detailed some customer and partner stories.

Over 30 were announced, so I’ve picked the most exciting ones. Interested to know more? Let’s dive in!

The highlight of any set of announcements is usually the new shiny technology that us engineers get to play with, and Cloudflare’s Developer Week is no different. Their offering was already solid, but I believe this week’s announcements really take Cloudflare’s platform to a new level.

Introducing Queues

When I first started playing with Cloudflare Workers, I found it to be incredibly easy to use, and supported most of my use cases. However, I always felt that it lacked the ability to elegantly handle asynchronous workflows. Not so anymore, thanks to Queues.

In essence, Workers are Cloudflare’s serverless offering, where you deploy your bespoke applications to handle HTTP requests (or run them on a schedule, if you prefer). With queues, you can set up entire asynchronous workers that handle the messages placed on the queues. If you’ve ever used Kafka or RabbitMQ, it’s very similar to those products, albeit vastly simpler in terms of how you interact with them as an engineer.

read full announcement Here, Queues is currently in private beta, but I expect it to be released more widely in the near future.

store relational data with D1

Likewise for asynchronous workflows, the other big piece of the puzzle that was missing for me was more specific durable storage with schemas. durable goods The closest they had was, but it’s still only a significant value store at the end of the day.

Enter D1, now in open alpha, providing the SQL database to your employees. It works the same way you used to: create a schema using SQL, run that SQL in D1, and then you’re able to store whatever data you like in relational format from your workers. .

read full announcement Here,

Get started with employees using templates

When starting out with a new platform, it can be overwhelming to look at all the products and tools out there and not know where to start. Luckily, Cloudflare has created a website full of templates to get you started, with templates for a huge number of use cases using a variety of tools.

Want to create your first worker? read about templates Here,

Migrate from S3 with R2 Super Slurper

Entering with perhaps one of the coolest names for a feature we’ve seen in a while, R2 Super Slurper aims to make the migration from ordinary storage on S3 to Cloudflare painless.

For those unfamiliar, S3 is an AWS product that provides simple file-based storage in the cloud. Cloudflare offers a compatible product called R2, but if you wanted to migrate, doing so was previously painful.

read full announcement Here,

Build dynamic sites with page functions

When Pages initially launched, it only allowed you to build static websites, with no backend functionality provided by Cloudflare. This either meant you were limited to static sites, or you had to host your backend elsewhere, making things a bit more complicated.

However this problem is overcome with Page Functions, which give you the ability to seamlessly deploy Workers as part of your Page deployment. They can be simple functions, or fully fledged APIs, the world is your oyster.

read full announcement Here,

Log in to your Observable platform of choice

The last feature I wanted to highlight from Developer Week 2022 is on the overview side, rather than a fancy new tool. As engineers, logs are important to understanding what is happening when we run something in the cloud.

Cloudflare already provides simple logging functionality, even with the ability to live tail logs from your employees. It’s very easy though, and there are several platforms out there, such as DataDog and New Relic, that specialize in observation.

Chances are your company already has its platform of choice, and now it’s easy to view your logs in that platform. Worker Trace Events LogPush can be configured to push your logs to those platforms for a small cost.

read full announcement Here,

Cloudflare rounds out the major announcements of products, or at least I think they are the biggest.

However, they are not the only ones involved in Developer Week. Really, that’s half the story. On top of the product announcements, he complemented them with an in-depth look at some of the technical aspects. I’ve selected some of the best below!

standardization of workers

I know, standards aren’t the most exciting of subjects. However, they are critical to gaining traction around a particular technology, and eventually to the advancement of that technology.

Cloudflare is part of a W3C community group that aims to create standards around the JavaScript runtime that its workers use. If standards are agreed upon, it will make it relatively easy to migrate from Worker to another platform, which is a win-win for everyone.

read the full deep dive Here,

Cloudflare’s API now uses OpenAPI

It’s dear to my heart, mostly because I’ve been working with OpenAPI for many years. There’s a warm fuzzy feeling when I start reading the API docs that use OpenAPI. It’s easy to use with robust community tooling. For example, you can quickly and easily run a fake server locally using the OpenAPI schema.

Cloudflare clearly agrees, as its APIs are now available with OpenAPI Schema!

read the full deep dive Here,

Server-side rendering with page functions

In the above announcements, we covered Pages Functions, which allows you to add dynamic functionality to your sites deployed in Cloudflare.

This technical deep dive takes a look at how you can take advantage of the new functionality to server-side render your pages with full code examples!

read the full deep dive Here,

migrate your frontend slowly with workers

As Cloudflare’s offering is still relatively new, they are more than willing to offer guides on how to migrate parts of your architecture within Cloudflare’s ecosystem.

You can do exactly this with your frontend using Fragments, allowing you to gradually migrate parts of your frontend at your own pace.

read the full deep dive Here,

Cloudflare speed and local development improvements

The last two I’ve combined together, and take a look at two key aspects for any platform: performance and ease of development.

For performance, Cloudflare worked deeply on its network and How does it compare to other providers, As you would expect, it performs quite well. I always take these platform-generated benchmarks with a pinch of salt, but even so, the results look impressive.

Finally, we have local development. It has been possible to develop locally with Cloudflare Workers for some time, but they are taking a step furtherWith the ability to work with their data services locally too!

Here are some of the most interesting and useful announcements and topics I found from Cloudflare’s Developer Week 2022.

I wanted to give a bonus shout-out for a very interesting article How Cloudflare’s Employees Grown So Well It Broke Their Infrastructure,

Have you tried building something on Cloudflare? If yes, what are you experiencing? If not, is their offer interesting to you?

If you haven’t tried CloudFlare yet, check out their free level Quite generous, and lets you play with most of their products!

My book, Creating Software with Modern Diagramming Techniques, is out now!

Click here to learn how to create diagrams to communicate information more
directly and clearly than words ever can. Using only text-based markup,
powered by Mermaid, create meaningful and attractive diagrams to document
your domain, visualize user flows, reveal system architecture at any desired
level, and much more!

Leave a Reply