Overview
Cloudflare has announced the general availability of Workers Unbound, a platform designed for applications requiring long execution times. This release includes extended CPU limits of up to 30 seconds for HTTP requests and introduces a more affordable pricing model, significantly reducing egress costs.
What You'll Learn
1
How to enable Workers Unbound for your Cloudflare account
2
Why Workers Unbound is a suitable alternative to traditional serverless platforms like AWS Lambda
3
When to use Cron Triggers for long-running tasks
Key Questions Answered
What are the new CPU limits for Cloudflare Workers Unbound?
Cloudflare Workers Unbound now offers extended CPU limits of up to 30 seconds for HTTP requests, allowing developers to run applications that require longer execution times without worrying about computation limits.
How has Cloudflare adjusted its egress pricing for Workers Unbound?
Cloudflare has reduced its egress pricing from $0.09 per GB to $0.045 per GB, making it more affordable for developers who need to perform intensive storage and transfer operations.
What use cases have been demonstrated with Workers Unbound?
Use cases include genomic analysis, where an API simulates DNA sequencing data, and enterprise solutions like Thomson Reuters' EverCache, which improves efficiency and load times across partner websites.
How can developers get started with Workers Unbound?
Developers can enable Workers Unbound through the Cloudflare Workers dashboard by changing the Default Usage Model. They can also configure individual Workers using the wrangler command-line tool.
Key Statistics & Figures
Extended CPU limits for HTTP requests
30 seconds
This limit allows for more complex processing tasks in serverless applications.
Egress pricing reduction
$0.045 per GB
This is a significant decrease from the previous rate of $0.09 per GB, aimed at reducing costs for developers.
Monthly cost for Workers Paid plan
$5
This plan now includes increased usage allowances, providing better value for developers.
Technologies & Tools
Backend
Cloudflare Workers
Used for deploying serverless applications with extended execution capabilities.
Backend
Webassembly
Utilized for compiling genomic tools to run efficiently on the Workers platform.
Key Actionable Insights
1Consider migrating intensive workloads to Workers Unbound to leverage its extended execution limits and edge network benefits.This is particularly relevant for applications that require long processing times, as it allows developers to avoid the limitations of traditional serverless platforms.
2Take advantage of the reduced egress pricing to optimize costs for data-intensive applications.Developers can now perform larger data transfers without incurring high costs, making it feasible to build more complex applications.
3Experiment with Cron Triggers to automate long-running tasks effectively.This feature is particularly useful for scheduled jobs that require execution times longer than typical HTTP requests, enhancing application capabilities.
Common Pitfalls
1
Underestimating the complexity of migrating existing applications to Workers Unbound.
Developers may find that adapting their applications to utilize the new execution limits requires significant refactoring and testing.
Related Concepts
Serverless Architecture
Edge Computing
Cloudflare Workers Features