You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2016/09/17 21:02:18 UTC

[Bug 60145] New: Add initial burst to rate limiting

https://bz.apache.org/bugzilla/show_bug.cgi?id=60145

            Bug ID: 60145
           Summary: Add initial burst to rate limiting
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: mod_ratelimit
          Assignee: bugs@httpd.apache.org
          Reporter: ajv-etradanalhos@vsta.org

Created attachment 34261
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=34261&action=edit
Patch to provide rate-initial-burst to rate limit module

We deliver media where the licensing requires we can provide streaming, but not
downloads.  As a part of complying, we use rate limiting so that even if the
user scrapes an underlying mp3 URL, they will still take an hour to download
an hour's worth of content.

One complaint is slow start times for streams to iOS devices.  Measurements
suggest that there is a fixed, 1/2 megabyte initial fetch before any playing
occurs for the user.  Attached is a second parameter for the rate limit
module, rate-initial-burst, which specifies a number K bytes which will
be provided at full speed before throttling back to the configured rate.
With this set to 512, we have had multiple months of satisfactory operation.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 60145] Add initial burst to rate limiting

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60145

Jim Jagielski <ji...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Jim Jagielski <ji...@apache.org> ---
Committed revision 1770951.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 60145] Add initial burst to rate limiting

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60145

Jim Jagielski <ji...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jim@apache.org

--- Comment #1 from Jim Jagielski <ji...@apache.org> ---
Thanks! Will review and fold into trunk if OK

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org