Skip to content
  1. Jan 24, 2019
  2. Nov 28, 2018
  3. Mar 23, 2018
  4. Feb 07, 2018
    • Lin Jen-Shin's avatar
      Release the entire env · 31f1ec59
      Lin Jen-Shin authored
      31f1ec59
    • 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
      memories.
      
      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.
      d4d564c8
  5. Dec 28, 2017
    • 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.
      e202fe8c
  6. Jun 15, 2017
  7. Jun 02, 2017
  8. Jan 20, 2016
  9. May 28, 2015
  10. Jan 23, 2014
  11. Dec 22, 2013
  12. Dec 20, 2013
  13. Dec 18, 2013
  14. Dec 28, 2012
  15. Oct 13, 2011
  16. Oct 08, 2011