1. 12 Apr, 2017 11 commits
  2. 11 Apr, 2017 4 commits
  3. 10 Apr, 2017 1 commit
  4. 07 Apr, 2017 7 commits
  5. 06 Apr, 2017 3 commits
    • Disable app preload in gunicorn for LMS & Studio. · 30b924d5
      Since the earliest days of edX, we've run gunicorn with preload_app as
      True. This was primarily because the first handful of courses were using
      the XMLModuleStore, which was extremely slow to initialize because it
      had to read entire courses from disk and load them into memory at
      startup.
      
      XMLModuleStore courses stopped being created with the introduction of
      Studio, and we've long since removed them from edx.org. Note: This
      should not be confused with importing courses that are authored in XML.
      XMLModuleStore courses are courses who use the disk instead of Mongo
      for content persistence, and require a server restart for content edits
      to show.
      
      This commit sets things back to how Django is more commonly deployed
      with gunicorn. It will make server startup time somewhat more expensive
      because each worker process does init work, but it should make it
      easier to safely enable features like database connection pooling
      without having to worry about shared resources.
      
      [PERF-305]
      David Ormsbee committed
    • Merge pull request #3799 from edx/jibsheet/no-sudo · a1179f28
      Quiet an ansible deprecation warnings
      Kevin Falcone committed
    • Quiet an ansible deprecation warnings · 86017f95
      [DEPRECATION WARNING]: Instead of sudo/sudo_user, use become/become_user and
      make sure become_method is 'sudo' (default).
      This feature will be removed in a
      future release. Deprecation warnings can be disabled by setting
      deprecation_warnings=False in ansible.cfg.
      Kevin Falcone committed
  6. 05 Apr, 2017 7 commits
  7. 31 Mar, 2017 6 commits
  8. 30 Mar, 2017 1 commit
    • infrastructure for building an AMI for a loadtest driver jenkins worker · a216d927
      * Add a new ansible role "loadtest_driver" for setting up any instance
        for running load tests.
      * Make the existing "locust" role depend on loadtest_driver and pull out
        the redundant tasks.  The "locust" role is outside of the AMI-building
        code path, but we do use it for something else and want to keep common
        tasks shared.
      * Make the "jenkins_worker" role depend on the new "loadtest_driver"
        role.
      * Create a new ansible playbook for setting up loadtest drivers.
      * create a new packer script to build an AMI for loadtest drivers.
      Troy Sankey committed