1. 23 Mar, 2018 1 commit
  2. 07 Feb, 2018 2 commits
    • Lin Jen-Shin's avatar
      Release the entire env · 31f1ec59
      Lin Jen-Shin authored
    • Lin Jen-Shin's avatar
      Try not to hold env and release the controller · d4d564c8
      Lin Jen-Shin authored
      after the request. This way, we could release the
      project referred from the controller, which potentially
      referred a repository which potentially allocated a lot of
      Before this change, we could hold the last request data
      and cannot release the memory. After this change, the
      largest request data should be able to be collected from GC.
      This might not impact the instances having heavy load,
      as the last request should be changing all the time,
      and GC won't kick in for each request anyway.
      However it could still potentially allow us to free more
      memories for each GC runs, because now we could free one
      more request anyway.
  3. 28 Dec, 2017 1 commit
    • Lin Jen-Shin's avatar
      Warm up the app so it's fast for the 1st request · e202fe8c
      Lin Jen-Shin authored
      This would make the application considered ready much slower,
      but when it's ready, then it's really ready. Before this change,
      it claims to be ready, but it's annoyingly slow for the first
      request with GDK. It's 100% 502 for me, for the first request.
      This shouldn't really affect production or so, because if it's
      really ready, it should be blazingly fast, and it should not
      slow things down too much.
      The culprit here is probably `ActionController::Base.helpers.asset_path`
      but this could make sure that anything else would load first, too.
  4. 15 Jun, 2017 1 commit
  5. 02 Jun, 2017 6 commits
  6. 20 Jan, 2016 2 commits
  7. 28 May, 2015 1 commit
  8. 23 Jan, 2014 1 commit
  9. 22 Dec, 2013 1 commit
  10. 20 Dec, 2013 1 commit
  11. 18 Dec, 2013 1 commit
  12. 28 Dec, 2012 1 commit
  13. 13 Oct, 2011 2 commits
  14. 08 Oct, 2011 1 commit