Forum Discussion
hc_andy_35682
Mar 22, 2010Nimbostratus
OneConnect and Proxy/Squid Load Balancing
Hi All,
We provide proxy services (http/https) to a large number of schools (each with their own static IP). Each school can have 1000's of connections to the virtual server at any time.
What we have is a a large squid (proxy) cluster and in front of that is the F5 doing least conns with source address persistence. Each pool member also has a 4000 max conns limit. What we're finding is that several of our squid servers are reaching their max conn limit.
1/ When the max conn limit is reached, will the client (school) request be served by another available pool member taking into consideration that we have source address pesistence enabled so the client (school) is expecting to hit the same pool member all the time? If the client (school) is served by another pool member, wouldn't this then break the source address persistence?
2/ Would something like a OneConnect profile help us reduce the number of connections from the LTM to the squid cluster. I've read up on it but not 100% sure how it applies in a squid/proxy environment.
Is this like having one big pipe (tcp connection) from the LTM to the squid box say for school 1's incoming connections, so that all new connections from school 1 uses that big pipe. What about the return traffic from the squid box back to the school? Is it still returning traffic via this big pipe or does it need to create a new tcp connection for the return traffic?
Thanks.
Andy
- Chris_MillerAltostratusYou didn't select an HTTP profile for your VS, right?
- There is no HTTP profile on set on the VS if i SSH to the F5 telnet works to any member at 3128. Trying the layer 4 now, but it doesn't appear to make a difference. I'll update when i have a definite result -Update: Layer 4 didn't make a difference
- asis_26954Nimbostratushi andrew, or someone else.:)
- Hi asis,
- asis_26954Nimbostratusworks great.
- mikand_61525NimbostratusI just read http://www.f5.com/pdf/deployment-guides/oneconnect-tuning-dg.pdf and by just looking at the graphs it looks impressive but how will oneconnect work in real life regarding a forward http proxy such as squid (thinking of using 11.x of LTM)?
- HamishCirrocumulusI use one-connect quite often with a /32 mask so that individual clients get connection reuse. And the fe/be connections aren't shared between clients. However in testing, doing it this way is actually almost always unnecessary as the clients & servers usually specify connection reuse in the headers anyway.
- HamishCirrocumulusOh... One place one-connect with a /32 is really useful is when doign SSL offload AND someone misocnfigures a poolmember without connection re-use... Without one-connect you'd get your SSL licenses thrashed... With it your license use stays sane and you only have to worry about the poolmember having to do lots of unnecessary connections
- nitassEmployeeOne place one-connect with a /32 is really useful is when doign SSL offload just curious if oneconnect works well with http connect method.
- mikand_61525NimbostratusSo to sum it up:
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