Search squid archive

Re: Persistent Connections - only one side

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hey Mathew,

The defaults of squid should do what you are asking for as long as we
are talking about the same src domain and IP.
There are settings to make the persistent connections more effective
but I do not remember them by heart.
The start point would be here:
http://www.squid-cache.org/Doc/config/server_persistent_connections/

and everything else should at the official docs at:
http://www.squid-cache.org/Doc/config/

Notice that persistent connections are not the answer to everything
because these have limitation and constrains.
In many networks a overhead even a dozen and more TCP connection would
be more effective then persistent connections.
Any case should be tested first to understand the nature of the demand
and to decide if it's the best path.
The client doesn't always right...but he is still the client so..

Eliezer

On 11/25/2014 04:23 PM, Mathew Marulla wrote:
> Need to know if this is even possible…
> 
> We have a PHP app that uses CURL to send requests/get responses
> from servers of various business partners.  The connections to
> these partner servers are not currently persistent.  Setting
> keep-alive headers would be ineffective because the connections are
> necessarily closed when the PHP code exists, at the end of each
> transaction.  Something like this:
> 
> http://marulla.com/files/proxy1.png
> 
> Now, we have a potential partner that requires persistent, re-used
> connections.  Changing the system architecture so that the PHP code
> remains running is not an option.  I was wondering if a proxy
> server, running on the same server as the PHP code, could keep the
> outside half persistent, even after the inside half closes.  Like
> this:
> 
> http://marulla.com/files/proxy2.png
> 
> Is this possible?  Is there a config option that might achieve
> this?
> 
> Thanks!

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJUdMmdAAoJENxnfXtQ8ZQUbJYH/007hNd9AHopz/y0XVvV8sls
lJdPMStt7+IY1HVzix8g7zDuplVIvT+6/dRG4eMddzTK/XtJ5C7l+aPCY8LQsLo0
qLRFhdFYREEyNXU7UwGQHLZNxJ+bPT/G8mSwX5sUkJYU8wO6XALq4bhJCO+mnvBh
TLB867Ty8TU2Sixlc4CZdVaFdoiv9G91zgUPNRJy0N192vXZOccjiZ/3eXjWpcbi
n6ZNydsAhlKS6jz0ta9qDxiA57qbbBzFg2+wESHf9dMo5G6vPeXQ7pVUklfYZlxc
tf0p0DHeRdHNT4UeH+X1cwd9/304hryCZaVF8Kk1vYR7sCvi4trpVAQczqABbIY=
=Qc/b
-----END PGP SIGNATURE-----
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users





[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux