« Previous Next »

Thread: Server variables for bit rate throttling

Last post 08-18-2009 2:48 AM by AceNZ. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 08-16-2009, 4:37 AM

    • AceNZ
    • Not Ranked
    • Joined on 11-08-2007, 6:40 AM
    • Posts 9

    Server variables for bit rate throttling

    Does anyone have a definitive list of the server variables that are available to programmatically control bit rate throttling?

    This page:

    http://learn.iis.net/page.aspx/149/bit-rate-throttling-extensibility-walkthrough/

    Defines the following:

    ResponseThrottler-Enabled
    ResponseThrottler-InitialSendSize
    ResponseThrottler-Rate
    ResponseThrottler-FileExtension
    ResponseThrottler-EncodedBitRateKbps
    ResponseThrottler-ThrottleRatePercentage
    ResponseThrottler-InitialBufferTimeSeconds

    But it seems like that list may have been generated before the module was merged into IIS Media Services 2.0.  Is it still correct and complete?

    It looks like numeric values should be set as strings.  Is that correct?  Should they be integers, or are floats allowed?

    How late in the request lifecycle can these values be set?

    Are there any server variables to allow control over site-wide bandwidth?  If not, is it possible to change that setting programmatically?

    Is it possible to query the bit rate throttling module to determine the current load in some way?  Perhaps using performance counters?

  • 08-17-2009, 9:56 PM In reply to

    Re: Server variables for bit rate throttling

    AceNZ:

    But it seems like that list may have been generated before the module was merged into IIS Media Services 2.0.  Is it still correct and complete?

    Yes they are still correct and complete.

    It looks like numeric values should be set as strings.  Is that correct?  Should they be integers, or are floats allowed?

    They can only be strings. 

    How late in the request lifecycle can these values be set?

    They must be set before request notification RQ_SEND_RESPONSE.

    Are there any server variables to allow control over site-wide bandwidth?  If not, is it possible to change that setting programmatically?

    There are no server variables for that purpose, but you can do it via IIS configuration by setting the "maxBandwidth" attribute of the "limits" configuration element under the particular site.  You can do it programmatically through either AppCmd.exe or the ahadmin interface.  See below

    http://blogs.iis.net/ksingla/archive/2007/02/25/using-ahadmin-to-read-write-iis-configuration-part-1.aspx    

     

    Is it possible to query the bit rate throttling module to determine the current load in some way?  Perhaps using performance counters?

    There are no Bit Rate Throttling specific performance counters, but you may be able to achieve what you want using those under \Web Service.

  • 08-18-2009, 2:48 AM In reply to

    • AceNZ
    • Not Ranked
    • Joined on 11-08-2007, 6:40 AM
    • Posts 9

    Re: Server variables for bit rate throttling

     Very helpful.  Thanks!

Page 1 of 1 (3 items)
Microsoft Communities