Design document

Hi all, I have a doubt. I happily use the views within a single design document. I work by using more views within a single design document. When is it recommended to use multiple design documents? Tnx

Generally speaking, multiple design documents will execute in parallel, where a single design document will have all of the views execute mostly in serial. I’d say unless you need updates to be done closer to when the data arrives, stick with the single design doc approach.

Hi, thanks for the answer. Can you explain to me with a practical example what do you mean for parallel or serial operations? If I run a get on a view that contains millions of documents and just after doing the same thing on another view, do these two operations run in series? If I use two design documents would be parallel? Is there a queue that handles operations on a document design? Thank you!