Multiple wokers in a server #251
-
exm, can we create multiple workers in a server? and how can make it? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Of course, you can, that was one of the benefits of such master/slave architecture where a number of workers controlled through a coordinator app could fully utilize available server resources / run multiple games on one server.
With the current docker-compose run it can be similar in here:
And true Docker containerization approach is not tested yet, with the coordinator container and several worker containers. But, I think, it should work with some hacking. |
Beta Was this translation helpful? Give feedback.
Of course, you can, that was one of the benefits of such master/slave architecture where a number of workers controlled through a coordinator app could fully utilize available server resources / run multiple games on one server.
Essentially, just run an instance of the coordinator app, multiple instances of workers, and point them to the coordinator app.
As a dumb example for the native run (better use a proper Bash script):
With the current docker-compose run it can be similar in here: