{"action":"created","issue":{"url":"https://api.github.com/repos/edx/edx-platform/issues/10749","labels_url":"https://api.github.com/repos/edx/edx-platform/issues/10749/labels{/name}","comments_url":"https://api.github.com/repos/edx/edx-platform/issues/10749/comments","events_url":"https://api.github.com/repos/edx/edx-platform/issues/10749/events","html_url":"https://github.com/edx/edx-platform/pull/10749","id":118989434,"number":10749,"title":"Render CMS course listing Using CourseSummary class for staff","user":{"login":"awaisdar001","id":4252738,"avatar_url":"https://avatars.githubusercontent.com/u/4252738?v=3","gravatar_id":"","url":"https://api.github.com/users/awaisdar001","html_url":"https://github.com/awaisdar001","followers_url":"https://api.github.com/users/awaisdar001/followers","following_url":"https://api.github.com/users/awaisdar001/following{/other_user}","gists_url":"https://api.github.com/users/awaisdar001/gists{/gist_id}","starred_url":"https://api.github.com/users/awaisdar001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awaisdar001/subscriptions","organizations_url":"https://api.github.com/users/awaisdar001/orgs","repos_url":"https://api.github.com/users/awaisdar001/repos","events_url":"https://api.github.com/users/awaisdar001/events{/privacy}","received_events_url":"https://api.github.com/users/awaisdar001/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-11-26T07:34:54Z","updated_at":"2015-12-04T12:39:16Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/edx/edx-platform/pulls/10749","html_url":"https://github.com/edx/edx-platform/pull/10749","diff_url":"https://github.com/edx/edx-platform/pull/10749.diff","patch_url":"https://github.com/edx/edx-platform/pull/10749.patch"},"body":"[TNL-3779](https://openedx.atlassian.net/browse/TNL-3779)\r\n\r\n### Use CourseSummary class to render the studio dashboard\r\n\r\nedX global staff accounts will occasionally fail to load the main studio list of courses. Instead, the user sees a blank white page after >60 s. This seems to happen reliably when a release is going out, but definitely occurs during the regular course of the week as well.\r\n### Solution\r\nUse a light weight `CourseSummary` class to extract metadata of an course without loading the courses.\r\n\r\n###  Test results\r\nTime taken by `get_courses_accessible_to_user` method to fetch the course list for staff/non-staff\r\n1. Mongo\r\n\r\nCourses Count | CourseDescriptor Time (Non-Staff) | CourseSummary Time (Staff) | Test result\r\n------------ | ------------ | ------------- |  -------------\r\n50 | 0.2288 | 0.01912 | ~91%\r\n100  | 0.5105 | 0.0330 | ~92%\r\n200 | 0.9773 | 0.0669 | ~92%\r\n\r\n\r\n2. Split\r\n\r\nCourses Count | CourseDescriptor Time (Non-Staff) | CourseSummary Time (Staff) | Test result\r\n------------ | ------------ | ------------- |  -------------\r\n50 | 0.4523 | 0.0164 | ~96 %\r\n100 | 1.6695 | 0.0292 | ~97 %\r\n200 | 1.8263 | 0.0544 | ~96 %\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/edx/edx-platform/issues/comments/161957259","html_url":"https://github.com/edx/edx-platform/pull/10749#issuecomment-161957259","issue_url":"https://api.github.com/repos/edx/edx-platform/issues/10749","id":161957259,"user":{"login":"awaisdar001","id":4252738,"avatar_url":"https://avatars.githubusercontent.com/u/4252738?v=3","gravatar_id":"","url":"https://api.github.com/users/awaisdar001","html_url":"https://github.com/awaisdar001","followers_url":"https://api.github.com/users/awaisdar001/followers","following_url":"https://api.github.com/users/awaisdar001/following{/other_user}","gists_url":"https://api.github.com/users/awaisdar001/gists{/gist_id}","starred_url":"https://api.github.com/users/awaisdar001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awaisdar001/subscriptions","organizations_url":"https://api.github.com/users/awaisdar001/orgs","repos_url":"https://api.github.com/users/awaisdar001/repos","events_url":"https://api.github.com/users/awaisdar001/events{/privacy}","received_events_url":"https://api.github.com/users/awaisdar001/received_events","type":"User","site_admin":false},"created_at":"2015-12-04T12:39:16Z","updated_at":"2015-12-04T12:39:16Z","body":"jenkins run bokchoy"}}