Lag
fifi98 opened this issue ยท 8 comments
Hello, I am using AntiShare v5.5.2 and Spigot build #1219. AntiShare is causing some lag on my server.
Timings: http://aikar.co/timings.php?url=6623005
TPS drop is bigger when there are > 120 players on server... As I see, the ChunkUnloadEvent and the PlayerInteractEvent are causing problems... Is there anything you can do? And is there an option to change the storage type to MySQL? If not, are you planning to make it?
Many thanks! :)
I can certainly look into this. I'll be working on AntiShare (now that I have some free time) throughout the week.
As for MySQL, I removed it in a previous version due to it causing more problems in terms of server operation.
Currently AntiShare has a file store that is incredibly fast and small. I can however look into the possibility of MySQL in the future.
Okay, I will be very thankful to you if you could check the lag issue :) And one more question. Can you please add that feature:
- player A puts a block at some place, and then the player B tries to break that block, he WILL BE able to break it but he WON'T get any drop?
Thanks! :)
New timings: http://aikar.co/timings.php?url=6640662
AntiShare is on the top :S
There is not much I can do about the high timings right now without working on a fourth restructure of AntiShare.
I'll work on it, but as it stands right now there is not much I can do to improve it.
I'm closing this as "Requires further investigation" as I need to do a lot of profiling and a lot of code cleanup.