{"action":"opened","issue":{"url":"https://api.github.com/repos/mesosphere/marathon/issues/4095","repository_url":"https://api.github.com/repos/mesosphere/marathon","labels_url":"https://api.github.com/repos/mesosphere/marathon/issues/4095/labels{/name}","comments_url":"https://api.github.com/repos/mesosphere/marathon/issues/4095/comments","events_url":"https://api.github.com/repos/mesosphere/marathon/issues/4095/events","html_url":"https://github.com/mesosphere/marathon/issues/4095","id":165418435,"number":4095,"title":"Use a Map to store apps in Group","user":{"login":"jmlvanre","id":5892381,"avatar_url":"https://avatars.githubusercontent.com/u/5892381?v=3","gravatar_id":"","url":"https://api.github.com/users/jmlvanre","html_url":"https://github.com/jmlvanre","followers_url":"https://api.github.com/users/jmlvanre/followers","following_url":"https://api.github.com/users/jmlvanre/following{/other_user}","gists_url":"https://api.github.com/users/jmlvanre/gists{/gist_id}","starred_url":"https://api.github.com/users/jmlvanre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmlvanre/subscriptions","organizations_url":"https://api.github.com/users/jmlvanre/orgs","repos_url":"https://api.github.com/users/jmlvanre/repos","events_url":"https://api.github.com/users/jmlvanre/events{/privacy}","received_events_url":"https://api.github.com/users/jmlvanre/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mesosphere/marathon/labels/scaling","name":"scaling","color":"0052cc"}],"state":"open","locked":false,"assignee":{"login":"jmlvanre","id":5892381,"avatar_url":"https://avatars.githubusercontent.com/u/5892381?v=3","gravatar_id":"","url":"https://api.github.com/users/jmlvanre","html_url":"https://github.com/jmlvanre","followers_url":"https://api.github.com/users/jmlvanre/followers","following_url":"https://api.github.com/users/jmlvanre/following{/other_user}","gists_url":"https://api.github.com/users/jmlvanre/gists{/gist_id}","starred_url":"https://api.github.com/users/jmlvanre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmlvanre/subscriptions","organizations_url":"https://api.github.com/users/jmlvanre/orgs","repos_url":"https://api.github.com/users/jmlvanre/repos","events_url":"https://api.github.com/users/jmlvanre/events{/privacy}","received_events_url":"https://api.github.com/users/jmlvanre/received_events","type":"User","site_admin":false},"assignees":[{"login":"jmlvanre","id":5892381,"avatar_url":"https://avatars.githubusercontent.com/u/5892381?v=3","gravatar_id":"","url":"https://api.github.com/users/jmlvanre","html_url":"https://github.com/jmlvanre","followers_url":"https://api.github.com/users/jmlvanre/followers","following_url":"https://api.github.com/users/jmlvanre/following{/other_user}","gists_url":"https://api.github.com/users/jmlvanre/gists{/gist_id}","starred_url":"https://api.github.com/users/jmlvanre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmlvanre/subscriptions","organizations_url":"https://api.github.com/users/jmlvanre/orgs","repos_url":"https://api.github.com/users/jmlvanre/repos","events_url":"https://api.github.com/users/jmlvanre/events{/privacy}","received_events_url":"https://api.github.com/users/jmlvanre/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2016-07-13T20:50:42Z","updated_at":"2016-07-13T20:50:42Z","closed_at":null,"body":"The `Group` class currently uses a `Set` to store the child apps. This can lead to bad performance as we can not index the `Set` by the `appid`. Instead we iterate over the whole collection doing expensive comparisons.\r\nThis breaks down when there are many apps in a single group.\r\nConsider replacing the `Set` with a `Map` that can represent the primary key `appid` correctly."}}
{"actor":{"display_login":"jmlvanre"}}