This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 1,000,000+ packages pre-installed, including
heroku-adept-scale with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
$ heroku plugins:install heroku-adept-scale $ heroku adept-scale -h
If you know you are about to experience a massive traffic load and you want your app to be ready with running dynos even before the traffic arrives, you could raise the min and max dyno settings ahead of time to ensure your app would scale within the new parameters. To raise your min-dynos to 10 and your max dynos to 50 you could run:
$ heroku adept-scale:settings:set -n 10 -x 50 --app APPNAME
After your event, the same command could be used to return settings to normal.
git clone firstname.lastname@example.org:AdeptMobile/adept_scale_plugin.git
heroku adept-scale -h
Tip: To make testing easier, try one-lining the link and the command you are developing:
$ heroku plugins:link; heroku adept-scale:settings:get --app myapp
Copyright Adept Mobile LLC 2015. All rights reserved. Read more in our License document.
This plugin was built using the standard practice defined at the Heroku Devcenter