Forum Discussion
Camille_13254
Nimbostratus
Jun 01, 2009Implementing customized Rate Shape with iRules
Hello,
I need to find a strategy to implement a customized Rate Shape.
For example:
Total Bandwidth: 40MB/s
Rate Shaping for HTTP: 30MB/s
Rate Shaping for FTP : 10MB/s
If I only have HTTP traffic on their network I want to give all available bandwidth (40 MB/s) if needed. But if I have FTP traffic than I will limit the HTTP traffic to 30MB/s and for FTP I will limit to 10MB/s.
The same case. If I have FTP traffic (20MB/s) on my network. So if it exceeds 10MB/s there is no problem because we may have only 3MB/s for example to HTTP. In this case it can take more bandwidth for FTP, but if HTTP reaches 30MB/s so the FTP traffic will have to enforce it's limit (10MB/s).
This would be a more dynamic kind of QoS. Is it possible to make this with iRules?
Thanks in advance!
- JRahm
Admin
The rate shaping module is made specifically for this. Can tie in iRules with the rateclass command. - Colin_Walker_12Historic F5 AccountSo what you'd do is go through and configure your default rate classes, then assign different VIPS to those rate classes, meaning your FTP VIP to the FTP rateclass, etc. Then, as Elah said, if you want further granularity, you can bring iRules into the picture.
- hoolio
Cirrostratus
Hi Dafa, - Hamish
Cirrocumulus
Hi Defra. - Danardono1
Nimbostratus
Hi Hamish and Hoolio, - hoolio
Cirrostratus
I'd suggest creating separate virtual servers for each protocol. HTTP, FTP and other protocols should have different TCP profiles with idle times and other customisations like persistence. Using a single virtual servers for all of them makes it a lot more complicated to do this. With separate virtual servers you'd be able to add a single rate class to each one without an iRule.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects