Skip to content
This repository has been archived by the owner on Nov 5, 2019. It is now read-only.

Fix Lag EngineMassiveCoreCollTick.java #327

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

FoxMining
Copy link

Fixes persistent lag issue that'll cause up to 80% TPS loss.
Save interval is now every 500 ticks instead of every 1 tick. This'll save server performance in the long run and prevent lag issues with larger Factions servers.

https://gyazo.com/de62ac3758bd3e4409695e2b162f620f Timings report with interval set to 1
https://gyazo.com/5e4cc3128c20fa350a09eec0bf953d6a Timings report with new interval

Huge performance increase.

Fixes persistent lag issue that'll cause up to 80% TPS loss.
Save interval is now every 500 ticks instead of every 1 tick. This'll save server performance in the long run and prevent lag issues with larger Factions servers.

https://gyazo.com/de62ac3758bd3e4409695e2b162f620f Timings report with interval set to 1
https://gyazo.com/5e4cc3128c20fa350a09eec0bf953d6a Timings report with new interval

Huge performance increase.
@FoxMining
Copy link
Author

500 ticks was just the sweet spot I found after fidgeting, as it's not too quick but not too slow so MassiveCore plugins won't experience much data loss if it crashes within those 500 ticks. You may experiment with the value, however 500 works perfectly.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants