Recent Posts

Worker Queues as a Key Variable

By Dylan Stamat | March 2, 2011

Anyone working on a serious web app knows that a worker queue makes up a key component within the app architecture. So important is it that the infrastructure equation is typically broken into servers, workers, and datastores. Sure, there are other components and line items (cdn, bandwidth, etc) that an app can’t do within, but…

Read More

Worker Example Library on Github

By Dylan Stamat | February 20, 2011

We’ve created a public github repository for SimpleWorker example code. There are a few samples in there right now and we’ll keep adding to it and we welcome any contributions as well!  If you have a worker you’d like to share, fork the project, add your worker example, then send us a pull request.

Read More

SimpleWorker is now a Heroku Add-on!

By Dylan Stamat | February 19, 2011

Now you can start using SimpleWorker in your Heroku apps with minimal effort. It’s currently in private beta as an add-on, but let us know if you want to try it and we’ll try to get you on the list. More information.

Read More

The Ruby Compute Cloud

By Dylan Stamat | February 10, 2011

One of the main uses of SimpleWorker is as a worker queue for running background jobs within a web application. A second use — and one that marks a big shift in the cloud — is that of a Ruby Compute Cloud.

Read More

Autoload Rails Models for Super Easy Rails Integration

By Dylan Stamat | January 3, 2011

SimpleWorker will now include all the models in your Rails app automatically so you don’t have to merge them manually. Just use them almost as if they were to be run locally and you’re good to go. eg; class MyWorker < SimpleWorker::Base attr_accessor :user_id def run # User model will automatically be available, so just…

Read More

SimpleWorker Usage Pattern Graph

By Dylan Stamat | October 8, 2010

SimpleWorker is a job queuing and scheduling system so while a lot of work comes in at random times usually based on some event in their system (ie: a user clicks a button), there are a lot of scheduled jobs too and those scheduled jobs have a huge affect on the capacity requirements for SimpleWorker.…

Read More

Parallelizing Ruby on the Cloud

By Dylan Stamat | May 27, 2010

So I’m sure we’ve all had the need to want to run multiple threads at once to optimize a part of our applications. There are several options like spinning up new Ruby threads (example from):

Read More

Including other files in your Worker with “merge”

By Dylan Stamat | May 25, 2010

Previously, your worker file/class had to be self contained (ie: single file including all code for the worker). Now you can use the new “merge” class method for instance: class TestWorker2 < SimpleWorker::Base merge “models/model_1.rb”

Read More

Pushed 0.3.0 Gem: Much More User Friendly

By Dylan Stamat | May 13, 2010

After using SimpleWorkr for a long time now, I always think to myself, “there’s gotta be some way to make this more intuitive”. I want it to feel more like it’s just like running your normal code without even really realizing that the work is actually offloaded to the cloud. So with that in mind,…

Read More