(opens in a new window)

Google Cloud Functions vs Cloudflare Workers

Compare Service Types, Runtimes, Execution Limits, Compliance, Regions and Alternatives

Features

Google Cloud Functions
Category

FaaS
Edge

Cloudflare Workers
Category

FaaS
Edge

Google Cloud Functions
Supported Runtimes

.NET Core
C
C#
C++
Go
Java
JavaScript
Node.js
PHP
Python
Ruby
Rust
TypeScript
Wasm

Cloudflare Workers
Supported Runtimes

.NET Core
C
C#
C++
Go
Java
JavaScript
Node.js
PHP
Python
Ruby
Rust
TypeScript
Wasm

Google Cloud Functions
Execution Limits and Resource Quotas

Min. Memory
128 MB
Max. Memory
8 GB / 32 GiB
Default Timeout
60 sec
Max. Timeout
9 min / 60 min
Request Payload
10 MB / 32 MB
Response Payload
10 MB / 32 MB

Cloudflare Workers
Execution Limits and Resource Quotas

Min. Memory
128 MB
Max. Memory
128 MB
Default Timeout
10 ms
Max. Timeout
30 s
Request Payload
N/A
Response Payload
N/A

Google Cloud Functions
Regional Availability

Deployment Scope
Regional
Regions
NA, LATAM, EU, APAC
Points of Presence
23 / 40

Cloudflare Workers
Regional Availability

Deployment Scope
Global
Regions
N/A
Points of Presence
200

Alternatives are matched by platform types, use cases, programming languages and deployment options

Compare Features, Languages, Execution Limits and Alternatives

Category

Decentralized
Hosted
Self Hosted
BaaS
FaaS
Compute
CaaS
Docker
Managed K8s
DBaaS
KV Store
PaaS
IaC
Edge
Emulator
API Gateway

Container Deployment

Docker
Docker Private Registry
Docker Swarm
Kubernetes
Managed Kubernetes
WebAssembly

Supported Runtimes

.NET Core
C
C#
C++
Go
Java
JavaScript
Node.js
PHP
Python
Ruby
Rust
TypeScript
Wasm

Supported Frameworks

Supported Frameworks

Execution Limits and Resource Quotas

128 MB
Min. Memory
128 MB
8 GB / 32 GiB
Max. Memory
128 MB
60 sec
Default Timeout
10 ms
9 min / 60 min
Max. Timeout
30 s
10 MB / 32 MB
Request Payload
10 MB / 32 MB
Response Payload

Compliance

Certificates

Regional Availability

Regional
Deployment Scope
Global
NA, LATAM, EU, APAC
Regions
23 / 40
Points of Presence
200

Sustainabilty

Green Energy

Alternatives are matched on service types, programming languages and container support.

Google Cloud Run logo
LocalStack logo
Alibaba Cloud Function Compute logo
AWS Lambda logo