The default range of 1–5 seconds is a good starting point. This is where you'll set a queue time range that will trigger autoscaling. Scroll down to the "Autoscale Trigger" section. But first, let's look at the configuration options. Try enqueueing a bunch of jobs, and you'll see your queues start to back up.Īutoscaling is turned off by default, so you'll need to enable it. If your queues are empty, it might not look like much is happening. Once you've installed the gems and deployed your app, you'll see your GoodJob queues in the Judoscale dashboard. Select "GoodJob" as your job backend, and paste the provided code into your Gemfile. Judoscale will walk you through the setup process. Next, launch the Judoscale dashboard: heroku addons:open judoscale -app my-app This will install the free "White Belt" plan, which is perfect for getting started. Okay, let's get to it! We'll have your queues autoscaling in minutes.įirst, install the Judoscale add-on to your Heroku app: heroku addons:create judoscale -app my-app ![]() How to set up autoscaling for your GoodJob queues This makes installation a breeze, gives you integrated billing, and it means you don't have to grant Judoscale access to your Heroku account.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |