Reputation: 289
While implementing elasticsearch with mongodb and nodejs, I am using mongoosastic and elmongo module. These are working very well. But I just want to find out what is the advantage of using mongo-river plugin over node modules. And Is it necessary to use replica set when using river?
Thanks in advance
Upvotes: 1
Views: 743
Reputation: 11433
Use mongo-connector
instead.
you can learn more about mongo-connector
in my blog. here is the link
Upvotes: 1
Reputation: 3
River doesn't update in realtime, it reads oplogs from mongodb, and this can delay updates. The oplog has a finite capacity as a capped collection and when its full it works like a circular queue, replacing the oldest entries with new entries.
Upvotes: 0