{"action":"created","issue":{"url":"https://api.github.com/repos/mstange/cleopatra/issues/31","repository_url":"https://api.github.com/repos/mstange/cleopatra","labels_url":"https://api.github.com/repos/mstange/cleopatra/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/mstange/cleopatra/issues/31/comments","events_url":"https://api.github.com/repos/mstange/cleopatra/issues/31/events","html_url":"https://github.com/mstange/cleopatra/issues/31","id":185511329,"number":31,"title":"Explore worker architecture","user":{"login":"gregtatum","id":1588648,"avatar_url":"https://avatars.githubusercontent.com/u/1588648?v=3","gravatar_id":"","url":"https://api.github.com/users/gregtatum","html_url":"https://github.com/gregtatum","followers_url":"https://api.github.com/users/gregtatum/followers","following_url":"https://api.github.com/users/gregtatum/following{/other_user}","gists_url":"https://api.github.com/users/gregtatum/gists{/gist_id}","starred_url":"https://api.github.com/users/gregtatum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregtatum/subscriptions","organizations_url":"https://api.github.com/users/gregtatum/orgs","repos_url":"https://api.github.com/users/gregtatum/repos","events_url":"https://api.github.com/users/gregtatum/events{/privacy}","received_events_url":"https://api.github.com/users/gregtatum/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-26T21:11:04Z","updated_at":"2016-11-15T21:57:42Z","closed_at":null,"body":"Dealing with profile data on the main thread does not scale when the data scales. This work should be done in a thread to not block the UI. Ideally the abstraction should work like talking to a server using XHR to get the necessary data.\n\nThere is some existing work here:\nhttps://github.com/mstange/cleopatra/blob/cleopatra-react/src/symbol-store-db.js#L129-L134\nThen the worker script is:\nhttps://github.com/mstange/cleopatra/blob/cleopatra-react/src/symbol-store-db-worker.js\n\nAnd then code that wants to use SymbolStoreDB can either use SymbolStoreDB or SymbolStoreDBThreaded depending on whether it wants the code to be executed on the main thread or in a worker.\n\nThis talk has some useful information on multi-threaded architectures: https://www.youtube.com/watch?v=CciUEEkqHXU\n"},"comment":{"url":"https://api.github.com/repos/mstange/cleopatra/issues/comments/260782924","html_url":"https://github.com/mstange/cleopatra/issues/31#issuecomment-260782924","issue_url":"https://api.github.com/repos/mstange/cleopatra/issues/31","id":260782924,"user":{"login":"gregtatum","id":1588648,"avatar_url":"https://avatars.githubusercontent.com/u/1588648?v=3","gravatar_id":"","url":"https://api.github.com/users/gregtatum","html_url":"https://github.com/gregtatum","followers_url":"https://api.github.com/users/gregtatum/followers","following_url":"https://api.github.com/users/gregtatum/following{/other_user}","gists_url":"https://api.github.com/users/gregtatum/gists{/gist_id}","starred_url":"https://api.github.com/users/gregtatum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregtatum/subscriptions","organizations_url":"https://api.github.com/users/gregtatum/orgs","repos_url":"https://api.github.com/users/gregtatum/repos","events_url":"https://api.github.com/users/gregtatum/events{/privacy}","received_events_url":"https://api.github.com/users/gregtatum/received_events","type":"User","site_admin":false},"created_at":"2016-11-15T21:57:42Z","updated_at":"2016-11-15T21:57:42Z","body":"I'm going to explore some idea with the [summarize profile branch](https://github.com/gregtatum/cleopatra/tree/categories), as it's more self-contained than the existing work."}}
{"actor":{"display_login":"gregtatum"}}