Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Apr 2, 2013
  1. @sferik

    Prepare 0.4.4 release

    sferik authored
Commits on Apr 1, 2013
  1. @albus522 @sferik

    Optimized lookup for Postgresql and MySQL. Falling back to read-ahead…

    albus522 authored sferik committed
    … for others
  2. @albus522 @sferik

    We no longer use lock_exclusively!

    albus522 authored sferik committed
Commits on Mar 2, 2013
  1. @sferik

    Prepare 0.4.3 release

    sferik authored
  2. @sferik

    Add Coveralls badge [ci skip]

    sferik authored
  3. @sferik
  4. @sferik
Commits on Mar 1, 2013
  1. @sferik

    Merge pull request #38 from gaslight/master

    sferik authored
    Use more generic (and SQL Server compatible) locking in reserve
Commits on Feb 27, 2013
  1. @superchris
Commits on Feb 26, 2013
  1. @sferik

    Prep for release 0.4.2

    sferik authored
Commits on Feb 25, 2013
  1. @sferik

    Merge pull request #37 from shiroginne/master

    sferik authored
    Wrong UPDATE sql query for postgresql db
  2. @shiroginne
Commits on Feb 14, 2013
  1. @sferik
Commits on Feb 12, 2013
  1. @sferik

    Prep for release 0.4.1

    sferik authored
  2. @scosman @sferik

    Possible fix for MySQL support

    scosman authored sferik committed
  3. @sferik

    Don't allow failure on Rubinius

    sferik authored
  4. @sferik

    Test against JRuby

    sferik authored
  5. @sferik
  6. @sferik
  7. @sferik

    Add Gem Version badge [ci skip]

    sferik authored
Commits on Feb 10, 2013
  1. @sferik

    Prep for release 0.4.0

    sferik authored
  2. @sferik

    No need to check for Rails 3

    sferik authored
  3. @sferik

    Merge pull request #26 from rwz/master

    sferik authored
    Removed rails 2 compatibility
  4. @sferik

    Merge pull request #29 from scosman/master

    sferik authored
    Perf suggestion
Commits on Feb 6, 2013
  1. @sferik

    Don't test against JRuby

    sferik authored
  2. @sferik

    Specify minimum rspec version

    sferik authored
Commits on Jan 29, 2013
  1. @scosman

    Even faster for postgresql

    scosman authored
Commits on Jan 26, 2013
  1. @sferik

    Convert text files to Markdown

    sferik authored
  2. @sferik

    Test against Ruby 2.0.0

    sferik authored
Commits on Jan 25, 2013
  1. @scosman

    Fix the way we fetch jobs to work better for a large number of workers.

    scosman authored
    Instead of fetching 5 candidates at attempting to lock each one by one, just lock the next job in 1 query.
    
    Example of old system and 100 workers (worst but not uncommon case):
    1) 100 workers wake up and fetch 5 candidate jobs (they all get the same, or very similar set of 5 jobs), making a total of 100 SELECT calls
    2) they all try to lock the first job (only 1 of 99 succeeds). The failing workers try the next, making a total of roughly 500 UPDATE calls
    3) a total of 5 jobs get processed from about 600 database calls, and we restart the whole process
    
    New system:
    1) 100 workers wake up and fetch the next available job, each getting a single unique job (1 SELECT and 1 UPDATE call each).
    2) a total of 100 jobs are processed with exactly 200 SQL calls
    
    I've also included an example to make it all work in 1 call, avoiding an extra round-trip. This requires custom SQL only tested with PostgreSQL
Commits on Dec 26, 2012
  1. @rwz

    Removed rails2 compatibility

    rwz authored
Commits on Nov 29, 2012
  1. @albus522

    Fixed typo

    albus522 authored
  2. @albus522
  3. @albus522
Commits on Nov 28, 2012
  1. @sferik

    Allow Rubinius failures

    sferik authored
Something went wrong with that request. Please try again.