Collection with Tracker behavior (manual, partial sync) for P2P application


#1

Hey guys,

I just found out about Meteor and it looks like an awesome project with a cool community. :smile:

I want to use it to build a Peer2Peer app. I need to integrate a Tracker somehow, that has a list of all online participants. Participants can request the server to receive the ids of some fellow peers. I will use something like a conditional timeout.

The server should send on every request the next consecutive block of 10 collection entries.
For this task, the autosyncing doesn’t fit at all. Is this however possible? How would you do that?

I’m thankful for every pointer you can offer!


#2

The most easiest is probably to not use publish/subscribe, but Meteor.call instead.