Forum Discussion
Doug_104173
Nimbostratus
Jul 16, 2010Simple Compression Question
Hopefully this is simple. If it apply the http compression profile on my LTM, will that compress traffic between the client and LTM AND compress traffic between the LTM and the nodes as well? Or is it only on the client side?
- L4L7_53191
Nimbostratus
It'll apply to the client side only. - Doug_104173
Nimbostratus
Is there a way to compress it on the node side? - Chris_Miller
Altostratus
Posted By Doug on 07/16/2010 12:16 PM - Doug_104173
Nimbostratus
We have a cluster of Cassandra servers on the backend and I wanted to compress the traffic to to reduce overall network utilization. The backend Cassandra servers communicate over port 80 via an nginx proxy and answer requests from the front end client servers for DB look ups. We need to load balance the http requests from the front end clients to the many backend Cassandra nodes, which is where the LTM comes in. - hoolio
Cirrostratus
LTM can only compress server responses. A few people have mentioned that they'd like to be able to compress requests to the pool. You might try opening a case with F5 Support and ask them if there is an existing change request for this. If so, they can add your request to it. If not, they can create one for you. - Hamish
Cirrocumulus
I used to wonder about this too. - hoolio
Cirrostratus
Yeah, like you say, the only use case I can think of where compressing serverside requests would make sense is for load balancing across WANs or other slow networks. I haven't seen many servers that handle compressed request data either. Maybe that's why F5 hasn't made the option available. - L4L7_53191
Nimbostratus
For this particular use case that's the burning question: how utilized is your backend to the nginx farm? Are the systems all locally connected or is there WAN involved as mentioned above? It's pretty rare to see saturation on the back end these days so I'm curious to home in on your specific concerns here. The CPU hit of compress/decompress on the backside is likely going to bite you before the network will, at least in most cases. - What_Lies_Bene1
Cirrostratus
I've just been browsing the iRules wiki and it would seem request compression is supported in v11, as indicated by the COMPRESS:: enable 'request' subcommand: https://devcentral.f5.com/wiki/iRules.COMPRESS__enable.ashx. No real detail on how it works but I'm sure it could be tested quite easily.
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