Original Article: Discover Meteor DDP in Realtime
Today I will show you a tool that helps me immensely to understand Meteor internals and DDP.
DDP is the protocol Meteor uses to communicate between client and the sever. It's a very simple and tiny protocol. But it's somewhat tough to look at DDP messages being generated while you're using your app.
Meet DDP Analyzer
Meteor DDP analyzer comes with a DDP proxy which proxies your app's DDP requests and dump them into the console.
With DDP analyzer, you can see DDP messages that are being generated, when you are using your app.
how to use the DDP analyzer
- install it from npm -
sudo npm install -g ddp-analyzer
- start the proxy -
- Then start your meteor app as shown below
apply these commands in the console.
DDP Analyzer is OpenSouced(as usual) and hosted on Github.
See More: Discover Meteor DDP in Realtime