What does worker duration mean

What does worker duration mean? I see the duration of worker is for example 11 GB-sec, but egress transfer is only 18MB.

See: https://developers.cloudflare.com/workers/platform/limits#duration

Duration is the measurement of wall-clock time. This is measured in Gigabyte-seconds (GB-s). When a Worker is executed, it is allocated 128mb of memory. As the Worker continues to execute that memory remains allocated, even during network IO requests.

For example, when a Worker executes via a scheduled event, it executes for 4 seconds, including network-bound IO time: 4s x 0.125GB (or 128Mb) = .5 GB-s .

3 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.