GithubHelp home page GithubHelp logo

Comments (5)

ElBananaa avatar ElBananaa commented on August 17, 2024

It will load all worlds into memory when the server is loaded, and save all loaded worlds when saving regularly. In this way, it will occupy a lot of system resources and cause the server to crash

I think we can try to load the world when the empty Island members are online and unload the world when they are offline. In this way, the server performance will be greatly optimized

I'm pretty sure loading/unloading worlds on demand like that would be heavier than actually keeping the worlds loaded all the time. I can't imagine the huge lag spike this would cause if a few players from different islands join the server with only a few seconds delay ^^

from ssb2-advancedslimeworldmanager.

mocha666 avatar mocha666 commented on August 17, 2024

It will load all worlds into memory when the server is loaded, and save all loaded worlds when saving regularly. In this way, it will occupy a lot of system resources and cause the server to crash
I think we can try to load the world when the empty Island members are online and unload the world when they are offline. In this way, the server performance will be greatly optimized

I'm pretty sure loading/unloading worlds on demand like that would be heavier than actually keeping the worlds loaded all the time. I can't imagine the huge lag spike this would cause if a few players from different islands join the server with only a few seconds delay ^^

Well, it may be the performance problem of my server, because after a period of time, as the number of new empty islands of the server increases, the server will save all SWM worlds when saving the world, and my server will often crash at this time, resulting in the destruction of the server archive. It may be that I am using 1.12 2 server version because my location is in China. The highest MC version of minecraft China, which is represented by Netease, is 1.12 So there may be some incompatibilities haha

from ssb2-advancedslimeworldmanager.

mdaffa48 avatar mdaffa48 commented on August 17, 2024

It will load all worlds into memory when the server is loaded, and save all loaded worlds when saving regularly. In this way, it will occupy a lot of system resources and cause the server to crash

I think we can try to load the world when the empty Island members are online and unload the world when they are offline. In this way, the server performance will be greatly optimized

When does the creation of empty island occurs? My guess is after you disband the island.

from ssb2-advancedslimeworldmanager.

mocha666 avatar mocha666 commented on August 17, 2024

When does the creation of empty island occurs? My guess is after you disband the island.

yes ,I don't know why this happens

from ssb2-advancedslimeworldmanager.

mdaffa48 avatar mdaffa48 commented on August 17, 2024

When does the creation of empty island occurs? My guess is after you disband the island.

yes ,I don't know why this happens

The empty island created somehow because of a method is being called upon disbanding island and that methods triggers creating an empty worlds. The solution that I get from Ome_R is to delay deleting the island after disbanding by several ticks. I'll try to fix this problem.

from ssb2-advancedslimeworldmanager.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.