incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benoit Chesneau <bchesn...@gmail.com>
Subject Re: can i listen to changes of whole server, not per-db?
Date Sun, 07 Oct 2012 10:18:29 GMT
On Sun, Oct 7, 2012 at 10:25 AM, svilen <az@svilendobrev.com> wrote:
>> On 7 October 2012 07:59, svilen <az@svilendobrev.com> wrote:
>> > g'day
>> >
>> > i'm going to have thousands of databases. They are all of similar
>> > kind, but belong to different (groups of) users, so can't be
>> > bundled into one. And setupping 10000 connections to
>> > couchdb/dbXXXXX/_changes doesn't seem very neat, even if on same
>> > machine.
>
> or maybe i can traverse all of them (i think i can figure out the
> db names), paying them some limited attention each - e.g. use short-poll
> with limit 10 changes.. poor-man's time-share scheduler ;-)
>
> svil

Well it will be costly, depending on the number of databases you have.
If you need it fast you can use rcouch waiting that I port the code to
couch. Can be done next week.

- benoƮt

Mime
View raw message