{"action":"created","issue":{"url":"https://api.github.com/repos/BrechtBa/prono/issues/3","repository_url":"https://api.github.com/repos/BrechtBa/prono","labels_url":"https://api.github.com/repos/BrechtBa/prono/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/BrechtBa/prono/issues/3/comments","events_url":"https://api.github.com/repos/BrechtBa/prono/issues/3/events","html_url":"https://github.com/BrechtBa/prono/issues/3","id":150590142,"number":3,"title":"Client side computation of points and changes is not ideal","user":{"login":"BrechtBa","id":7857596,"avatar_url":"https://avatars.githubusercontent.com/u/7857596?v=3","gravatar_id":"","url":"https://api.github.com/users/BrechtBa","html_url":"https://github.com/BrechtBa","followers_url":"https://api.github.com/users/BrechtBa/followers","following_url":"https://api.github.com/users/BrechtBa/following{/other_user}","gists_url":"https://api.github.com/users/BrechtBa/gists{/gist_id}","starred_url":"https://api.github.com/users/BrechtBa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrechtBa/subscriptions","organizations_url":"https://api.github.com/users/BrechtBa/orgs","repos_url":"https://api.github.com/users/BrechtBa/repos","events_url":"https://api.github.com/users/BrechtBa/events{/privacy}","received_events_url":"https://api.github.com/users/BrechtBa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-23T19:44:43Z","updated_at":"2016-04-23T19:50:44Z","closed_at":null,"body":"The computation of points is now performed client side. When the admin changes the result of a match the points of every user are recomputed on the admins machine and then submitted through the API.\r\nWhen there are a lot of users this represents a heavy load for the admins client and it is not sure if the admins computing power will be sufficient.\r\n\r\nA test with minimum 20 users will have to be executed before the EC.\r\n\r\nChanging to a server side computation would be the ideal solution"},"comment":{"url":"https://api.github.com/repos/BrechtBa/prono/issues/comments/213819007","html_url":"https://github.com/BrechtBa/prono/issues/3#issuecomment-213819007","issue_url":"https://api.github.com/repos/BrechtBa/prono/issues/3","id":213819007,"user":{"login":"BrechtBa","id":7857596,"avatar_url":"https://avatars.githubusercontent.com/u/7857596?v=3","gravatar_id":"","url":"https://api.github.com/users/BrechtBa","html_url":"https://github.com/BrechtBa","followers_url":"https://api.github.com/users/BrechtBa/followers","following_url":"https://api.github.com/users/BrechtBa/following{/other_user}","gists_url":"https://api.github.com/users/BrechtBa/gists{/gist_id}","starred_url":"https://api.github.com/users/BrechtBa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrechtBa/subscriptions","organizations_url":"https://api.github.com/users/BrechtBa/orgs","repos_url":"https://api.github.com/users/BrechtBa/repos","events_url":"https://api.github.com/users/BrechtBa/events{/privacy}","received_events_url":"https://api.github.com/users/BrechtBa/received_events","type":"User","site_admin":false},"created_at":"2016-04-23T19:50:43Z","updated_at":"2016-04-23T19:50:43Z","body":"Initial thoughts are to implement a django rest api which will serve as back end and perform all computations.\r\n\r\nPolymer will serve as front-end only making it much simpler.\r\nThe API will process GET requests the way it does now.\r\nBut with POST, PUT, DELETE requests additional logic, for instance computing the points of all users must be performed.\r\n\r\nstarted a branch [issue3_djangoapi](https://github.com/BrechtBa/prono/tree/issue3_djangoapi)"}}