{"action":"opened","issue":{"url":"https://api.github.com/repos/oppia/oppia/issues/2053","repository_url":"https://api.github.com/repos/oppia/oppia","labels_url":"https://api.github.com/repos/oppia/oppia/issues/2053/labels{/name}","comments_url":"https://api.github.com/repos/oppia/oppia/issues/2053/comments","events_url":"https://api.github.com/repos/oppia/oppia/issues/2053/events","html_url":"https://github.com/oppia/oppia/issues/2053","id":159292337,"number":2053,"title":"Batch config property get() calls in order to speed up requests","user":{"login":"seanlip","id":10575562,"avatar_url":"https://avatars.githubusercontent.com/u/10575562?v=3","gravatar_id":"","url":"https://api.github.com/users/seanlip","html_url":"https://github.com/seanlip","followers_url":"https://api.github.com/users/seanlip/followers","following_url":"https://api.github.com/users/seanlip/following{/other_user}","gists_url":"https://api.github.com/users/seanlip/gists{/gist_id}","starred_url":"https://api.github.com/users/seanlip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanlip/subscriptions","organizations_url":"https://api.github.com/users/seanlip/orgs","repos_url":"https://api.github.com/users/seanlip/repos","events_url":"https://api.github.com/users/seanlip/events{/privacy}","received_events_url":"https://api.github.com/users/seanlip/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-08T22:39:06Z","updated_at":"2016-06-08T22:39:06Z","closed_at":null,"body":"When new requests come in, the backend code often extracts various config property values (e.g. [here](https://github.com/oppia/oppia/blob/28195814ee2f3aee8f29262ae97afc2e530d459e/core/controllers/pages.py#L67), where ABOUT_PAGE_YOUTUBE_VIDEO_ID and CONTACT_EMAIL_ADDRESS are used.\r\n\r\nEach of these `.value` calls is a single datastore RPC, which seems wasteful when we're making many of them. It might be a good idea to batch them into a get_multi(), which only involves one datastore RPC."}}
{"actor":{"display_login":"seanlip"}}