RubyGems Navigation menu

spawn-block 2.0

This plugin provides a 'Spawn' class to easily fork OR thread long-running sections of code so that your application can return results to your users more quickly. This plugin works by creating new database connections in ActiveRecord::Base for the spawned block. The plugin also patches ActiveRecord::Base to handle some known bugs when using threads (see lib/patches.rb).

Gemfile
          gem 'spawn-block', '~> 2.0'
  
  
  
  
  
  
  

install
          gem install spawn-block
  
  
  
  
  
  
  

Authors:

  • Tom Anderson

Owners:

Total downloads 1,313

For this version 1,313

Required Ruby Version: None

Links:

Versions:

  1. 2.0 - August 8, 2010 (12.5 KB)