Score:0

What process manager is suitable for multiple instances of the same service?

in flag

I am working on an app which can start and stop a service (lnd) with different options for different users:

  • Service Instance 1 for Alice using config 1
  • Service Instance 2 for Bob using config 2
  • Service Instance 3 for Carol using config 3
  • ...
  • Service Instance n for Neil using config n

So, as a quick solution to see if it works at all I just start the service in separate terminal windows. It works.

Now, to prepare it for production, I am thinking of a process manager which could spawn, start/stop, monitor etc with the lnd.

In the past I used to succesfully run PM2 for this purpose but as it's more from my NodeJS experience, I wonder if there are other process managers which could be more general, not NodeJS-oriented or just may be better at something than PM2.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.