We have a collection containing large documents with arrays containing a lot of subdocuments.
Every Model
document contains an array with several thousand examples
.
I thought this design would make more sense than a relational one as examples are always requested in the context of a model.
In Meteor, these examples are displayed in an editable table, and examples are frequently added/modified/deleted.
And here is the problem. Because the client subscribes to model
changes, every example
change triggers a server->client update with the whole model (several megs of data).
Is there a way to only subscribe to granular changes withing a document?