Workers, Now Even More Unbound: 15 Minutes, 100 Scripts, and No Egress Fees

Kabir Sikand
4 min readbeginner
--
View Original

Overview

The article discusses Cloudflare's recent enhancements to its Workers platform, focusing on the elimination of egress fees, the extension of CPU time limits to 15 minutes, and the increase in the number of deployable Worker scripts to 100. These changes aim to empower developers to build larger, data-intensive applications more affordably and flexibly.

What You'll Learn

1

How to utilize Cloudflare Workers Unbound for data-intensive applications

2

Why eliminating egress fees can reduce cloud costs significantly

3

When to use Cron Triggers for long-running tasks on Cloudflare Workers

4

How to deploy up to 100 Worker scripts effectively

Key Questions Answered

What are egress fees and how do they affect cloud computing costs?
Egress fees are charges for transferring data out of a cloud provider's network. They can significantly increase costs, especially for data-intensive workloads, as users often pay based on the amount of data transferred rather than bandwidth capacity. This can lock users into specific providers, limiting their options.
How can developers benefit from the new 15-minute CPU time limit on Workers?
The new 15-minute CPU time limit allows developers to run more compute-intensive tasks on Cloudflare Workers, making it suitable for heavy workloads. This feature can be utilized through Cron Triggers, enabling scheduled execution of tasks that require longer processing times.
What is the significance of deploying up to 100 Worker scripts?
Deploying up to 100 Worker scripts allows developers to create multiple environments within a single account, facilitating the migration of various use cases to the Workers platform. This flexibility enhances the platform's usability for diverse applications.
How does Cloudflare's Bandwidth Alliance help reduce data transfer costs?
Cloudflare's Bandwidth Alliance is a collaborative effort to help customers avoid high data transfer fees by waiving egress charges for its R2 Storage and other services. This initiative aims to provide more cost-effective solutions for users with significant data transfer needs.

Technologies & Tools

Backend
Cloudflare Workers
Used for running serverless functions with low latency and high scalability.
Storage
R2 Storage
Provides object storage without egress fees for data-intensive applications.

Key Actionable Insights

1
Take advantage of the zero egress fees to optimize your cloud costs when building data-intensive applications.
By eliminating egress fees, Cloudflare allows developers to transfer data without incurring additional costs, making it more economical to scale applications that require significant data movement.
2
Utilize the 15-minute CPU time limit for running complex tasks that were previously constrained by shorter execution times.
This enhancement enables developers to execute longer-running processes directly within Cloudflare Workers, which can improve performance for applications that require substantial computational resources.
3
Explore the deployment of multiple Worker scripts to manage different environments effectively.
With the ability to deploy up to 100 Worker scripts, developers can better organize their applications and manage various use cases, enhancing overall project structure and deployment efficiency.

Common Pitfalls

1
Failing to consider the implications of egress fees when selecting a cloud provider can lead to unexpected costs.
Many developers may overlook egress fees, focusing instead on initial pricing. This can result in significantly higher costs as data transfer needs grow, making it crucial to evaluate total cost of ownership when choosing a provider.