Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider using pm2 instead of systemd #404

Open
mattpen opened this issue May 9, 2023 · 0 comments
Open

Consider using pm2 instead of systemd #404

mattpen opened this issue May 9, 2023 · 0 comments

Comments

@mattpen
Copy link
Contributor

mattpen commented May 9, 2023

The pm2 process manager is now in use on phet-server2 (and phet-server-dev) by phet-admin. I don't know if it will be helpful for rosetta, but I wanted to make sure the rosetta devs were aware.

I started using pm2 for the new user services to take advantage of the cluster mode, it is now running as a stateless process on N processors instead of a single threaded process, and it was really easy to set that up. I’m not sure if rosetta will ever have enough demand to make that desirable, but there is a good discussion of the differences between the prominent node based process managers and systemd here: https://expressjs.com/en/advanced/pm.html. Definitely not something to be done in a hurry, just something to consider for rosetta 2.1 or 3.0 perhaps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant