0duaht / heroku-buildpack-jemalloc

Jemalloc buildpack for Heroku

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

heroku-buildpack-jemalloc

This Heroku buildpack installs jemalloc into a dyno slug.

The current version is built with the Heroku-18 stack.

Buildpack goals

  • Up-to-date. Always the latest version of jemalloc, built against the newest Heroku stack.
  • Zero config. Just add the buildpack and get jemalloc for everything.

If you have other needs, such as...

  • turning jemalloc on/off without adding/removing the buildpack,
  • using jemalloc for only certain processes,
  • building specific versions of jemalloc for specific Heroku stacks,
  • using the LD_PRELOAD environment variable for something else

...then you should use one of these instead:

Using

heroku buildpacks:add --index 1 https://github.com/brian-kephart/heroku-buildpack-jemalloc.git
git push heroku master

Building

This uses Docker to build against a Heroku stack image. Make sure you have Docker running before building, then run:

make

Artifacts will be dropped in dist/. See Dockerfiles for build options.

About

Jemalloc buildpack for Heroku

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Shell 71.2%Language:Makefile 18.3%Language:Dockerfile 10.5%