Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A chef-solo recipe for applying an easily reversible Ruby Enterprise Edition environment to an Engine Yard slice
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
config
cookbooks/main
README.md
bootstrap.sh

README.md

Chef / Engine Yard REE

A chef-solo repo for setting up Ruby Enterprise Edition on a conventional Engine Yard slice. (Not within their new cloud offering.) Why REE? Primarily for tune-able garbage collection, among other benefits. Why a chef recipe? Because you might have more than one slice. Inspired and lifted in part from Weplay/Luke Melia, Twitter/Evan Weaver, Chris Heald and others:

WARNING: This recipe is customized for my needs. In particular, specific gems are used and the recipe is designed for applications running on thins (instead of mongrels.) Also note that as of now, Engine Yard does not officially support REE. (They are good folks though - file a ticket and let them know you are using it.) AS IS. Fork, modify accordingly, and use at your own risk.

Usage

Edit dna.json.

From your EY slice:

cd ~ && git clone <your forked version of this recipe> && cd chef-ey-ree
sudo ./bootstrap.sh

Flip between mri and ree: (probably best to do this with all of your slices via cap shell)

./eyruby_switch ree

And back:

./eyruby_switch mri

GC Tuning

Edit /path/to/your/gc_params.yml Then bounce your thins.

TODO

  • Make a little less brute-forcey

License

MIT

Something went wrong with that request. Please try again.