« Previous Next »

Thread: Does "Bit Rate Throttling" work with ARR?

Last post 06-08-2009 1:32 PM by anilr. 4 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (5 items)

Sort Posts:

  • 06-07-2009, 12:30 PM

    • jjy2
    • Not Ranked
    • Joined on 09-17-2007, 7:42 PM
    • Posts 13

    Does "Bit Rate Throttling" work with ARR?

    I have tested with "default configuration" on iis 7 servers.

    From the windows task manager, I can see network graph goes like this

    1. When disabled: 
               _________
    begin ____|         |_____ end

    2. When enabled and tested with an WMV (http://download.microsoft.com/download/3/9/0/3902e391-734e-470f-806b-4d779f07749f/PS_DEMO_320x180_1MB.wmv), 
       _   _   _   _
    __||__||__||__||_... 


    +-10 seconds of no data transmission followed by 10 or more blocks of data, in few seconds interval, and the bandwidth is un-throttled even for each block of transmission. 

    3. When I tested with my own test .mp4 file, player waits until time-out and in fact there are no data transamission at all.

    Can some one please tell me what could be the problem? or maybe can't use Bit Rate Throttling with ARR?
    Thank you 

  • 06-07-2009, 12:53 PM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 6:13 PM
    • Redmond, WA
    • Posts 2,343

    Re: Does "Bit Rate Throttling" work with ARR?

    There are 2 ways that bit-rate throttling determines the bitrate for the file - one is auto-determining the bitrate of a media file and the other is manual bitrate configured for arbitrary files - the first method requires the bitrate module to seek into arbitrary locations of the file and thus requires the bitrate module to be running on the origin server and not at ARR, the second method (if you manually specify the bitrate in configuration) can work with bitrate module running on the ARR server.

    The other thing to look at is the minResponseBuffer setting of ARR - by default, ARR will buffer large amounts of data before sending to the client which is probably not the ideal thing for streaming media content - so, you may need to set the ARR minResponseBuffer setting to a low value.

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 06-08-2009, 4:38 AM In reply to

    • jjy2
    • Not Ranked
    • Joined on 09-17-2007, 7:42 PM
    • Posts 13

    Re: Does "Bit Rate Throttling" work with ARR?

    Hi Anil Ruia,

    Thank you for your kind explanation.

    I will have a look at the two options you suggested, and try again.

    Thanks a lot

     

     


     

  • 06-08-2009, 6:12 AM In reply to

    • jjy2
    • Not Ranked
    • Joined on 09-17-2007, 7:42 PM
    • Posts 13

    Re: Does "Bit Rate Throttling" work with ARR?

    Hi Anil Ruia,

    I tested two different media files with the minResponseBuffer set to between 0  ~ 4 KB in the configuration file, tested with quick time and window media (the module is installed in content servers), now it works very well. 

    So thank you very much again.

    --------------------------------------------
    Just thought it would be nice to be able to set the min response buffer size per mime type or something similar so that ARR is friendly to both streaming and non-streaming contents. Maybe I should go read version 2 information!

     

  • 06-08-2009, 1:32 PM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 6:13 PM
    • Redmond, WA
    • Posts 2,343

    Re: Does "Bit Rate Throttling" work with ARR?

    We will consider minResponseBuffer per mime-type.  Not sure if it makes sense yet.

    In the meantime, you can "clone" your webfarm (create an identical one with another name) with different minResponseBuffer values and setup your rewrite rules to go to one webfarm or the other based on the content.

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
Page 1 of 1 (5 items)
Microsoft Communities