21 Mar, 2013

2 commits


13 Mar, 2013

1 commit


12 Mar, 2013

1 commit


10 Mar, 2013

1 commit

  • Enable the identity map for Mongoid. This allows subsequent finds for
    the same object to skip the DB and use an in-memory store of all
    retrieved records.
    
    In many cases this reduces the number of DB queries from _hundreds_ to a
    few tens.
    
    This is particularly noticable when showing lists of problems.
    Previously each `problem.app` reference caused a Apo.find() using the
    `app_id`, now it's an in-memory lookup.
    Daniel Beardsley
     

08 Mar, 2013

1 commit

  • After the first child forks, shut down the old master.
    Previously, the old master and it's workers would jut sit there
    forever.
    
    See: https://github.com/blog/517-unicorn
         https://github.com/sosedoff/capistrano-unicorn/blob/master/examples/rails3.rb#L30
    
    Tested in production.
    Daniel Beardsley
     

06 Mar, 2013

2 commits


28 Feb, 2013

1 commit


14 Feb, 2013

1 commit


12 Feb, 2013

1 commit


08 Feb, 2013

2 commits


07 Feb, 2013

1 commit


01 Feb, 2013

2 commits


30 Jan, 2013

1 commit


29 Jan, 2013

2 commits


25 Jan, 2013

2 commits


08 Jan, 2013

1 commit


03 Jan, 2013

1 commit


07 Dec, 2012

1 commit


06 Dec, 2012

1 commit


08 Nov, 2012

1 commit


05 Nov, 2012

4 commits


28 Oct, 2012

1 commit


12 Oct, 2012

1 commit


04 Oct, 2012

1 commit


23 Sep, 2012

1 commit


19 Sep, 2012

4 commits


11 Sep, 2012

2 commits