iriscouch / follow

Very stable, very reliable, NodeJS CouchDB _changes follower

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Auto-scalling multiple instances

gabrielmancini opened this issue · comments

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

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.

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