Search⌘ K

Releases

Explore how Elixir releases simplify production deployments by bundling all dependencies and the runtime into a self-contained artifact. Learn the benefits of code preloading for performance, fine-grained application configuration, and managing multiple release configurations. Understand how releases improve reliability and ease operations through built-in management scripts, enabling efficient deployment and maintenance of Elixir applications.

A release is a self-contained deployment artifact that includes all of our dependencies, including Erlang and Elixir itself. Releases give fine-grained control over how the virtual machine is started. They also provide reliable configuration mechanisms for production systems.

Advantages of using release

When we use this technique, we’ll notice several important benefits:

1. Code preloading

The VM has two mechanisms for loading code:

  1. Interactive
  2. Embedded

By default, it runs in the interactive mode which dynamically loads ...