title: how to run multiple nokogiri screen scrape threads at once
body: <p>I have a website that requires using Nokogiri on many different websites to extract data. This process is ran as a background job using the delayed_job gem. However it takes around 3-4 seconds per page to run because it has to pause and wait for other websites to respond.
  I am currently just running them by basically saying</p>
  
  <pre><code>Websites.all.each do |website|
    # screen scrape
  end
  </code></pre>
  
  <p>I would like to execute them in batches rather than one each so that I dont have to wait for a server response from every site (can take up to 20 seconds on occassion).</p>
  
  <p>What would be the best ruby or rails way to do this?</p>
  
  <p>Thanks for your help in advance.</p>