ramanujan
ramanujan copied to clipboard
Run multiple instances of the same service: "container already running"
You can also run multiple instances of the same service. This lets you scale to handle load. The underlying seneca-mesh network will automatically round-robin messages between all available services for a given message. Just start the service again:
fuge> start search
And is you now run the ps command in fuge, you'll see the count is 2 instances.
This isn't working for me, it errors as follows:
fuge> start search starting: search [node search-service.js] container already running: search
ps shows only one search service running accordingly. Am I missing a flag or a similar issue?