what would be a better architecture
multi threading (for instance monsters spawning)
vs
events being raised on the main thread (for instance when monster get killed it check if it needs to respawn more)
i know that i would need atleast 1 more thread to manage stuff that doesn't have event to respond to also to avoid blocking the main threat at any cost, but im talking about the main architecture where i would have maybe 10 threads vs 2 threads (one would be main, second would be for event handling)
what you folks think is better and why
feel free to mention another better architecture
multi threading (for instance monsters spawning)
vs
events being raised on the main thread (for instance when monster get killed it check if it needs to respawn more)
i know that i would need atleast 1 more thread to manage stuff that doesn't have event to respond to also to avoid blocking the main threat at any cost, but im talking about the main architecture where i would have maybe 10 threads vs 2 threads (one would be main, second would be for event handling)
what you folks think is better and why
feel free to mention another better architecture