Reduce Deploy Times by 90% with Azion CLI 4.21

Azion CLI now delivers 90% faster static file uploads through dynamic worker allocation and parallel S3 uploads. Learn how this upgrade transforms deployment speed from 1m 35s to 3.5-9s, automatically scaling concurrency based on your available CPU cores.

Pablo Diehl - undefined
Patrick Menoti - undefined
Pedro Ribeiro - undefined

At Azion, we are obsessed with Developer Experience (DX). We know that every second a developer spends waiting for a build or a deploy is a second taken away from innovation. This is why we are thrilled to announce a massive upgrade to the Azion CLI, specifically targeting the speed of static file uploads during deployment.

The updated Azion CLI reduces static file upload times by 90%, from 1m 35s to 3.5–9s. Developers deploy faster and release sooner with automatic parallel uploads that scale to available hardware.

The Problem: Static File Upload Delays

Static file uploads can quietly become one of the biggest slowdowns in a CI/CD pipeline. For modern web applications with hundreds of assets, upload times alone could take up to 1 minute 45 seconds with the Azion CLI default of 5 workers, delaying releases and breaking developer momentum.

Solution: Dynamic Worker Allocation - Parallelism and S3

We improved performance by reworking how the CLI manages storage and upload concurrency. Static file uploads now go directly to S3, while the CLI dynamically determines how many parallel workers to use based on the CPU cores available on each machine.

This approach allows uploads to make better use of the hardware available, instead of relying on a fixed worker count. Whether running on a lightweight laptop or a more powerful workstation, the CLI adapts concurrency automatically to deliver more consistent and efficient upload performance.

Instead of fixed worker counts, the CLI calculates optimal concurrency:

cpuCores := runtime.NumCPU()
optimal := cpuCores * WorkersPerCore
if optimal > MaxWorkers {
optimal = MaxWorkers
}
if optimal < MinWorkers {
optimal = MinWorkers
}
return optimal

For users who want even more control, we’ve introduced the --workers flag, allowing you to manually define the number of workers for your specific environment.

The Results: 90% Faster Uploads

The performance gains are transformative. In our internal testing, the same project that previously took nearly two minutes to upload now completes in 3.5 to 9.0 seconds.

PlatformPerformance (180 Static Files)
Azion CLI (Previous versions)1m 35s - 1m 45s
Azion CLI (4.21.0 onwards)3.5s - 9.0s
Top Competitors9s - 10s

Azion is now significantly faster than some of the most prominent players in the market, shaving precious seconds off every single deploy.

Transparency Through Telemetry

In addition to speed, we are bringing more transparency to the deploy process. By using the --debug flag, developers can now view a complete report of timings for every part of the deployment, including specific API call durations. This level of verbosity helps teams identify exactly where time is being spent and debug issues with greater precision.

Building the Future of DX

This update is part of a broader series of improvements we are making to the Azion platform to ensure we’re on the way to becoming the fastest and most developer-friendly edge computing environment. We believe that by removing the friction of slow deploys, we empower you to build, test, and scale your applications at the speed of thought.

Ready to experience the speed?

Update your Azion CLI today and see the difference for yourself.

 

stay up to date

Subscribe to our Newsletter

Get the latest product updates, event highlights, and tech industry insights delivered to your inbox.