{"action":"opened","issue":{"url":"https://api.github.com/repos/gustav9797/PowerfulPerms/issues/10","repository_url":"https://api.github.com/repos/gustav9797/PowerfulPerms","labels_url":"https://api.github.com/repos/gustav9797/PowerfulPerms/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/gustav9797/PowerfulPerms/issues/10/comments","events_url":"https://api.github.com/repos/gustav9797/PowerfulPerms/issues/10/events","html_url":"https://github.com/gustav9797/PowerfulPerms/issues/10","id":267526776,"number":10,"title":"Lag/Locking from a Decently Populated Server","user":{"login":"Fluxty","id":8310991,"avatar_url":"https://avatars1.githubusercontent.com/u/8310991?v=4","gravatar_id":"","url":"https://api.github.com/users/Fluxty","html_url":"https://github.com/Fluxty","followers_url":"https://api.github.com/users/Fluxty/followers","following_url":"https://api.github.com/users/Fluxty/following{/other_user}","gists_url":"https://api.github.com/users/Fluxty/gists{/gist_id}","starred_url":"https://api.github.com/users/Fluxty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fluxty/subscriptions","organizations_url":"https://api.github.com/users/Fluxty/orgs","repos_url":"https://api.github.com/users/Fluxty/repos","events_url":"https://api.github.com/users/Fluxty/events{/privacy}","received_events_url":"https://api.github.com/users/Fluxty/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-23T02:52:05Z","updated_at":"2017-10-23T02:52:05Z","closed_at":null,"author_association":"NONE","body":"Hey, I run MC.Good-Gaming.Com, a Minecraft server with a playerbase of 300-500 concurrent players. Here are the issues we feel using PowerfulPerms:\r\n\r\n- When using Redis to sync everything up, permission changes cause the entire network to disconnect (whilst pulling all over the place to refresh the cache from the db, I assume).\r\n\r\n- Pulling player permissions from the database when they join _appears_ to cause lag in our fairly large database. Maybe query times?\r\n\r\n- Reloading with /ppbungee reload, even with Redis disabled, causes Bungeecord to slow massively and results in time outs for half of our network multiple times.\r\n\r\n**# Suggestions**:\r\nOn big suggestion I would have is to allow group parents to be specified with an optional server parameter, and to not cache those groups on servers where the parameter is not used. \r\n\r\nFor example, we have a SkyBlock server, and for the SkyBlock server we have group named \"SkyBlock\". Every permission in the \"SkyBlock\" group has \"SkyBlock\" as the server parameter. The default group has this SkyBlock group as a parent. So when a player logs into Prison, or into a lobby, it's still pulling the SkyBlock group and checking the server parameter on every permission in there. If  group parents had an optional parent parameter, e.g. /pp group <group> parents add <group> <server>, I feel this would improving permission lookups a lot, since you guys could just skip pulling that as an effective group if the server parameter doesn't match up. Does that make sense?\r\n\r\nThanks for your time, and sorry I did not have too much to give a detailed report. We are running the latest version of BungeeCord, most of our servers are on Spigot 1.8.8. Willing to answer any questions to get this figured out on our network 👍 "}}
{"actor":{"display_login":"Fluxty"}}