iriscouch / follow

Very stable, very reliable, NodeJS CouchDB _changes follower
Apache License 2.0
393 stars 82 forks source link

Auto-scalling multiple instances #72

Open gabrielmancini opened 9 years ago

gabrielmancini commented 9 years ago

Hi follows,

There is a way to scalling a node app with follow? If i had 2 instances follow the same CouchDB database whats will happen? Its just a newbie doubt, i dont find anything talking about that.

Cheers fellows

notslang commented 7 years ago

The two instances would get the same changes, if they're starting from the same sequence number. If you're looking to scale CouchDB itself, you can look into clustering in 2.0 or Lounge for older versions.

gabrielmancini commented 7 years ago

but if i need an app and then i scale the app in 2 how can i handle the same changes in follow. i want split the load