Forum Discussion
F5 FastL4 but need HTTP header insert
Curiously, we have found that using "compression disable" actually results in shorter time-to-last-packet. We believe that the originating loadbalancers are compressing the content and then the F5 is decompressing/recompressing the content, which might be slowing things down. The difference can be significant, on the order of 1/3 to 1/2 second for each web page. In an eight-page transaction, the timing is fairly critical.
What we don't know for sure is if the F5 without compression is simply requesting clear text on both sides, or compression on the "server" side only, decompressing to the "client" side. It is difficult to get traces from either balancer due to limitations of the network topology and administrators involved.
The ideal scenario is that the F5 would simply "pass through" the traffic. Except that we need to insert an HTTP header to track the client IPs. When I tested and tried various scenarios with FastHTTP and FastL4 about 6 months ago, we came to the conclusion this couldn't be done. We would also be happy if we understood where the compression takes place; compressing content on the "client" side is probably not as important in our application as compression on the WAN-server side.
Anybody have any ideas?
- spark_86682Historic F5 AccountIt is quite possible that the F5 BIG-IP box is trying to compress already-compressed data; I'm almost positive that it doesn't uncompress responses at all. The typical operation if compression is enabled is that the BIG-IP will not forward the Accept-Encoding header if the BIG-IP is taking responsibility for compressing content so that the server will not send compressed content; there is a compression profile option to override this (usually desirable) behavior.
- MrWilson_64275
Nimbostratus
If you care less about compression on the client side of the WAN, then you should disable it completely on the appropriate VIP(s) on the BIG-IP, and leave the compression to the remote load balancers; that would also send fewer bytes across the WAN link. - spark_86682Historic F5 Account
we verified that the content is uncompressed, even if we ask for it with the "compress disable" option.
- MrWilson_64275
Nimbostratus
That's progress, at least. You should enable compression on the origin load balancers (on the other side of the WAN link) and see if that helps. - spark_86682Historic F5 Account
The original load balancers do have compression turned on if the client requests it; the F5 appears to disable this or block it (just a guess; with compression disabled, the content is always clear text, even when requested with headers).
It appears that FastL4 is not any "better" than using http-wan-optimised and is worse because we cannot do the header insert for the client IP. Using FastHTTP is frustrating because it looks like we cannot use Irules or oneconnect (oneconnect saves us .2 - .3 seconds across the Atlantic).
Recent Discussions
Related Content
* 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