{"action":"created","issue":{"url":"https://api.github.com/repos/bwegh/erwa/issues/18","labels_url":"https://api.github.com/repos/bwegh/erwa/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/bwegh/erwa/issues/18/comments","events_url":"https://api.github.com/repos/bwegh/erwa/issues/18/events","html_url":"https://github.com/bwegh/erwa/pull/18","id":96072885,"number":18,"title":"Refactored and optimised realms","user":{"login":"comtihon","id":1421547,"avatar_url":"https://avatars.githubusercontent.com/u/1421547?v=3","gravatar_id":"","url":"https://api.github.com/users/comtihon","html_url":"https://github.com/comtihon","followers_url":"https://api.github.com/users/comtihon/followers","following_url":"https://api.github.com/users/comtihon/following{/other_user}","gists_url":"https://api.github.com/users/comtihon/gists{/gist_id}","starred_url":"https://api.github.com/users/comtihon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/comtihon/subscriptions","organizations_url":"https://api.github.com/users/comtihon/orgs","repos_url":"https://api.github.com/users/comtihon/repos","events_url":"https://api.github.com/users/comtihon/events{/privacy}","received_events_url":"https://api.github.com/users/comtihon/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-20T14:11:15Z","updated_at":"2015-07-20T18:47:59Z","closed_at":"2015-07-20T18:47:38Z","pull_request":{"url":"https://api.github.com/repos/bwegh/erwa/pulls/18","html_url":"https://github.com/bwegh/erwa/pull/18","diff_url":"https://github.com/bwegh/erwa/pull/18.diff","patch_url":"https://github.com/bwegh/erwa/pull/18.patch"},"body":"Made some refactoring in big modules, moved tests to tests/eunit, move modules to directories (logically) and split realms to module with gen_server and module with interface for other processes (for better understanging code).\r\nAs for optimisation - I made realms ets protected and made reading to in in case of `get_routing` and `get_middleware_list` from calling processes to optimise speed in case of lots of processes.\r\nerwa_realms server only writes to in when adding or removing realm."},"comment":{"url":"https://api.github.com/repos/bwegh/erwa/issues/comments/122985307","html_url":"https://github.com/bwegh/erwa/pull/18#issuecomment-122985307","issue_url":"https://api.github.com/repos/bwegh/erwa/issues/18","id":122985307,"user":{"login":"comtihon","id":1421547,"avatar_url":"https://avatars.githubusercontent.com/u/1421547?v=3","gravatar_id":"","url":"https://api.github.com/users/comtihon","html_url":"https://github.com/comtihon","followers_url":"https://api.github.com/users/comtihon/followers","following_url":"https://api.github.com/users/comtihon/following{/other_user}","gists_url":"https://api.github.com/users/comtihon/gists{/gist_id}","starred_url":"https://api.github.com/users/comtihon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/comtihon/subscriptions","organizations_url":"https://api.github.com/users/comtihon/orgs","repos_url":"https://api.github.com/users/comtihon/repos","events_url":"https://api.github.com/users/comtihon/events{/privacy}","received_events_url":"https://api.github.com/users/comtihon/received_events","type":"User","site_admin":false},"created_at":"2015-07-20T18:47:59Z","updated_at":"2015-07-20T18:47:59Z","body":"I broke tests with refactoring somehow. Will reopen, when ready."}}