Traffic shaping overview
Traffic shaping allows you to control the bandwidth of data flow into and out of your load balancers. These measures are important in avoiding networking congestion issues such as excessive latency.
Traffic shaping involves delaying HTTP requests and responses when bandwidth consumption exceeds specified limits. By contrast, the process of dropping traffic under extreme conditions is called traffic policing. For details, see Traffic Policing.
Traffic shaping is configured separately for uploads and downloads.
For uploads, the
filter bwlim-indirective defines the filter, and the
http-request set-bandwidth-limitdirective enables it.
For downloads, the
filter bwlim-outdirective defines the filter, and the
http-response set-bandwidth-limitdirective enables it.
Next upSet a bandwidth limit for downloads