Dans-Plugins / Medieval-Factions

Allows players to organize themselves into feudal, diplomatic, lawful groups akin to nations.
https://www.spigotmc.org/resources/medieval-factions.79941/
GNU General Public License v3.0
49 stars 33 forks source link

Dynmap Rendering Optimization #1766

Open dmccoystephenson opened 10 months ago

dmccoystephenson commented 10 months ago

Is your feature request related to a problem? Please describe.

Server owners are reporting serious lag being caused by Medieval Factions in connection with the dynmap integration. The algorithms for rendering should be looked at and optimized.

Describe the solution you'd like

Dynmap rendering should attempt to render less at a time using a batch system.

Describe alternatives you've considered

Additional context

The lag only occurs on large factions when they render.

dmccoystephenson commented 10 months ago

Some ideas for optimization:

By default, we could set up minimal processing in the MfDynmapService and still offer the same features for servers that opt into them.

Batch processing would result in consistent processing requirements, but risks putting the plugin behind and showing outdated information.

Specifix5 commented 9 months ago

bump, my server is suffering, please help