parse-server icon indicating copy to clipboard operation
parse-server copied to clipboard

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

Open noder199 opened this issue 10 years ago • 6 comments

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.

noder199 avatar Mar 03 '16 03:03 noder199

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

flovilmart avatar Mar 03 '16 03:03 flovilmart

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.

noder199 avatar Mar 03 '16 03:03 noder199

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

lacker avatar Mar 03 '16 03:03 lacker

@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.

flovilmart avatar Mar 03 '16 15:03 flovilmart

@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 avatar Mar 08 '16 23:03 noder199

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.

noder199 avatar Mar 12 '16 04:03 noder199