MACROMEDIA FLASH MEDIA SERVER 2-SERVER-SIDE ACTIONSCRIPT LANGUAGE Guide d'installation Page 37

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 55
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 36
Example of distributed process conguration
emaximumlifetimeforconnectionsinthiscongurationis2hoursbecausetheMaxCore
limitissetto4andthenumProcsissetto2.
Tocalculatethemaximum connection time for clients, use this formula:
(MaxCore DIV NumProcs) x Rollover
Example: (4 DIV 2) X 3600 = 7200 seconds (2 hours)
Tocalculatethetotalnumberofprocesses,usethisformula:
Number of Scopes X NumProcs X MaxCores
Exampleusing<Distribute>adaptor</Distribute> with two adaptors:
2 X 2 X 4 = 16 Core processes
TocalculatetheamountofRAMrequiredtosupportthedistributedprocesses,multiplythetotal
processesby4.Eachcoreprocesscanuseupto4GBofRAM;thereforethepreviousexample
with16corescouldconsumeupto64GBofRAM.
Close idle connections
New feature in Flash Media Streaming Server and Flash Media Interactive Server; requires Flash
Player 6 or later.
When clients leave an application, their connection is oen le open. Flash Media Server 3 can
now detect these idle connections and reclaim their resources for new and active clients. When a
clienthasbeenidlelongerthanthemaximumspeciedidletime,(thedefaultis10minutes),the
serverwillclosetheconnection.Toenablethisfeature,youmustsetAutoCloseIdle-
Clients to true in the Server.xml le.OnceitisenabledintheServer.xmlle, you can
disable it for individual virtual hosts or individual applications in the Vhost.xml and
Application.x mlles.
Limit connection requests
New feature in Flash Media Streaming Server and Flash Media Interactive Server; requires Flash
Player 6 or later.
Insomecases,ifmanyclientsareattemptingtoconnecttotheserver,thequalityofservicecan
be diminished for those clients who are already connected. By setting the MaxConnection
Rate in the Server.xmlle, you can limit the number of connection requests per second that
are accepted.
37
Vue de la page 36
1 2 ... 32 33 34 35 36 37 38 39 40 41 42 ... 54 55

Commentaires sur ces manuels

Pas de commentaire