Skip to content

Any plans to implement Node.js Cluster into parse-server? #787

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

Closed
noder199 opened this issue Mar 3, 2016 · 6 comments
Closed

Any plans to implement Node.js Cluster into parse-server? #787

noder199 opened this issue Mar 3, 2016 · 6 comments

Comments

@noder199
Copy link

noder199 commented Mar 3, 2016

Hello, are there any plans to implement this into parse-server? I am new and learning node so this is new stuff to me. An example here.

@flovilmart
Copy link
Contributor

You should not need that for development purposes, and otherwise, I'd recommend using a process manager like pm2 or strong-pm

@noder199
Copy link
Author

noder199 commented Mar 3, 2016

Is this particular feature what you are referring to? Does pm2 grant the sort of scalability that a node cluster provides? Why isn't pm2 already a dependency in the project?

Also, Thanks for your contributions to the repository.

@lacker
Copy link
Contributor

lacker commented Mar 3, 2016

If you're new to node then don't muck around with clusters yet. Just use something like Heroku in production.

@flovilmart
Copy link
Contributor

@noder199 yes this is the feature I'm talking about, but like @lacker says, you should not mess around with that if you're new to node, or system administration or process management. Most of the cloud providers (AWS, heroku, google) provide a safe and proper way to run a node.js server.

@noder199
Copy link
Author

noder199 commented Mar 8, 2016

@flovilmart Alrighty, just to be clear, pm2 is something I use when NOT using a cloud provider? Cloud providers do something equivalent? Just trying to better understand this, because I see terms like pm2 thrown around from time to time in this forum.

@noder199
Copy link
Author

Alright so just to answer myself in case others are wondering, pm2 is not needed on services like Heroku or AWS because these platforms handle scaling instances of your server on their own. If you use digital ocean or your own linux machine for your server, then pm2 can basically provide similar functionality to what Heroku/AWS/etc. provide for scaling, so it really isn't something to be concerned about if you host on a Platform-As-A-Service.

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

3 participants