/plushcap/analysis/cloudflare/workers-optimization-reduces-your-bill

A Workers optimization that reduces your bill

What's this blog post about?

Cloudflare has made an optimization to its Workers runtime that reduces the amount of memory usage for Unbound Workers. The change allows the system to mark application code as "idle" as soon as response headers are returned, reducing the time a Worker is considered "in use" by an average of 70%. This change also applies to WebSocket proxying, reading from the cache, and streaming from KV. As a result, users may see a drop in their billing for these services.

Company
Cloudflare

Date published
Jan. 14, 2022

Author(s)
Kenton Varda, Erwin van der Koogh

Word count
771

Language
English

Hacker News points
8


By Matt Makai. 2021-2024.