{"action":"created","issue":{"url":"https://api.github.com/repos/alco/chatty/issues/8","labels_url":"https://api.github.com/repos/alco/chatty/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/alco/chatty/issues/8/comments","events_url":"https://api.github.com/repos/alco/chatty/issues/8/events","html_url":"https://github.com/alco/chatty/pull/8","id":109747250,"number":8,"title":"Architecture revamp","user":{"login":"alco","id":207748,"avatar_url":"https://avatars.githubusercontent.com/u/207748?v=3","gravatar_id":"","url":"https://api.github.com/users/alco","html_url":"https://github.com/alco","followers_url":"https://api.github.com/users/alco/followers","following_url":"https://api.github.com/users/alco/following{/other_user}","gists_url":"https://api.github.com/users/alco/gists{/gist_id}","starred_url":"https://api.github.com/users/alco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alco/subscriptions","organizations_url":"https://api.github.com/users/alco/orgs","repos_url":"https://api.github.com/users/alco/repos","events_url":"https://api.github.com/users/alco/events{/privacy}","received_events_url":"https://api.github.com/users/alco/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/alco/chatty/labels/WIP","name":"WIP","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-10-05T07:57:53Z","updated_at":"2015-11-03T19:34:10Z","closed_at":"2015-11-03T19:30:49Z","pull_request":{"url":"https://api.github.com/repos/alco/chatty/pulls/8","html_url":"https://github.com/alco/chatty/pull/8","diff_url":"https://github.com/alco/chatty/pull/8.diff","patch_url":"https://github.com/alco/chatty/pull/8.patch"},"body":"This is where all the OTP goodness comes in.\r\n\r\nSo far the connection process has been rewritten to a GenServer and it works.\r\n\r\nWhat's still left to do:\r\n\r\n  * [x] Hook up the hook manager with the updated connection server. Hooks are no longer stored in the connection process but in a dedicated `HookManager` process. The connection should probably emit incoming messages as `GenEvent` events.\r\n\r\n  * [x] The hook manager listens on events and processes them by invoking each hook in a separate `Task`. This approach leads to isolation of all of the system's components from each other so that one thing crashing doesn't have any adverse effects on the rest of the system."},"comment":{"url":"https://api.github.com/repos/alco/chatty/issues/comments/153463732","html_url":"https://github.com/alco/chatty/pull/8#issuecomment-153463732","issue_url":"https://api.github.com/repos/alco/chatty/issues/8","id":153463732,"user":{"login":"Annwenn","id":8963482,"avatar_url":"https://avatars.githubusercontent.com/u/8963482?v=3","gravatar_id":"","url":"https://api.github.com/users/Annwenn","html_url":"https://github.com/Annwenn","followers_url":"https://api.github.com/users/Annwenn/followers","following_url":"https://api.github.com/users/Annwenn/following{/other_user}","gists_url":"https://api.github.com/users/Annwenn/gists{/gist_id}","starred_url":"https://api.github.com/users/Annwenn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Annwenn/subscriptions","organizations_url":"https://api.github.com/users/Annwenn/orgs","repos_url":"https://api.github.com/users/Annwenn/repos","events_url":"https://api.github.com/users/Annwenn/events{/privacy}","received_events_url":"https://api.github.com/users/Annwenn/received_events","type":"User","site_admin":false},"created_at":"2015-11-03T19:34:10Z","updated_at":"2015-11-03T19:34:10Z","body":">@Annwenn Hey. How does the 10-second delay in hook processing work out for you in terms of user experience? I would normally think the thing is broken if it didn't get back to me in a few seconds.\r\n\r\nWell, some websites send large data that take some time to process. Parsing large JSON files or doing multiple http requests can take up to 6-7 seconds."}}