Moving SQS Messages To Another Queue

Recently we ran into a situation at work where we needed to move all messages from one of our dead letter queues, back onto the “live” queue for the service. AWS doesn’t expose a way to move messages out of the box, so I wrote a small utility, which I creatively named sqsmv. I wrote the project in Go because it is a great fit for command line programs, and I’ve also worked with the Go AWS SDK before.
Read more →

Processing Sidekiq jobs with Go Workers

I have a personal project where a Sidekiq worker (written in Ruby) was using between 150-200MB of RAM with 20 workers. These workers take images that have been uploaded to a Rails application, and upload them to an Amazon S3 bucket in the background. Most of the time these workers are idle. This project generates exactly $0.00 income, and I’m paying for that RAM, which even in the amazing days of cloud computing, is still too expensive to waste on a personal budget.
Read more →