Patrick O'Brien
2018-01-04 00:10:57 UTC
Hello,
I am testing out hierarchical caching in ATS 7.1.1. Everything seems
to work, although it looks like the child node is always needing to
revalidate objects fetched from the parent node. Here are the headers
on an example GET:
https://gist.github.com/poblahblahblah/928aaa88c24ef3c05366433a514f1a28
The parent has the object stored in RAM and doesn't require
validation, but the child thinks the response is stale. Here is the
cache.config file on both the parent and the child:
https://gist.github.com/poblahblahblah/36b54ac8b7d75071c1342da6694d3c51
The problem with this is that the connection between the child and
parent is pretty flaky and when the parent is down we are met with a
502: https://gist.github.com/poblahblahblah/d50657354c815040faae50539fa45836
Here is the parent.config on the child:
https://gist.github.com/poblahblahblah/9f1dcb4cf674c21c80a27173bd0ef81b
Relevant configs from records.config for the parent:
https://gist.github.com/poblahblahblah/e6ac573e9f9cd63088c2e06e6544d801
Relevant configs from records.config for the child:
https://gist.github.com/poblahblahblah/5a6dc02a88b24cafca0e8c70d353b92e
Any guidance on this would be much appreciated.
-patrick
I am testing out hierarchical caching in ATS 7.1.1. Everything seems
to work, although it looks like the child node is always needing to
revalidate objects fetched from the parent node. Here are the headers
on an example GET:
https://gist.github.com/poblahblahblah/928aaa88c24ef3c05366433a514f1a28
The parent has the object stored in RAM and doesn't require
validation, but the child thinks the response is stale. Here is the
cache.config file on both the parent and the child:
https://gist.github.com/poblahblahblah/36b54ac8b7d75071c1342da6694d3c51
The problem with this is that the connection between the child and
parent is pretty flaky and when the parent is down we are met with a
502: https://gist.github.com/poblahblahblah/d50657354c815040faae50539fa45836
Here is the parent.config on the child:
https://gist.github.com/poblahblahblah/9f1dcb4cf674c21c80a27173bd0ef81b
Relevant configs from records.config for the parent:
https://gist.github.com/poblahblahblah/e6ac573e9f9cd63088c2e06e6544d801
Relevant configs from records.config for the child:
https://gist.github.com/poblahblahblah/5a6dc02a88b24cafca0e8c70d353b92e
Any guidance on this would be much appreciated.
-patrick