{"action":"created","issue":{"url":"https://api.github.com/repos/phylogeny-explorer/explorer/issues/32","repository_url":"https://api.github.com/repos/phylogeny-explorer/explorer","labels_url":"https://api.github.com/repos/phylogeny-explorer/explorer/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/phylogeny-explorer/explorer/issues/32/comments","events_url":"https://api.github.com/repos/phylogeny-explorer/explorer/issues/32/events","html_url":"https://github.com/phylogeny-explorer/explorer/issues/32","id":381762023,"node_id":"MDU6SXNzdWUzODE3NjIwMjM=","number":32,"title":"Fix Tree Traversal Performance","user":{"login":"i2xzy","id":11375079,"node_id":"MDQ6VXNlcjExMzc1MDc5","avatar_url":"https://avatars0.githubusercontent.com/u/11375079?v=4","gravatar_id":"","url":"https://api.github.com/users/i2xzy","html_url":"https://github.com/i2xzy","followers_url":"https://api.github.com/users/i2xzy/followers","following_url":"https://api.github.com/users/i2xzy/following{/other_user}","gists_url":"https://api.github.com/users/i2xzy/gists{/gist_id}","starred_url":"https://api.github.com/users/i2xzy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/i2xzy/subscriptions","organizations_url":"https://api.github.com/users/i2xzy/orgs","repos_url":"https://api.github.com/users/i2xzy/repos","events_url":"https://api.github.com/users/i2xzy/events{/privacy}","received_events_url":"https://api.github.com/users/i2xzy/received_events","type":"User","site_admin":false},"labels":[{"id":1129153212,"node_id":"MDU6TGFiZWwxMTI5MTUzMjEy","url":"https://api.github.com/repos/phylogeny-explorer/explorer/labels/backlog","name":"backlog","color":"8ce881","default":false},{"id":1128002860,"node_id":"MDU6TGFiZWwxMTI4MDAyODYw","url":"https://api.github.com/repos/phylogeny-explorer/explorer/labels/bug","name":"bug","color":"d73a4a","default":true},{"id":1129292663,"node_id":"MDU6TGFiZWwxMTI5MjkyNjYz","url":"https://api.github.com/repos/phylogeny-explorer/explorer/labels/database","name":"database","color":"2d56af","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-16T21:12:45Z","updated_at":"2018-11-26T11:48:49Z","closed_at":null,"author_association":"COLLABORATOR","body":"**[Casey Trimm](https://github.com/c-trimm)** 3 months ago\r\nIn public-api:src/modules/tree/tree.js:traverse(), if the nodeIds array length exceeds 1000, a warning is emitted. This appears to be because a high nodeID count causes the app to slow down and sometimes even crash (which takes the whole server down). This is a major bug that needs to be fixed soon. The tree traversal is done in a somewhat naive way, so we may want to look at completely refactoring that class.\r\n"},"comment":{"url":"https://api.github.com/repos/phylogeny-explorer/explorer/issues/comments/441612328","html_url":"https://github.com/phylogeny-explorer/explorer/issues/32#issuecomment-441612328","issue_url":"https://api.github.com/repos/phylogeny-explorer/explorer/issues/32","id":441612328,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MTYxMjMyOA==","user":{"login":"dc5ala","id":381923,"node_id":"MDQ6VXNlcjM4MTkyMw==","avatar_url":"https://avatars2.githubusercontent.com/u/381923?v=4","gravatar_id":"","url":"https://api.github.com/users/dc5ala","html_url":"https://github.com/dc5ala","followers_url":"https://api.github.com/users/dc5ala/followers","following_url":"https://api.github.com/users/dc5ala/following{/other_user}","gists_url":"https://api.github.com/users/dc5ala/gists{/gist_id}","starred_url":"https://api.github.com/users/dc5ala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dc5ala/subscriptions","organizations_url":"https://api.github.com/users/dc5ala/orgs","repos_url":"https://api.github.com/users/dc5ala/repos","events_url":"https://api.github.com/users/dc5ala/events{/privacy}","received_events_url":"https://api.github.com/users/dc5ala/received_events","type":"User","site_admin":false},"created_at":"2018-11-26T11:48:49Z","updated_at":"2018-11-26T11:48:49Z","author_association":"NONE","body":"Nested Sets may be another option. Insert/update costs a bit but reading is constant. I used it in a project and often have to read the whole tree at once."}}
{"actor":{"display_login":"dc5ala"}}