kangarko / ChatControl-Pro

The ultimate chat solution. Prevent spam, ads, swears and even bots on your server. Replaced by ChatControl Red: https://mineacademy.org/chatcontrol-red
Other
65 stars 8 forks source link

1.16.4: High amounts of lag #2236

Closed Skizzles closed 3 years ago

Skizzles commented 3 years ago

https://screenshots.skizzles.me/wAnA3/NETewiPE32.png

Minecraft Version: 1.16.4 MySQL: true BungeeCord: true

Per timings ChatControlPro is causing high amounts of lag.

itaquito commented 3 years ago

I can confirm this, here is a screenshot of my timings I have basically the same setup as the author of this issue. image

kangarko commented 3 years ago

ChatControl Pro is performing mysql save operations on the main thread, this has been resolved by rewritting the entire handling in ChatControl Red.

kangarko commented 3 years ago

Not suggesting you must purchase to get this fixed, just saying that we've rebuilt the paradigm from the ground up to make async db calls. In Pro it works on the main thread so it will necessarily cause drains if mysql is on or you have a large data.db file.

Skizzles commented 3 years ago

No offense @kangarko but I highly dislike having to re-purchase for the updates. This is pretty bad for lag.... I can't warrant repurchasing a plugin and have to fix all the issues with migrating.

itaquito commented 3 years ago

After doing a heapdump. I can see that MySQL is consuming an insane amount of RAM. image

Almost 100MB!

kangarko commented 3 years ago

I understand, I will give you a free license so you can see if Red has improved performance over your setup. Apply through mineacademy.org/chatcontrol-red and I'll approve both of you. Just put your old transaction ID for ChatControl Pro there.