AntiShare

76k Downloads

Lag

fifi98 opened this issue ยท 8 comments

commented

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! :)

commented

I can certainly look into this. I'll be working on AntiShare (now that I have some free time) throughout the week.

commented

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.

commented

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! :)

commented

New timings: http://aikar.co/timings.php?url=6640662
AntiShare is on the top :S

commented

Can you check into it please? Its causing massive lag :S
Thank you!

commented

I look into all reports when I have time, no need to bump them.

commented

Okay, sorry.

commented

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.