I have a lot of small docs in collection. I need to fetch it on the client.
If I’m using pub/sub each doc transfered via separate socket message.
Is there any way to pack DDP Sub in one socket message, not many?
I can do it with meteor call, but is there any mechanism in Pub/Sub for that?
That’s not the same thing - that’s about delaying reactivity while data is coming in. I’m pretty sure @dospolov is talking about “packing” a number of DDP frames into a larger DDP frame to improve transaction throughput.