Supercharge your builds with the latest App Platform updates

Deepak Manoor

Posted: September 29, 20223 min read
<- Back to Blog Home

Share

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!Sign up

Slow application build times not only decelerate innovation but also affect developer productivity in more ways than one. They make it time consuming to try out new approaches for early-stage applications, increase frustration as developers often have to switch between building apps and other tasks, and reduce the frequency of code integration due to the time and effort needed for every build.

At DigitalOcean, we are always looking for ways to enhance the developer experience. We are excited to announce that we have made major updates to DigitalOcean App Platform, our fully managed Platform as a Service (PaaS) solution, that will significantly increase the speed and flexibility of deploying apps.

Enhanced remote build performance with Kata Containers

DigitalOcean loves open source. Many of the libraries and frameworks we use at DigitalOcean are open source, and we strive to support initiatives that help the open source community thrive. So when it came to improving build performance of App Platform, we decided to leverage Kata Containers, an open source container runtime, building lightweight virtual machines that seamlessly plug into the containers ecosystem.

As you may know, App Platform builds and runs apps in containers. Traditional docker-style containers offer considerable security capabilities, but do not include virtual-machine-like isolation used in products such as DigitalOcean Droplets. To enhance container security, App Platform has in the past used gvisor to isolate the shared Linux kernel during system calls. However, this implementation came with a build-performance cost due to the system call latencies, especially when performing file I/O.

Our latest implementation of secure containers for App Platform uses Kata Containers, which results in a more secure container runtime with lightweight virtual machines that feel and perform like containers, but help provide stronger workload isolation using hardware virtualization technology as a second layer of defense. With the use of Kata Containers, applications on App Platform will help build significantly faster on the cloud.  Based on our internal benchmark tests some apps have seen over a 50% reduction in the build time for remote builds in the App Platform.

Introducing local builds in App Platform

Another new feature in our latest update is local builds, which is the first of several initiatives under development to create a holistic local development experience within App Platform. Local builds give you the flexibility of building your code on your local machine or server. They deliver a multitude of benefits to developers:

  • No waiting around for your code to build. Local builds are significantly faster, they are often done in seconds instead of the several minutes needed for remote builds.
  • Local builds help shorten feedback loops significantly, resulting in faster time to market, especially if the application needs considerable testing or involves frequent code changes. Developers can avoid unnecessary GitOps cycles until their application is ready for final deployment.
  • Building the code in a local environment also enables developers to implement their own CI/CD processes with ease. Local builds provide greater visibility into the build process when compared to cloud-native buildpacks, enabling developers to customize and troubleshoot buildpacks.

Curious about how local builds work? Check out this video

We have made significant improvements in App Platform in the past year. The most popular updates being the ability to securely connect your apps to Managed Databases using Trusted Sources, forward logs to external log providers such as Papertrail, Datadog and Logtail for better analysis and troubleshooting, set up alerts and monitoring for events such as successful deployment and domain configuration, easily add functions as components of your apps and rollback to previous deployments. Developers can now enable automatic deployment when using DigitalOcean Container Registry (DOCR). This allows them to deploy apps from a tag (e.g. latest, production) and makes it easier to ensure the app is always up to date when new images are pushed to the same tag, without having to update AppSpec for every new version. With significant improvements to the build performance, there has never been a better time to try App Platform.

Grow with us

If you’d like to have a conversation about using DigitalOcean and App Platform in your business, please feel free to contact our sales team.

Share

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!Sign up

Related Articles

DigitalOcean Now Offers Alipay as a Payment Method for Cloud Computing Services
Product updates

DigitalOcean Now Offers Alipay as a Payment Method for Cloud Computing Services

Streamline your Kubernetes networking with VPC-native clusters
Product updates

Streamline your Kubernetes networking with VPC-native clusters

DigitalOcean Bare Metal GPUs: Dedicated GPU machines for advanced AI workloads
Product updates

DigitalOcean Bare Metal GPUs: Dedicated GPU machines for advanced AI workloads