{"action":"created","issue":{"url":"https://api.github.com/repos/huytd/agar.io-clone/issues/122","labels_url":"https://api.github.com/repos/huytd/agar.io-clone/issues/122/labels{/name}","comments_url":"https://api.github.com/repos/huytd/agar.io-clone/issues/122/comments","events_url":"https://api.github.com/repos/huytd/agar.io-clone/issues/122/events","html_url":"https://github.com/huytd/agar.io-clone/issues/122","id":83740451,"number":122,"title":"Using binary data instead of JSON?","user":{"login":"artuross","id":8393226,"avatar_url":"https://avatars.githubusercontent.com/u/8393226?v=3","gravatar_id":"","url":"https://api.github.com/users/artuross","html_url":"https://github.com/artuross","followers_url":"https://api.github.com/users/artuross/followers","following_url":"https://api.github.com/users/artuross/following{/other_user}","gists_url":"https://api.github.com/users/artuross/gists{/gist_id}","starred_url":"https://api.github.com/users/artuross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artuross/subscriptions","organizations_url":"https://api.github.com/users/artuross/orgs","repos_url":"https://api.github.com/users/artuross/repos","events_url":"https://api.github.com/users/artuross/events{/privacy}","received_events_url":"https://api.github.com/users/artuross/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/huytd/agar.io-clone/labels/duplicate","name":"duplicate","color":"cccccc"},{"url":"https://api.github.com/repos/huytd/agar.io-clone/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-06-01T23:21:32Z","updated_at":"2015-06-02T00:40:16Z","closed_at":"2015-06-01T23:29:59Z","body":"I think client should communicate with server using binary codes, not JSON. Just think about network usage when you have hundreds of players in one realm. Also, binary would decrease GC lag since node would manipulate on less data.\r\n\r\nAnd socket.io, seriously?\r\n\r\nBTW., vanilla uses binary codes."},"comment":{"url":"https://api.github.com/repos/huytd/agar.io-clone/issues/comments/107753823","html_url":"https://github.com/huytd/agar.io-clone/issues/122#issuecomment-107753823","issue_url":"https://api.github.com/repos/huytd/agar.io-clone/issues/122","id":107753823,"user":{"login":"artuross","id":8393226,"avatar_url":"https://avatars.githubusercontent.com/u/8393226?v=3","gravatar_id":"","url":"https://api.github.com/users/artuross","html_url":"https://github.com/artuross","followers_url":"https://api.github.com/users/artuross/followers","following_url":"https://api.github.com/users/artuross/following{/other_user}","gists_url":"https://api.github.com/users/artuross/gists{/gist_id}","starred_url":"https://api.github.com/users/artuross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artuross/subscriptions","organizations_url":"https://api.github.com/users/artuross/orgs","repos_url":"https://api.github.com/users/artuross/repos","events_url":"https://api.github.com/users/artuross/events{/privacy}","received_events_url":"https://api.github.com/users/artuross/received_events","type":"User","site_admin":false},"created_at":"2015-06-02T00:40:16Z","updated_at":"2015-06-02T00:40:16Z","body":"I mentioned yaml just for completeness. As for ws, I think this is a good idea, socket.io uses ws itself, of course it'll take some rewriting, but this is also a good oportunity to draft protocol spec and implement these two together."}}