iriscouch / follow

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

Question: how many feed instance can be create? #92

Open stecapra opened 6 years ago

stecapra commented 6 years ago

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