turt2live / AntiShare

Creative Awkwardness (Multi-platform plugin)
GNU General Public License v3.0
5 stars 4 forks source link

Lag #131

Closed fifi98 closed 10 years ago

fifi98 commented 10 years ago

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

turt2live commented 10 years ago

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

turt2live commented 10 years ago

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.

fifi98 commented 10 years ago

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:

Thanks! :)

fifi98 commented 10 years ago

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

fifi98 commented 10 years ago

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

turt2live commented 10 years ago

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

fifi98 commented 10 years ago

Okay, sorry.

turt2live commented 10 years ago

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.