{"action":"created","comment":{"url":"https://api.github.com/repos/MoodCat/MoodCat.me/pulls/comments/31801219","id":31801219,"diff_hunk":"@@ -191,3 +191,18 @@ \\section{Concurrency}\n These seperate threads will get a specific task assigned, which has his local data to compute on.\n Deadlocks will be prevented because the spawned threads will be joined before acquiring locks in synchronized statements.\n This will happen when we persist the algorithm output in the database.\n+\n+\\section{Scalability}\n+Concurrent clients are one thing, but we also have to scale the algorithms for growth.\n+Initially, we planned on a nearest neighbours algorithm to match songs to rooms.\n+Later on, we found out that while this works well for small datasets, finding the nearest neighbours in a system of a few million songs can prove to be a lot harder.","path":"Documentation/General/emergentArchitectureDesign/emergentArchitectureDesign.tex","position":8,"original_position":8,"commit_id":"81b63b597e47422c3c04ecf994d372f4c02fe479","original_commit_id":"81b63b597e47422c3c04ecf994d372f4c02fe479","user":{"login":"JWGmeligMeyling","id":3469492,"avatar_url":"https://avatars.githubusercontent.com/u/3469492?v=3","gravatar_id":"","url":"https://api.github.com/users/JWGmeligMeyling","html_url":"https://github.com/JWGmeligMeyling","followers_url":"https://api.github.com/users/JWGmeligMeyling/followers","following_url":"https://api.github.com/users/JWGmeligMeyling/following{/other_user}","gists_url":"https://api.github.com/users/JWGmeligMeyling/gists{/gist_id}","starred_url":"https://api.github.com/users/JWGmeligMeyling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JWGmeligMeyling/subscriptions","organizations_url":"https://api.github.com/users/JWGmeligMeyling/orgs","repos_url":"https://api.github.com/users/JWGmeligMeyling/repos","events_url":"https://api.github.com/users/JWGmeligMeyling/events{/privacy}","received_events_url":"https://api.github.com/users/JWGmeligMeyling/received_events","type":"User","site_admin":false},"body":"I would not amend \"(while this works well for small datasets)\" because its already made clear by \" a few million songs\". The quantity of the requests with a large user base, and the realtime performance requirements could be added .","created_at":"2015-06-05T10:05:44Z","updated_at":"2015-06-05T10:05:44Z","html_url":"https://github.com/MoodCat/MoodCat.me/pull/75#discussion_r31801219","pull_request_url":"https://api.github.com/repos/MoodCat/MoodCat.me/pulls/75","_links":{"self":{"href":"https://api.github.com/repos/MoodCat/MoodCat.me/pulls/comments/31801219"},"html":{"href":"https://github.com/MoodCat/MoodCat.me/pull/75#discussion_r31801219"},"pull_request":{"href":"https://api.github.com/repos/MoodCat/MoodCat.me/pulls/75"}}},"pull_request":{"url":"https://api.github.com/repos/MoodCat/MoodCat.me/pulls/75","id":37014272,"html_url":"https://github.com/MoodCat/MoodCat.me/pull/75","diff_url":"https://github.com/MoodCat/MoodCat.me/pull/75.diff","patch_url":"https://github.com/MoodCat/MoodCat.me/pull/75.patch","issue_url":"https://api.github.com/repos/MoodCat/MoodCat.me/issues/75","number":75,"state":"open","locked":false,"title":"Added small section for the scalability process","user":{"login":"GijsWeterings","id":5946346,"avatar_url":"https://avatars.githubusercontent.com/u/5946346?v=3","gravatar_id":"","url":"https://api.github.com/users/GijsWeterings","html_url":"https://github.com/GijsWeterings","followers_url":"https://api.github.com/users/GijsWeterings/followers","following_url":"https://api.github.com/users/GijsWeterings/following{/other_user}","gists_url":"https://api.github.com/users/GijsWeterings/gists{/gist_id}","starred_url":"https://api.github.com/users/GijsWeterings/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GijsWeterings/subscriptions","organizations_url":"https://api.github.com/users/GijsWeterings/orgs","repos_url":"https://api.github.com/users/GijsWeterings/repos","events_url":"https://api.github.com/users/GijsWeterings/events{/privacy}","received_events_url":"https://api.github.com/users/GijsWeterings/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-05T09:23:01Z","updated_at":"2015-06-05T10:05:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e5de6da54aeb859feb5ce41bb5c80c1f688d05c9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/MoodCat/MoodCat.me/pulls/75/commits","review_comments_url":"https://api.github.com/repos/MoodCat/MoodCat.me/pulls/75/comments","review_comment_url":"https://api.github.com/repos/MoodCat/MoodCat.me/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MoodCat/MoodCat.me/issues/75/comments","statuses_url":"https://api.github.com/repos/MoodCat/MoodCat.me/statuses/81b63b597e47422c3c04ecf994d372f4c02fe479","head":{"label":"MoodCat:EADscalability","ref":"EADscalability","sha":"81b63b597e47422c3c04ecf994d372f4c02fe479","user":{"login":"MoodCat","id":12031228,"avatar_url":"https://avatars.githubusercontent.com/u/12031228?v=3","gravatar_id":"","url":"https://api.github.com/users/MoodCat","html_url":"https://github.com/MoodCat","followers_url":"https://api.github.com/users/MoodCat/followers","following_url":"https://api.github.com/users/MoodCat/following{/other_user}","gists_url":"https://api.github.com/users/MoodCat/gists{/gist_id}","starred_url":"https://api.github.com/users/MoodCat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MoodCat/subscriptions","organizations_url":"https://api.github.com/users/MoodCat/orgs","repos_url":"https://api.github.com/users/MoodCat/repos","events_url":"https://api.github.com/users/MoodCat/events{/privacy}","received_events_url":"https://api.github.com/users/MoodCat/received_events","type":"Organization","site_admin":false},"repo":{"id":34447106,"name":"MoodCat.me","full_name":"MoodCat/MoodCat.me","owner":{"login":"MoodCat","id":12031228,"avatar_url":"https://avatars.githubusercontent.com/u/12031228?v=3","gravatar_id":"","url":"https://api.github.com/users/MoodCat","html_url":"https://github.com/MoodCat","followers_url":"https://api.github.com/users/MoodCat/followers","following_url":"https://api.github.com/users/MoodCat/following{/other_user}","gists_url":"https://api.github.com/users/MoodCat/gists{/gist_id}","starred_url":"https://api.github.com/users/MoodCat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MoodCat/subscriptions","organizations_url":"https://api.github.com/users/MoodCat/orgs","repos_url":"https://api.github.com/users/MoodCat/repos","events_url":"https://api.github.com/users/MoodCat/events{/privacy}","received_events_url":"https://api.github.com/users/MoodCat/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MoodCat/MoodCat.me","description":"","fork":false,"url":"https://api.github.com/repos/MoodCat/MoodCat.me","forks_url":"https://api.github.com/repos/MoodCat/MoodCat.me/forks","keys_url":"https://api.github.com/repos/MoodCat/MoodCat.me/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MoodCat/MoodCat.me/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MoodCat/MoodCat.me/teams","hooks_url":"https://api.github.com/repos/MoodCat/MoodCat.me/hooks","issue_events_url":"https://api.github.com/repos/MoodCat/MoodCat.me/issues/events{/number}","events_url":"https://api.github.com/repos/MoodCat/MoodCat.me/events","assignees_url":"https://api.github.com/repos/MoodCat/MoodCat.me/assignees{/user}","branches_url":"https://api.github.com/repos/MoodCat/MoodCat.me/branches{/branch}","tags_url":"https://api.github.com/repos/MoodCat/MoodCat.me/tags","blobs_url":"https://api.github.com/repos/MoodCat/MoodCat.me/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MoodCat/MoodCat.me/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MoodCat/MoodCat.me/git/refs{/sha}","trees_url":"https://api.github.com/repos/MoodCat/MoodCat.me/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MoodCat/MoodCat.me/statuses/{sha}","languages_url":"https://api.github.com/repos/MoodCat/MoodCat.me/languages","stargazers_url":"https://api.github.com/repos/MoodCat/MoodCat.me/stargazers","contributors_url":"https://api.github.com/repos/MoodCat/MoodCat.me/contributors","subscribers_url":"https://api.github.com/repos/MoodCat/MoodCat.me/subscribers","subscription_url":"https://api.github.com/repos/MoodCat/MoodCat.me/subscription","commits_url":"https://api.github.com/repos/MoodCat/MoodCat.me/commits{/sha}","git_commits_url":"https://api.github.com/repos/MoodCat/MoodCat.me/git/commits{/sha}","comments_url":"https://api.github.com/repos/MoodCat/MoodCat.me/comments{/number}","issue_comment_url":"https://api.github.com/repos/MoodCat/MoodCat.me/issues/comments{/number}","contents_url":"https://api.github.com/repos/MoodCat/MoodCat.me/contents/{+path}","compare_url":"https://api.github.com/repos/MoodCat/MoodCat.me/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MoodCat/MoodCat.me/merges","archive_url":"https://api.github.com/repos/MoodCat/MoodCat.me/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MoodCat/MoodCat.me/downloads","issues_url":"https://api.github.com/repos/MoodCat/MoodCat.me/issues{/number}","pulls_url":"https://api.github.com/repos/MoodCat/MoodCat.me/pulls{/number}","milestones_url":"https://api.github.com/repos/MoodCat/MoodCat.me/milestones{/number}","notifications_url":"https://api.github.com/repos/MoodCat/MoodCat.me/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MoodCat/MoodCat.me/labels{/name}","releases_url":"https://api.github.com/repos/MoodCat/MoodCat.me/releases{/id}","created_at":"2015-04-23T09:34:06Z","updated_at":"2015-04-25T14:20:40Z","pushed_at":"2015-06-05T10:02:05Z","git_url":"git://github.com/MoodCat/MoodCat.me.git","ssh_url":"git@github.com:MoodCat/MoodCat.me.git","clone_url":"https://github.com/MoodCat/MoodCat.me.git","svn_url":"https://github.com/MoodCat/MoodCat.me","homepage":null,"size":17391,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":11,"forks":0,"open_issues":11,"watchers":0,"default_branch":"master"}},"base":{"label":"MoodCat:master","ref":"master","sha":"a5708839c9959348f4e771162426fb36218f0c82","user":{"login":"MoodCat","id":12031228,"avatar_url":"https://avatars.githubusercontent.com/u/12031228?v=3","gravatar_id":"","url":"https://api.github.com/users/MoodCat","html_url":"https://github.com/MoodCat","followers_url":"https://api.github.com/users/MoodCat/followers","following_url":"https://api.github.com/users/MoodCat/following{/other_user}","gists_url":"https://api.github.com/users/MoodCat/gists{/gist_id}","starred_url":"https://api.github.com/users/MoodCat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MoodCat/subscriptions","organizations_url":"https://api.github.com/users/MoodCat/orgs","repos_url":"https://api.github.com/users/MoodCat/repos","events_url":"https://api.github.com/users/MoodCat/events{/privacy}","received_events_url":"https://api.github.com/users/MoodCat/received_events","type":"Organization","site_admin":false},"repo":{"id":34447106,"name":"MoodCat.me","full_name":"MoodCat/MoodCat.me","owner":{"login":"MoodCat","id":12031228,"avatar_url":"https://avatars.githubusercontent.com/u/12031228?v=3","gravatar_id":"","url":"https://api.github.com/users/MoodCat","html_url":"https://github.com/MoodCat","followers_url":"https://api.github.com/users/MoodCat/followers","following_url":"https://api.github.com/users/MoodCat/following{/other_user}","gists_url":"https://api.github.com/users/MoodCat/gists{/gist_id}","starred_url":"https://api.github.com/users/MoodCat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MoodCat/subscriptions","organizations_url":"https://api.github.com/users/MoodCat/orgs","repos_url":"https://api.github.com/users/MoodCat/repos","events_url":"https://api.github.com/users/MoodCat/events{/privacy}","received_events_url":"https://api.github.com/users/MoodCat/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MoodCat/MoodCat.me","description":"","fork":false,"url":"https://api.github.com/repos/MoodCat/MoodCat.me","forks_url":"https://api.github.com/repos/MoodCat/MoodCat.me/forks","keys_url":"https://api.github.com/repos/MoodCat/MoodCat.me/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MoodCat/MoodCat.me/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MoodCat/MoodCat.me/teams","hooks_url":"https://api.github.com/repos/MoodCat/MoodCat.me/hooks","issue_events_url":"https://api.github.com/repos/MoodCat/MoodCat.me/issues/events{/number}","events_url":"https://api.github.com/repos/MoodCat/MoodCat.me/events","assignees_url":"https://api.github.com/repos/MoodCat/MoodCat.me/assignees{/user}","branches_url":"https://api.github.com/repos/MoodCat/MoodCat.me/branches{/branch}","tags_url":"https://api.github.com/repos/MoodCat/MoodCat.me/tags","blobs_url":"https://api.github.com/repos/MoodCat/MoodCat.me/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MoodCat/MoodCat.me/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MoodCat/MoodCat.me/git/refs{/sha}","trees_url":"https://api.github.com/repos/MoodCat/MoodCat.me/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MoodCat/MoodCat.me/statuses/{sha}","languages_url":"https://api.github.com/repos/MoodCat/MoodCat.me/languages","stargazers_url":"https://api.github.com/repos/MoodCat/MoodCat.me/stargazers","contributors_url":"https://api.github.com/repos/MoodCat/MoodCat.me/contributors","subscribers_url":"https://api.github.com/repos/MoodCat/MoodCat.me/subscribers","subscription_url":"https://api.github.com/repos/MoodCat/MoodCat.me/subscription","commits_url":"https://api.github.com/repos/MoodCat/MoodCat.me/commits{/sha}","git_commits_url":"https://api.github.com/repos/MoodCat/MoodCat.me/git/commits{/sha}","comments_url":"https://api.github.com/repos/MoodCat/MoodCat.me/comments{/number}","issue_comment_url":"https://api.github.com/repos/MoodCat/MoodCat.me/issues/comments{/number}","contents_url":"https://api.github.com/repos/MoodCat/MoodCat.me/contents/{+path}","compare_url":"https://api.github.com/repos/MoodCat/MoodCat.me/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MoodCat/MoodCat.me/merges","archive_url":"https://api.github.com/repos/MoodCat/MoodCat.me/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MoodCat/MoodCat.me/downloads","issues_url":"https://api.github.com/repos/MoodCat/MoodCat.me/issues{/number}","pulls_url":"https://api.github.com/repos/MoodCat/MoodCat.me/pulls{/number}","milestones_url":"https://api.github.com/repos/MoodCat/MoodCat.me/milestones{/number}","notifications_url":"https://api.github.com/repos/MoodCat/MoodCat.me/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MoodCat/MoodCat.me/labels{/name}","releases_url":"https://api.github.com/repos/MoodCat/MoodCat.me/releases{/id}","created_at":"2015-04-23T09:34:06Z","updated_at":"2015-04-25T14:20:40Z","pushed_at":"2015-06-05T10:02:05Z","git_url":"git://github.com/MoodCat/MoodCat.me.git","ssh_url":"git@github.com:MoodCat/MoodCat.me.git","clone_url":"https://github.com/MoodCat/MoodCat.me.git","svn_url":"https://github.com/MoodCat/MoodCat.me","homepage":null,"size":17391,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":11,"forks":0,"open_issues":11,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MoodCat/MoodCat.me/pulls/75"},"html":{"href":"https://github.com/MoodCat/MoodCat.me/pull/75"},"issue":{"href":"https://api.github.com/repos/MoodCat/MoodCat.me/issues/75"},"comments":{"href":"https://api.github.com/repos/MoodCat/MoodCat.me/issues/75/comments"},"review_comments":{"href":"https://api.github.com/repos/MoodCat/MoodCat.me/pulls/75/comments"},"review_comment":{"href":"https://api.github.com/repos/MoodCat/MoodCat.me/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MoodCat/MoodCat.me/pulls/75/commits"},"statuses":{"href":"https://api.github.com/repos/MoodCat/MoodCat.me/statuses/81b63b597e47422c3c04ecf994d372f4c02fe479"}}}}