03-11-2022, 12:18 AM
(This post was last modified: 03-11-2022, 12:23 AM by martianant.)
I feel like new style cities have room to be optimized for processing power. With the introduction of per building based inventory, now processes have to check every building's inventory across the entire system which can be many hundreds. Before with a city wide inventory that was less and at most the same number of planets in the system * 3. Additionally, each process could be drastically simplified.
For example, cities generally reach a sort of equilibrium after some amount of time provided a player isn't actively fiddling with it. Once that equilibrium is reached processes could be simplified. Treat processes as a +X resource per Y time (city cycle?). So instead of calculating 500 smelting processes each, just try to add 5000 metal to the inventory. If nothing changed between last city cycle and now, no need to check everything again. I feel like most cities will be in this equilibrium state so I can only imagine how drastically this would help with server load.
Also, 270k systems? There is no way they all need to be loaded and calculated right? There are 414 avatars and 110 officers. If we assume all are in separate systems, that's only 524 systems with something in them. Why are the rest loaded and taking up processing time? We must be misunderstanding what you meant by "managing" 270k systems...
For example, cities generally reach a sort of equilibrium after some amount of time provided a player isn't actively fiddling with it. Once that equilibrium is reached processes could be simplified. Treat processes as a +X resource per Y time (city cycle?). So instead of calculating 500 smelting processes each, just try to add 5000 metal to the inventory. If nothing changed between last city cycle and now, no need to check everything again. I feel like most cities will be in this equilibrium state so I can only imagine how drastically this would help with server load.
Also, 270k systems? There is no way they all need to be loaded and calculated right? There are 414 avatars and 110 officers. If we assume all are in separate systems, that's only 524 systems with something in them. Why are the rest loaded and taking up processing time? We must be misunderstanding what you meant by "managing" 270k systems...