Skip to main content
Known Participant
January 8, 2011
Question

Difference between NetGroups and managing multiple DIRECT_CONNECTIONS?

  • January 8, 2011
  • 1 reply
  • 587 views

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 has been closed for replies.

    1 reply

    Participating Frequently
    January 10, 2011

    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.