iriscouch / follow

Very stable, very reliable, NodeJS CouchDB _changes follower

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question: how many feed instance can be create?

stecapra opened this issue · comments

Hi,
would affect performance or memory create a Follow.feed() instance with the proper filter on every request of the client or the feed instance should be a "singleton" in the server that get the change, and depending on it use the proper handler?
An example of what i'd like to do would be:

  1. the client connect to a certain url
  2. during connection, create a Follow.feed() that filter the documents change depending on, for example, the id of the user
  3. notify the client when a change happen

Thanks in advance