Skip to main content
Known Participant
Jan 8, 2011 8:48 PM UTC
Question

Difference between NetGroups and managing multiple DIRECT_CONNECTIONS?

Aside from the API differences (including the QoS info you can get when using a NetGroup), what are the main differences between using a NetGoup and manually managing a group of peers using NetStream.DIRECT_CONNECTIONS?  Are there performance differences?  Are there certain situations where I'd want to choose one method over the other?

    This topic is closed to new replies. Start a new post to keep the conversation going.

    1 reply

    Participating Frequently
    Jan 10, 2011 7:50 AM UTC

    I am not sure what FMS version you are using but DIRECT_CONNECTIONS was introduced jsut as a prototype and cant support I suppose more than 5-10 clients. So, in case you want to create a scalable solution then you should use netgroup instead of Direct_connections. Also, in case of Direct_connections you need to create peer-to-peer connection from each client to every other client, otherwise features such as Auto-discovery won't work for you while that's not the case for Netgroup. So, obviously there are performances cost involved. In case you want to build a featureful and scalable application, not just a prototype you should be using NetGroups.

    Hope this will help you.

    Translate