trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Miles Libbey <mlib...@apache.org>
Subject Re: ATS cache miss if backend service DNS name rotates.
Date Wed, 10 Oct 2018 22:40:53 GMT
I wouldn't recommend excluding the FQDN (in case you get more domains
later, and some portion of their paths have collisions). But, the
prefix section
https://docs.trafficserver.apache.org/en/7.1.x/admin-guide/plugins/cachekey.en.html#prefix-section
does let you normalize them to your liking.

miles
On Wed, Oct 10, 2018 at 2:28 PM Jeremy Payne <jp557198@gmail.com> wrote:
>
> Maybe use the below plugin to exclude the FQDN as the part of the
> cache key or  generate the cache key based on the path+file ?
>
> https://docs.trafficserver.apache.org/en/7.1.x/admin-guide/plugins/cachekey.en.html
> On Wed, Oct 10, 2018 at 4:06 PM Jin <jin@tower-research.com> wrote:
> >
> > I have a backend server using DNS roundrobin like service.domain.com pointing
> > to service[1-8].domain.com. They all run the same Ceph Rados gateway service
> > and serve same data.
> >
> > Is there a way for ATS to ignore hostname if the file path and names are
> > same? For example, if http://service1.domain.com/dir1/file1 was cached,
> > requests for http://service2.domain.com/dir1/file1 should be pulled from
> > cache instead of from backend server.
> >
> > Thank you.
> >
> > Jin.
> >
> >
> >
> >
> >
> > --
> > Sent from: http://apache-traffic-server.24303.n7.nabble.com/

Mime
View raw message