{"action":"created","issue":{"url":"https://api.github.com/repos/BBC-News/alephant-publisher-queue/issues/16","labels_url":"https://api.github.com/repos/BBC-News/alephant-publisher-queue/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/BBC-News/alephant-publisher-queue/issues/16/comments","events_url":"https://api.github.com/repos/BBC-News/alephant-publisher-queue/issues/16/events","html_url":"https://github.com/BBC-News/alephant-publisher-queue/pull/16","id":119895268,"number":16,"title":"Write batch record for all renderer applications","user":{"login":"samfrench","id":743433,"avatar_url":"https://avatars.githubusercontent.com/u/743433?v=3","gravatar_id":"","url":"https://api.github.com/users/samfrench","html_url":"https://github.com/samfrench","followers_url":"https://api.github.com/users/samfrench/followers","following_url":"https://api.github.com/users/samfrench/following{/other_user}","gists_url":"https://api.github.com/users/samfrench/gists{/gist_id}","starred_url":"https://api.github.com/users/samfrench/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samfrench/subscriptions","organizations_url":"https://api.github.com/users/samfrench/orgs","repos_url":"https://api.github.com/users/samfrench/repos","events_url":"https://api.github.com/users/samfrench/events{/privacy}","received_events_url":"https://api.github.com/users/samfrench/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-02T08:56:25Z","updated_at":"2015-12-02T09:00:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/BBC-News/alephant-publisher-queue/pulls/16","html_url":"https://github.com/BBC-News/alephant-publisher-queue/pull/16","diff_url":"https://github.com/BBC-News/alephant-publisher-queue/pull/16.diff","patch_url":"https://github.com/BBC-News/alephant-publisher-queue/pull/16.patch"},"body":"## Problem\r\nAt the moment, we only write a batch record to DynamoDB for renderer applications which have more than one component. This means the PAL can't request this component using a batch request.\r\n\r\n## Solution\r\nIt seems a better approach, if we write a batch record for all renderer applications, then the PAL (or whatever is going to request the components) can decide if it is going to request them in batch or not.\r\n\r\nhttps://jira.dev.bbc.co.uk/browse/CONNPOL-2834\r\n\r\n![](https://media.giphy.com/media/IwTWTsUzmIicM/giphy.gif)"},"comment":{"url":"https://api.github.com/repos/BBC-News/alephant-publisher-queue/issues/comments/161226136","html_url":"https://github.com/BBC-News/alephant-publisher-queue/pull/16#issuecomment-161226136","issue_url":"https://api.github.com/repos/BBC-News/alephant-publisher-queue/issues/16","id":161226136,"user":{"login":"samfrench","id":743433,"avatar_url":"https://avatars.githubusercontent.com/u/743433?v=3","gravatar_id":"","url":"https://api.github.com/users/samfrench","html_url":"https://github.com/samfrench","followers_url":"https://api.github.com/users/samfrench/followers","following_url":"https://api.github.com/users/samfrench/following{/other_user}","gists_url":"https://api.github.com/users/samfrench/gists{/gist_id}","starred_url":"https://api.github.com/users/samfrench/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samfrench/subscriptions","organizations_url":"https://api.github.com/users/samfrench/orgs","repos_url":"https://api.github.com/users/samfrench/repos","events_url":"https://api.github.com/users/samfrench/events{/privacy}","received_events_url":"https://api.github.com/users/samfrench/received_events","type":"User","site_admin":false},"created_at":"2015-12-02T09:00:03Z","updated_at":"2015-12-02T09:00:03Z","body":"@Integralist, this is following on from our discussion yesterday.\r\n\r\n@zygotic99, any issues if we write a batch record for one-component renderer applications? I could only think of performance, but it should be miniscule."}}