# Exploring Cloudflare Workers

- Institution: CERN
- Department: General
- Speaker: Harris Hancock
- Year: 2019
- Language: English
- Source: [CERN](https://videos.cern.ch/record/3014207)
- Licence: [CERN](http://copyright.web.cern.ch)
- Who can watch: Teens profiles and older (sources give no ratings; placed by Invisible Network from the source's own words)

Cloudflare Workers is a serverless computing platform optimized to minimize latency to end users. Cloudflare runs every guest function in each server of its network's 175 points of presence, meaning code runs as close to the end user as possible, and is not confined to geographic regions. This requires overcoming a scalability challenge faced by container-based platforms: how to reduce each function's overhead enough to deploy them universally to a global server fleet.

The V8 JavaScript engine contains a solution: Isolates, a lightweight sandboxing technology. V8 Isolates allow Cloudflare Workers to use JavaScript and WebAssembly modules as serverless functions, minimizing overhead and providing a familiar language environment for web application developers. Workers reinforces this familiarity by implementing standardized JavaScript APIs found in browsers.

This talk examines the design of Cloudflare Workers, how it fits into the serverless computing landscape, and the problems Worker scripts can solve.

**About the Author** Harris Hancock is a systems engineer who helps implement the Cloudflare Workers runtime environment, with a particular focus on the JavaScript API. He previously wrote communications middleware for an educational robotics startup, during which time he became a regular contributor to the Cap'n Proto RPC library. It was this interest in protocols and systems programming which lured him to Cloudflare in 2017..

0:00:00 Slide 1

0:01:06 Slide 2

0:01:33 Slide 3

0:02:41 Slide 4

0:03:39 Slide 5

0:04:03 Slide 6

0:04:52 Slide 7

0:05:37 Slide 8

0:06:48 Slide 9

0:09:33 Slide 10

0:10:33 Slide 11

0:11:06 Slide 12

0:11:52 Slide 13

0:11:59 Slide 14

0:14:32 Slide 15

0:14:46 Slide 16

0:15:40 Slide 17

0:15:56 Slide 18

0:17:01 Slide 19

0:17:54 Slide 20

0:19:22 Slide 21

0:19:43 Slide 22

0:20:00 Slide 23

0:21:59 Slide 24

0:23:29 Slide 25

0:25:27 Slide 26

0:26:37 Slide 27

0:27:51 Slide 28

0:28:39 Slide 29

0:28:54 Slide 30

0:29:06 Slide…

## Lectures

1. [Exploring Cloudflare Workers](https://invisiblenetwork.ai/learn/cern/3014207/d004bdd31ee0), 41 min (CERN's player)
