On Fri, Oct 2, 2015 at 12:07 PM, Robin C <
robyd...@gmail.com> wrote:
> Hello,
>
> I am a bit confused about the load balancing. In the TURN performance and
> Load Balance wiki, the first two load balancing options are:
>
> Set a networking load-balancing equipment that redirects the requests to a
> member of the TURN servers group. In general case, it must take care about
> redirecting the requests to the same server from the same client IP -
> because some TURN sessions from the same client must share the information.
> There are two cases when different TURN sessions must interact: RTP/RTCP
> connection pairs (from RFC 5766) and TCP relay (from RFC 6062). If you are
> not using those features then a simple network load balancing is enough. If
> you do use those features, then you have to map the whole client IP (with
> all its network ports) o the same TURN server. Also, if you are using the
> mobile TURN (from the new MICE draft) then you cannot use the network load
> balancer option because client sessions from different IP addresses must
> interact - so you have to use the next option (see below).
> Set a less complex scheme with round-robin DNS. The client must send all its
> requests to the same DNS-discovered TURN server. That scheme supports all
> use cases.
>
> I am trying to understand the difference between the two. I would like to
> clarify two things:
>
> 1) For option 2, does this mean that requests from a given client IP must
> hit the same TURN server every time?
Yes, for the whole duration of session the TURN client packets must go
to the same server destination.
> If that's the case then aside from the
> round-robin scheme, how is this different from the first option:
This is different because the same goal is achieving thru different means.
>
> 2) Or, for option 2, does the client send requests to the same TURN server
> only for the duration of the session/allocation? If that's the case, how is
> it that this will work if you're using RTP/RTCP connection pairs (from RFC
> 5766) and/or TCP relay (from RFC 6062) that require sessions from the same
> client to share information?
>
>
> Please bear with me if these questions seem obvious or dumb. I am still very
> new to these things.
>
> Thanks!
>
> --
> You received this message because you are subscribed to the Google Groups
> "TURN Server (Open-Source project)" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
>
turn-server-project-rfc57...@googlegroups.com.
> To post to this group, send email to
>
turn-server-project...@googlegroups.com.
> Visit this group at
>
http://groups.google.com/group/turn-server-project-rfc5766-turn-server.
> For more options, visit
https://groups.google.com/d/optout.