Is there any way to pack DDP Sub in one socket message, not many?


#1

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?


#2

Yes possible with Meteor 1.3.3.


#3

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.


#4

@robfallows, yeap, you’ve got the point