Optimize video Services with IIS 7.0 Smooth streaming

Source: Internet
Author: User
Tags windows web server silverlight

Http://www.cnblogs.com/dudu/archive/2013/06/08/iis_webserver_settings.html (support for high-concurrency IIS Web server common settings) http://zzstudy.offcn.com/archives/13148 (Windows Web server IIS7.5 optimized configuration supports 100,000 simultaneous requests)
Http://blog.snsgou.com/post-510.html

-----------------------------------------------------------------------

Today, around 17 o'clock in the afternoon, Blog Park blog site This error message appears:

Error Summary:

HTTP Error 503.2-service Unavailable
The Serverruntime@appconcurrentrequestlimit setting is being exceeded.

Detailed Error information:

Module IIS Web Core
Notification beginrequest
Handler Staticfile

Error Code 0 x00000000

Because the default configuration was used before, the server can handle up to 5,000 simultaneous requests, and this afternoon, because of a situation that caused simultaneous requests exceeding 5000, the above error occurred.

To avoid such errors, we adjusted the settings according to the relevant documentation to allow the server to support 100,000 concurrent requests from the settings.

The settings are as follows:

1. Adjusting the IIS 7 application pool queue Length

Changed from the original default of 1000 to 65535.

IIS Manager > ApplicationPools > Advanced Settings

Queue length:65535

2. Adjust the Appconcurrentrequestlimit settings for IIS 7

Changed from the original default of 5000 to 100000.

C:windowssystem32inetsrvappcmd.exe Set config/section:serverruntime/appconcurrentrequestlimit:100000

You can view this setting in%systemroot%system32inetsrvconfigapplicationhost.config:

<span "courier=" "new" "; =" "font-size:=" "12px;" = "" "><<span" courier= "" new ""; = "" font-size:= "" 12px; " = "" ">serverruntime <span" courier= "" new ""; = "" font-size:= "" 12px; " = "" ">appconcurrentrequestlimit<span" courier= "" new ""; = "" font-size:= "" 12px; " = "" >= "100000" <span "courier=" "new" "=" "font-size:=" "12px;" = "" > <span "courier=" "new" "; =" "font-size:=" "12px;" = "" ">/><span" courier= "" new ""; = "" font-size:= "" 12px; " = "" >

3. Adjust the settings of the Processmodel>requestqueuelimit in Machine.config

Changed from the original default of 5000 to 100000.

<span "courier=" "new" "; =" "font-size:=" "12px;" = "" "><<span" courier= "" new ""; = "" font-size:= "" 12px; " = "" ">configuration<span" courier= "" new ""; = "" font-size:= "" 12px; " = "" >>    <span "courier=" "new" "; =" "font-size:=" "12px;" = "" "><<span" courier= "" new ""; = "" font-size:= "" 12px; " = "" ">system.web<span" courier= "" new ""; = "" font-size:= "" 12px; " = "" >>        <span "courier=" "new" "; =" "font-size:=" "12px;" = "" "><<span" courier= "" new ""; = "" font-size:= "" 12px; " = "" ">processmodel <span" courier= "" new ""; = "" font-size:= "" 12px; " = "" ">enable<span" courier= "" new ""; = "" font-size:= "" 12px; " = "" >= "true" <span "courier=" "new" "; =" "font-size:=" "12px;" = "" > Requestqueuelimit<span "courier=" "new" "; =" "font-size:=" "12px;" = "" >= "100000" <span "courier=" "new" "=" "font-size:=" "12px;" = "" >/>

Reference article: http://technet.microsoft.com/en-us/library/dd425294 (office.13). aspx

4. Modify the registry to adjust the number of simultaneous TCPIP connections supported by IIS 7

Changed from the original default of 5000 to 100000.

REG ADD hklmsystemcurrentcontrolsetserviceshttpparameters/v maxconnections/t reg_dword/d 100000

5. Run the command using the settings to take effect

net stop http  & net start  

To complete the above 4 settings, you can support 100,000 concurrent requests, the blog Park blog Server has enabled the above settings.

Reference article:

IIS 7.0 503 errors with generic handler (. ashx) Implementing IHttpAsyncHandler

Tuning Windows Server for PHP

-----------------------------------------------------------------------

I. Introduction of Smooth Streaming

In order to enrich the content of the site, in the existing site, add a little video, is a lot of sites encountered things, streaming media server high prices and, so many sites prohibitive, how to optimize the existing base of video playback, for IIS Microsoft introduced a piece of video acceleration software, Smooth streaming

: Http://www.iis.net/download/SmoothStreaming, for unfamiliar with the video of friends, may be more unfamiliar, next let us know about this product.

IIS Smooth streaming-is an extension of Internet Messenger Services (IIS) 7.0 that provides smooth video streaming and adjusts video quality at any time, depending on the client's network bandwidth and CPU execution capability.
IIS Smooth streaming allows the Microsoft Silverlight client to live activity with adaptive video streaming media. Distributing live activities using HTTP gives the advantage of a real choice of HD (720p+) that is closer to the user and Web broadcast for an existing HTTP network. The more benefit of using HTTP-based distribution live activity is that the existing HTTP architecture also provides more useful things for live activities.
The most popular web broadcast, content providers, and content distribution networks (CDNs) are concerned about how much effort they need to devote to network streaming media resources. Using the primary HTTP network, which is typically 10 to 20 times times the size of their streaming network, they can take full advantage of their primary network and do not have to worry about the maximum network capability and the number of users of live activities.
The beta version of Smooth Streaming-iis 7.0 allows a Web server to be built as a live Smooth streaming server, whose content can be distributed from the sample's Silverlight-based client, virtual live Smooth Streaming code is obtained. This document covers the following scenarios:

· Install IIS Live Smooth streaming

· Deploying IIS Live Smooth Streaming

Second, install IIS Smooth streaming

To install IIS Smooth streaming, the following prerequisites must all be met:

· IIS 7.0 must be running on Windows Server 2008 or Windows Vista SP1

· Use the IIS Manager interface to manage IIS Smooth the Streaming,iis Management console must be installed. You can install the IIS Management Console role service for Web server (IIS) in server manage.

· The following options are helpful for installing the IIS Live Smooth streaming-beta version:

· Web Platform Installer 2.0 Beta

· Web Platform Installer 1.0

· Windows Installer files (32-bit and 64-bit versions of Windows Server or Windows Vista SP1 operating systems)

After the condition is met, the direct installation is possible.

Iii. Deployment IIS Smooth Streaming

After the installation is complete, more than one column of media services in IIS

Set up for each of the above

2.1 Bit rate limit

Set media format, support most Microsoft Media format by default

You can also add other media formats in the following ways

2.2 Smooth Streaming

2.3 Real-time smooth stream processing

With this IIS extension, the customer should feel noticeably more fluent in the video.

Optimize video Services with IIS 7.0 Smooth streaming

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.