Sato
Sato

Reputation: 8622

How to do server to server publish/subscribe?

I want to do:

I have a mongodb in server A and a mongodb in server B, I want server B's mongodb can subscribe to server A's publish.

Means, server B's mongodb is a subset of server A's mongodb.

It can be any other database.

Is there any tech(database/framework/libs) can do this?

Original:

What I found is Meteor works with server publish and client subscribe.

But what I need to do is a server to server publish/subscribe, does meteor support this?

Upvotes: 0

Views: 71

Answers (1)

SO is full of Monkeys
SO is full of Monkeys

Reputation: 319

You can use environment variables for meteor. Here is example;

MONGO_URL=mongodb://serverB:8000/db_name

Upvotes: 1

Related Questions