O'Reilly logo

Heroku Cloud Application Development by Anubhav Hanjura

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The slug compiler

The slug compiler is responsible for creating an executable application from raw code by building the application, linking required binaries, and compressing the executable for faster deployment. The end product of the slug compilation process is what is termed as the slug.

Once the slugs are generated, they are compressed to decrease their size. Slugs are pre-packaged copies of the application optimized for quick distribution across the dyno manifold—Heroku's process execution environment. When we git push to Heroku, the code is sent to the slug compiler that transforms the user repository into a slug. Scaling an application then causes the slug to be downloaded and expanded for execution on a dyno.

The slug compiler is invoked ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required