Flash Media Interactive Server questions
Dear Collegues,
We're planning to start a public live videochat service.
We made a p2p flash swf, let's call it live videochat client.
It uses finds webcamera and microphone and connects to FMIS4 (fiew edges "in front" of same origin, all are placed on different datacenters:
Germany, USA, Netherlands, Russia, etc...
Now we achived the following:
ANY livevideochat client (I mean browser with webcam), let's call it client1, can connect to ANY edge, let's call it edge1.
ANY livevideochat client2 can connect to ANY edge2
Both edge1 and edge2 are using the same origin server with application for p2p live videochat and client1 and client2 are happy.
Now we need to optimize this "almost"-cluster.
We need to push clientA to connect to edgeX, not to edge2 or edge3 or edgeN but this edgeX MUST to be placed not even in the same country with client1. It must to be on the best connection stability and qwality with clientA.
1. How can we measure the speed in a short time comfortably for chat users?
I mean bandwith and ping rtt:
- from client to edge;
- from edge to origin;
- from client to origin;
- from client to client;
2. How can we balance a load between all edges?
When all clients in a world will connect to the one edge because of it's good datacenter place, such edge will go down.
3. Is there any tools INSIDE Adobe Flash Media Interactive Server 4 to distribute a load intelligently among all edge-servers WITHOUT external third party loadbalancing tools? I mean haproxy and any hardware devices...
BTW, we don't need a static frontend load balancer. We need connect our live videochat client to the best and optimal edge server.
4. When the "best" edge will take aboard alot of clients, how can we forward new clients to other edge servers?
5.
Thanks alot for help.
