Background processing on the cheap.

October 27, 2014


We recently upgraded to Rails 4.2.0.beta2 to take advantage of the new Active Job framework and other improvements. We chose Sucker Punch to avoid the cost of using a separate worker on Elastic Beanstalk, along with Fist Of Fury for scheduling ( which we ended up not using ). "I use sucker_punch as a poor man's sidekiq. I can have async jobs on Heroku without paying the extra worker. My jobs are usually very small and fast, so it works just fine. ... Read more

Deploying versions with zero downtime ( 2 months later )

October 7, 2014


Again, two months, almost to the day since we last hit problems with deployment, we are here again. Up till the day before, deployments worked fine if a little slow, but now they fail with a timeout. The site is running okay but remains at that version: “Update environment operation is complete, but with command timeouts. Try increasing the timeout period. For more information, see troubleshooting documentation.” It is not possible to retrieve the logs - also due to an execution timeout. ... Read more

Deploying versions with zero downtime

July 24, 2014


Two months, almost to the day since we last hit problems with deployment, it looks like we are here again. Up till the day before, deployments worked fine if a little slow, but now they fail with a timeout. The site is running okay but remains at that version: “Update environment operation is complete, but with command timeouts. Try increasing the timeout period. For more information, see troubleshooting documentation.” It is not possible to retrieve the logs - also due to an execution timeout. ... Read more

© 2018 Keith P | Follow on Twitter | Git