couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Aljord" <>
Subject Re: when to use another document and when not to?
Date Sun, 20 Jul 2008 19:27:30 GMT
On Sun, Jul 20, 2008 at 9:10 AM, Sho Fukamachi <> wrote:
> The outcome of the previous discussion on this thread seemed to be in favour
> of the use of a "followers" table which I thought was a pretty bad idea in
> CouchDB. I'd love to hear some defences of that, maybe someone can tell me
> what I'm missing...
> Sho

As Damien said, if the user follow many people, its document could get
huge and updating it would be expensive cause in couchdb you cannot
query or update one "row" only, you need to get and put the whole doc.
So if a user following tons of people updates often that wouldn't
scale very well.

View raw message