Is there a way to run multiple Parse server instance in one Node.js (one machine) environment? If yes, what would be the configuration.
I am specifically targeting for Jelastic, but I think general solution would be applicable anyway.
Is there a way to run multiple Parse server instance in one Node.js (one machine) environment? If yes, what would be the configuration.
I am specifically targeting for Jelastic, but I think general solution would be applicable anyway.
You can use the cluster module for running multiple instances of the same server application. Please note that there is no routing logic in Node.js, or in your program, and no shared state between the workers. Therefore, it is important to design your program such that it does not rely too heavily on in-memory data objects for things like sessions and login.
I'm using this way and its working perfectly
Hope this helps!! Let me know