Categories
- Active Record
- Active Resource
- Active Support
- Administration
- Ajax
- APIs
- Authentication
- Authorization
- Background Jobs
- Caching
- Code Walkthrough
- Controllers
- Debugging
- Deployment
- eCommerce
- Forms
- Mailing
- Models
- Performance
- Plugins
- Production
- Rack
- Rails 2.0
- Rails 2.1
- Rails 2.2
- Rails 2.3
- Rails 3.0
- Rails 3.1
- Rails 3.2
- Rails 4.0
- Refactoring
- Routing
- Search
- Security
- Testing
- Tools
- Views
Cron in Ruby (revised)
Cron is a common solution for recurring jobs, but it has a confusing syntax. In this episode I show you how to use Whenever to create cron jobs using Ruby. Some alternative scheduling solutions are also mentioned.
(6 minutes)
Beanstalkd and Stalker
Beanstalk is a fast and easy way to queue background tasks. Stalker provides a nice wrapper interface for creating these jobs.
(9 minutes)
Resque
Resque creates background jobs using Redis. It supports multiple queue and comes with an administration interface for monitoring and managing the queues.
(12 minutes)
Cron in Ruby
Cron is great for handling recurring tasks, but it is an external dependency with a crazy syntax. In this episode I show you how to use Whenever to create cron jobs with Ruby.
(8 minutes)
Delayed Job
Is there a long running task which should be handled in the background? One of the best ways is using the delayed_job plugin like I show in this episode.
(10 minutes)
Starling and Workling
Need to run a task frequently in the background? Starling and Workling is a killer combination for doing just that. See how in this episode.
(9 minutes)
Rake in Background
In need of a background process? You may be able to accomplish this with a simple Rake task. See how in this episode.
(10 minutes)
Custom Daemon
Creating a custom daemon to handle background tasks is surprisingly simple. In this episode I will make a daemon to handle dynamically scheduled tasks.
(7 minutes)