TechnicallyCoded / Inventory-Rollback-Plus

Spigot/Bukkit plugin that allows server moderators to restore player items and data from backups.
https://www.spigotmc.org/resources/85811/
Other
78 stars 44 forks source link

Support: [Server is Lagging bcz From Inventory Roll Back Plus] #37

Closed Shivam9864op closed 3 years ago

Shivam9864op commented 3 years ago

Ask your question here InventoryRollbackPlus::Event: m.d.i.l.EventLogs (PlayerChangedWorldEvent)count(4) total(0.02% 0.325s, 0.04% of tick)avg(81.34ms per - 0.02ms/0.00 per tick

taking too many ticks.. i did t found anything to disable the world event inventory please help me

TechnicallyCoded commented 3 years ago

EDIT: It seems as though you consider 0.04% of the tick as laggy... which that really isn't. Then your avg says 80ms which would be laggy, so I don't understand the data you are providing, it seems incomplete.

To disable saving of a certain type, please deny the saving of that type using permissions (listed on the plugin page)


However, I recently received a report from someone else with concrete data to work with citing exactly where some lag issues could be coming from.

These issues should be published to the spigot website soon as they are ready as they have already been corrected in the dev branch. I am traveling at the moment, therefore my work is pretty intermittent.

I am going to guess that you are currently using the plugin using a MySQL database. The issue with the current release is that past backups are not cleared asynchronously therefore creating lag spikes when a save happens if you have a slower than ~5ms response time between the database and the database location.

Shivam9864op commented 3 years ago

sorry for the late reply.. yes I was using MySQL...

Shivam9864op commented 3 years ago

how can i download dev version??

TechnicallyCoded commented 3 years ago

The dev branch can be built using maven on your local pc.

This does remind me that I should now place my changes on a test server before publishing the changes in a few days ^^ (ty) If you want to participate in testing the beta, I believe it is safe to do so but for liability reasons I ask that you back everything up before testing beta software in the case that something in not. (Aka I am not responsible for data loss =P)

TechnicallyCoded commented 3 years ago

An update was released with performance improvements ^^. Please test it and inform me if this aided your situation.

Issue will be closed in about a week if there is no further reply.