{"action":"created","issue":{"url":"https://api.github.com/repos/rlf/uSkyBlock/issues/604","labels_url":"https://api.github.com/repos/rlf/uSkyBlock/issues/604/labels{/name}","comments_url":"https://api.github.com/repos/rlf/uSkyBlock/issues/604/comments","events_url":"https://api.github.com/repos/rlf/uSkyBlock/issues/604/events","html_url":"https://github.com/rlf/uSkyBlock/issues/604","id":123999642,"number":604,"title":"High cpu usage after doing /is top and /is level","user":{"login":"det483","id":16456022,"avatar_url":"https://avatars.githubusercontent.com/u/16456022?v=3","gravatar_id":"","url":"https://api.github.com/users/det483","html_url":"https://github.com/det483","followers_url":"https://api.github.com/users/det483/followers","following_url":"https://api.github.com/users/det483/following{/other_user}","gists_url":"https://api.github.com/users/det483/gists{/gist_id}","starred_url":"https://api.github.com/users/det483/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/det483/subscriptions","organizations_url":"https://api.github.com/users/det483/orgs","repos_url":"https://api.github.com/users/det483/repos","events_url":"https://api.github.com/users/det483/events{/privacy}","received_events_url":"https://api.github.com/users/det483/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-12-27T22:50:07Z","updated_at":"2016-01-01T13:12:22Z","closed_at":null,"body":"Hello,\r\n\r\nIf a player uses the command /is level the cpu of the dedicated server goes up to a very high level, it can go to 250% cpu power of that skyblock process, without using the /is top command it's normal 20 - 60% cpu power of the skyblock process. \r\nEvery time a player uses that command it looks like everything is calculated again, I changed some things in the configuration but I doesn't seem to work.\r\n\r\nThis is the configuration of the is top and is level part; http://pastebin.com/WX41BD27\r\n\r\nOutput of /usb version; http://prntscr.com/9j81xe\r\n\r\nHow can we fix that the /is top and /is level is loaded and it doesn't calculated over and over again when players perform the commands? This causes a high cpu usage when players use these commands and we want to prevent that.\r\n\r\nKind regards,\r\ndet483"},"comment":{"url":"https://api.github.com/repos/rlf/uSkyBlock/issues/comments/168305965","html_url":"https://github.com/rlf/uSkyBlock/issues/604#issuecomment-168305965","issue_url":"https://api.github.com/repos/rlf/uSkyBlock/issues/604","id":168305965,"user":{"login":"rlf","id":503044,"avatar_url":"https://avatars.githubusercontent.com/u/503044?v=3","gravatar_id":"","url":"https://api.github.com/users/rlf","html_url":"https://github.com/rlf","followers_url":"https://api.github.com/users/rlf/followers","following_url":"https://api.github.com/users/rlf/following{/other_user}","gists_url":"https://api.github.com/users/rlf/gists{/gist_id}","starred_url":"https://api.github.com/users/rlf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rlf/subscriptions","organizations_url":"https://api.github.com/users/rlf/orgs","repos_url":"https://api.github.com/users/rlf/repos","events_url":"https://api.github.com/users/rlf/events{/privacy}","received_events_url":"https://api.github.com/users/rlf/received_events","type":"User","site_admin":false},"created_at":"2016-01-01T13:12:22Z","updated_at":"2016-01-01T13:12:22Z","body":"The timings shows, that it's not the scoreboards, and not the top-10 calculation, but only the fckdup way we currently handle UUID (known issue, see #540 and #231), it's a priority to handle this, unfortunately, it requires a rewrite of more or less the whole data-model used in uSkyBlock - so it hasn't been done yet.\r\n\r\nAlso, the timings shows that the server is not lagging, but only occasional (when players join or leave).\r\nuSkyBlock is not the only one struggling with join/leave - but we can do better. "}}