MACROMEDIA FLASH MEDIA SERVER 2-USING FLASH MEDIA SERVER EDGE SERVERS Using Manual

Summary of FLASH MEDIA SERVER 2-USING FLASH MEDIA SERVER EDGE SERVERS

  • Page 1

    Using flash media server edge servers.

  • Page 2

    Trademarks 1 step robopdf, activeedit, activetest, authorware, blue sky software, blue sky, breeze, breezo, captivate, central, coldfusion, contribute, database explorer, director, dreamweaver, fireworks, flash, flashcast, flashhelp, flash lite, flashpaper, flash video encoder, flex, flex builder, f...

  • Page 3

    3 contents using edge and origin servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 introducing edge servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 how edge servers work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

  • Page 4

    4 contents.

  • Page 5

    5 using edge and origin servers this chapter describes the various strategies for deploying flash media server with edge and origin servers. Introducing edge servers until this release of flash media server, clients always connected directly to the computer where the application was running. These a...

  • Page 6

    6 using edge and origin servers deploying edge servers lets administrators distribute the incoming connection requests for flash media server services. Traffic between clients and the origin server uses the existing bandwidth and system resources more efficiently. More traffic occurs locally between...

  • Page 7

    Introducing edge servers 7 such constraints may prompt the flash media server and network administrators to consider a different deployment strategy. The strategy involves configuring flash media server to redistribute the load on system and bandwidth resources by running some virtual hosts as edge ...

  • Page 8

    8 using edge and origin servers users in these zones always access the origin server through their assigned edge servers. These edge servers receive the responses from the origin server, then distribute them back to the clients (the users’ computers) in their respective zones: paris or tokyo. The ed...

  • Page 9

    Introducing edge servers 9 caching data in edge servers an edge server is designed to intercept the requests for flash media server services from users in a particular zone, collect or aggregate these requests, and transmit them to the origin server. The origin server returns the results to the edge...

  • Page 10

    10 using edge and origin servers with the edge servers sitting in the dmz, the network operators can open access to port 1936, avoiding the system overhead and risk of http tunneling. Because the edge server performs stream splitting and stream caching, it uses the connection to the origin server ef...

  • Page 11

    Introducing edge servers 11 administrators can explicitly specify that any connection request to an origin server be automatically routed through an edge or proxy server. For example, if your applications are running on fms.Foo.Com, you can redirect the connection request from the users’ computers t...

  • Page 12

    12 using edge and origin servers for example, if your applications are running on fms-secure.Foo.Com, you can direct the connection requests from clients’ devices or computers to the proxy server (or virtual host) called fms.Foo.Com , which makes the connection to fms-secure.Foo.Com , where your app...

  • Page 13

    Introducing edge servers 13 detecting the presence of proxy servers flash player 8 automatically detects any edge servers in its proximity. When an edge server is available, flash player automatically routes the connection from the client to the origin server through the proxy server. These edge ser...

  • Page 14

    14 using edge and origin servers a second problem surfaces when rtmpt is specified in the uri. You may specify this protocol only for the first prefix. The following are valid uris: rtmpt://foo/?Rtmp://bar/app/inst rtmpt://foo:443/?Rtmp://bar/app/inst the following are invalid uris: rtmpt://foo/?Rtm...

  • Page 15

    Introducing edge servers 15 you can find examples of the configuration files, their tag structures, detailed information about the tags, including cross references to associated tags, syntax, and examples in chapter 3, “configuration files” in managing flash media server. Deploying a cluster of edge...

  • Page 16

    16 using edge and origin servers connecting to a cluster of edge servers when edge servers are configured into a cluster, the clients probably do not know that edge servers are present and servicing their connection requests. This is a secure and desirable strategy for disguising the address of the ...

  • Page 17

    Introducing edge servers 17 when the load on an edge starts to scale down, so does its affinity value. Because the client always looks to connect to the edge with the lowest affinity value, this edge begins to take back connections that had spilled over into the next edge. The objective is to balanc...

  • Page 18

    18 using edge and origin servers 7. The client then uses the information to make an explicit connection: first to the edge, then to the origin server using a wrapped uri: nc = new netconnection(); nc.Onstatus = function(info) { trace(info.Code); } uri = "rtmp://yourcompany.Com/app/inst"; myxml = new...

  • Page 19

    Introducing edge servers 19 ■ locate the origin server and those edge servers nearest to it on the same subnet. ■ if you are licensed to deploy a cluster, make sure all proxies in the cluster are configured identically. ■ configure the conf directory on one proxy. ■ place a copy of this conf directo...

  • Page 20

    20 using edge and origin servers clearing the edge server cache macromedia recommends that you create a weekly scheduled task to clear the edge server cache. To create a scheduled cache clearance: 1. Create a cache.Bat file to empty the cache directory. The entry in the cache.Bat file has the follow...