Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynmap Rendering Optimization #1766

Open
dmccoystephenson opened this issue Dec 28, 2023 · 2 comments
Open

Dynmap Rendering Optimization #1766

dmccoystephenson opened this issue Dec 28, 2023 · 2 comments
Assignees
Labels

Comments

@dmccoystephenson
Copy link
Member

dmccoystephenson commented Dec 28, 2023

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
Copy link
Member Author

dmccoystephenson commented Dec 31, 2023

Some ideas for optimization:

  • Add config option to calculate realm territories (false by default)
  • Add config option to display only minimal information (like a faction's name) on the dynmap (false by default)
  • Move towards batch processing; set a limit on how much can be processed at a time and queue tasks for later

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
Copy link

bump,
my server is suffering,
please help

@dmccoystephenson dmccoystephenson modified the milestones: 5.3.0, 5.3.1 Jan 19, 2024
@dmccoystephenson dmccoystephenson modified the milestones: 5.3.1, 5.3.2 Feb 25, 2024
@dmccoystephenson dmccoystephenson removed this from the 5.3.2 milestone Jun 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants