javascriptparse-platformserverparse-serverscalable

How to deploy a scalable Parse LiveQuery Server?


Recently, we started developing a chat feature for our app and since we are already using Parse SDK/Server, we decided to go with the Parse LiveQuery...

The thing is, there's no sufficient enough documentation on how to deploy a Parse LiveQuery server, on a separate one! We saw this: http://docs.parseplatform.org/parse-server/guide/#scalability but we didn't really figured out on how to proceed...

So we have a couple of questions:

What do we need to do, in order to create a scalable Parse LiveQuery Server? (preferably on Digital Ocean / Heroku)

How can it communicate, with our original Parse Server, where our MongoDB is stored?


Solution

  • In you Parse Server B give the databaseUri of your database A: var api = new ParseServer({ databaseURI: 'mongodb://myMogoURL',