1. 07 Dec, 2016 5 commits
  2. 02 Dec, 2016 2 commits
    • Leigh B Stoller's avatar
      Remove order by clause in profile query, this causes mysql to use a · 1c211767
      Leigh B Stoller authored
      filesort operation, which is a lot slower. And then we throw away the
      results of the sort anyway!
    • Leigh B Stoller's avatar
      A couple of little tweaks to deal with slow login: · b2c05d9c
      Leigh B Stoller authored
      1. Change initial query in instantiate.php to ask for just the few
         fields we need. Profiles have rspecs and scripts, and that is a lot
         of data to return, given that the average user has access to 300+
         profiles cause of all the ones marked public.
         But in general, there is a lot going on in instantiate.php, which is
         where most users are redirected to after login, and that causes a lot
         of delay.
      2. The MotherShip uses ZFS_NOEXPORT, so when logging in we have to see
         if we have to run exports_setup. exports_setup can take anywhere from
         5-25 seconds. The login path was forcing this once a day, but in fact
         exports_setup is using a week, so lets change the test to match that.
      3. Show a soothing modal after pressing the login button to keep the
         natives happy.
  3. 01 Dec, 2016 5 commits
  4. 30 Nov, 2016 3 commits
  5. 29 Nov, 2016 4 commits
  6. 28 Nov, 2016 6 commits
  7. 17 Nov, 2016 1 commit
  8. 15 Nov, 2016 1 commit
  9. 14 Nov, 2016 2 commits
  10. 12 Nov, 2016 1 commit
    • Leigh B Stoller's avatar
      Bring the cluster monitor "inhouse", rather then depending on the jfed · d7c4230e
      Leigh B Stoller authored
      monitoring system.
      New portal_monitor daemon does a GetVersion/ListResources call at each
      of the clusters every five minutes, and updates the new table in the
      DB called apt_aggregate_status. We calculate free/inuse counts for
      physical nodes and a free count for VMs. Failure to contact the
      aggregate for more then 10 minutes sets the aggregate as down, since
      from our perspective if we cannot get to it, the cluster is down.
      Unlike the jfed monitoring system, we are not going to try to
      instantiate a new experiment or ssh into it. Wait and see if that is
      necessary in our context.
      On the instantiate page, generate a json structure for each cluster,
      similar the one described in issue #172 by Keith. This way we can easily
      switch the existing code over to this new system, but fail back to the
      old mechanism if this turn out to be a bust.
      Some other related changes to how we hand cluster into the several web
  11. 10 Nov, 2016 2 commits
  12. 09 Nov, 2016 2 commits
  13. 08 Nov, 2016 3 commits
  14. 07 Nov, 2016 2 commits
  15. 03 Nov, 2016 1 commit