Good resources for DDP and caching


#1

Anyone have any pointers to some good, low-level, detailed discussions about DDP; how a message (added/changed/removed/addedBefore/etc.) over DDP gets stored in the client/server cache, and how Meteor observers reuse themselves and the data? Threads, Github source code, blog posts, etc. all appreciated.

Here’s a great article on the specification itself https://github.com/meteor/meteor/blob/devel/packages/ddp/DDP.md, but I’m more interested in the data-structure Meteor stores the received data in; how it tracks changes via observers, and how it notifies the necessary deps to change.

Here’s more info on SessionCollectionView:

Thanks!


#2

I created a package to reduce subscriptions connect to server here, it’s maybe help you!
read more at https://atmospherejs.com/lamhieu/hypersubs