Skip to main content
Participant
September 15, 2010
Question

FMES4 benchmark / RTMFP fallback to other Server instance

  • September 15, 2010
  • 1 reply
  • 1139 views

Hi,

We're on the way to buy a 1 CPU license for FMES4  and I'm looking if anyone can provide real world benchmarks. We will use a Intel X5680 CPU with dual Port 10Ge NIC and we're wondering how much concurrent p2p RTMFP Session the server will be able to handle.

If a p2p RTMFP Session can not be created we want fallback to another server instance with the cheaper FMIS4 on it, is this the right way to handle this?

Thanks,

yoo007

    This topic has been closed for replies.

    1 reply

    Participating Frequently
    September 17, 2010

    RTMFP peer-to-peer connections don't put any load on the server once they're established. The server and the two peers have to do a little bit of work in the introduction process, but once that's done the FMS is out of the picture. The only ongoing overhead at the server for these clients is very light-weight periodic keep-alive pings. The keep-alive frequency is defined in the FMS Adaptor.xml config file; defaults should be fine and are in the neighborhood of a ping once every 15 to 20 seconds (depending on whether the client appears to be behind a NAT or not).

    Also, because RTMFP is UDP based rather than TCP based, the FMS can accept large numbers of connections without requiring a socket handle per connection in the OS kernel. Without going into the weeds, this means that you can have thousands to tens of thousands of RTMFP client connections to a single FMS server on commodity hardware without issues.

    For clients who can't establish a UDP-based RTMFP connection to the FMS (or are behind problematic NAT/firewall that interferes with introductions to prospective peers), you'll want to provide an application-level fall-back that uses the RTMP protocol and a common FMS that acts as a relay point between cooperating clients. So, I'd say yes, that's the right way to handle it.

    Best,
    Seth

    yoo007Author
    Participant
    September 18, 2010

    Thank you for your answer, the only which i have figured out who can be a problem is the handshake on init of a new p2p connection where FMES do encryption work as this takes much resources server side, we get in the meantime FMES and we will start next week with our own benchmarks to find out where the limit is.