Re: [squid-users] routing to parent using carp

2015-11-24 Thread Amos Jeffries
On 24/11/2015 11:11 p.m., Sreenath BH wrote:
> Hi all,
> 
> We are planning to use carp to route requests based on request URL.
> A part of the URL refers to a part of the file that is being requested
> in the GET request(say a part of a video file)
> 
> However, to make the back-end more efficient, it would be great if all
> requests for a particular file  went to same parent server.
> 
> Is there a way in Squid to make it use a part of the URL when it
> calculates the hash to map the URL to a parent?

See the documentation on CARP options:


Amos

___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


[squid-users] routing to parent using carp

2015-11-24 Thread Sreenath BH
Hi all,

We are planning to use carp to route requests based on request URL.
A part of the URL refers to a part of the file that is being requested
in the GET request(say a part of a video file)

However, to make the back-end more efficient, it would be great if all
requests for a particular file  went to same parent server.

Is there a way in Squid to make it use a part of the URL when it
calculates the hash to map the URL to a parent?

thanks for any tips,
Sreenath
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] routing to parent using carp

2015-11-24 Thread Sreenath BH
Thanks.

I should have read the documentation completely before posting.

carp-key=key-specification

rgds,
Sreenath


On 11/24/15, Amos Jeffries  wrote:
> On 24/11/2015 11:11 p.m., Sreenath BH wrote:
>> Hi all,
>>
>> We are planning to use carp to route requests based on request URL.
>> A part of the URL refers to a part of the file that is being requested
>> in the GET request(say a part of a video file)
>>
>> However, to make the back-end more efficient, it would be great if all
>> requests for a particular file  went to same parent server.
>>
>> Is there a way in Squid to make it use a part of the URL when it
>> calculates the hash to map the URL to a parent?
>
> See the documentation on CARP options:
> 
>
> Amos
>
> ___
> squid-users mailing list
> squid-users@lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users
>
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users