Closed aschaeffer closed 7 years ago
+1 Very good summary
Just the splitscreen support should be done on one Client instance (for performance)
Restricting the flex
server to a single instance could be done using https://nodejs.org/api/process.html#process_process_pid .. then adding a command which looks up the pid and adding an appropriate script to the package.json
would be the way to go with npm start && npm stop
, although shutdown via port
is probably more desirable.
Done in flex/master.
Motivation
Making Inexor able to run multiple instances would mean we can start and stop servers and clients at runtime.
Requirements
Architecture
In order to achieve multi instance capabilities, we have to redesign the architecture:
./inexor start client
starts a new instance of the Inexor Core Client)Inexor Tree
User Interface (HUD / Application) for Inexor Core (Client) instances
Inexor Flex Business Logic
Future