Content Deep Dive
A Workers optimization that reduces your bill
Blog post from Cloudflare
Post Details
Company
Date Published
Author
Kenton Varda, Erwin van der Koogh
Word Count
771
Language
English
Hacker News Points
8
Summary
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.