autoscalebotAutomatic scaling of web dynos on paas services | |
Download |
autoscalebot Ranking & Summary
Advertisement
- License:
- BSD License
- Price:
- FREE
- Publisher Name:
- Steven Skoczen
- Publisher web site:
- https://github.com/GoodCloud/
autoscalebot Tags
autoscalebot Description
autoscalebot has one simple aim: to make scaling paas services something you can stop worrying about. Right now, it just supports heroku and simple request-time scaling.InstallingIf you're using not Django:1. pip install autoscalebot, and add it to your `requirements.txt`2. Create a settings file somewhere in your `PYTHON_PATH`. We typically call it `autoscale_settings.py`, but you can call it whatever you like.3. Set these settings for your app, as well as any optional tuning settings. See autoscale_settings.py.dist for an example.python HEROKU_APP_NAME = "my-app-name" HEROKU_API_KEY = "1234567890abcdef1234567890abcdef"4. Add autoscale to your `Procfile`: autoscaleworker: autoscalebot --settings=autoscale_settingsIf you are using Django:1. pip install autoscalebot, and add it to your requirements.txt2. Set these required settings in your `settings.py`, as well as any optional tuning settings. Prefix all names on the settings list below with AUTOSCALEpython AUTOSCALE_HEROKU_APP_NAME = "my-app-name" AUTOSCALE_HEROKU_API_KEY = "1234567890abcdef1234567890abcdef"3. If you want the built-in test view: * settings.py:python INSTALLED_APPS += ("autoscalebot",) * urls.py:python urlpatterns += patterns('', url(r'^', include('autoscalebot.urls', app_name="autoscalebot", namespace="autoscalebot"), ), )4. Add it to your Procfile: autoscaleworker: project/manage.py run_autoscalebotProduct's homepage
autoscalebot Related Software