SergeyDertan / SRegionProtector

Flexible region protection plugin for nukkit
GNU General Public License v3.0
16 stars 8 forks source link

Question: What is best multithreaded-loading-threads configuration? #54

Closed GoodLucky777 closed 4 years ago

GoodLucky777 commented 4 years ago

In my server there is above 500 regions. How many thread is needed? Is there like example and manual things for this?

SergeyDertan commented 4 years ago

Try using 1 thread and check how fast plugin loading

GoodLucky777 commented 4 years ago

Is this cause lot if CPU usage?

SergeyDertan commented 4 years ago

only when loading regions if you have lot of them I think 1-2 threads is enough for 500 regions

GoodLucky777 commented 4 years ago

How about async-commands-threads? 2 is enough?

SergeyDertan commented 4 years ago

Yes, actually u can disable this async functions if you have not lot regions

GoodLucky777 commented 4 years ago

What is best data provider for this plugin? YAML or MySQL?

SergeyDertan commented 4 years ago

no matter, if u want to interact with regions outside the plugin u can choose most suitable provider

SergeyDertan commented 4 years ago

I think the question is answered