Refinery is a distributed processing framework written in the Ruby programming language designed to work with Amazon’s Web Services such as SQS and S3 to distribute data processing across multiple severs.