-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
global-cache-cache-override #7
Comments
I guess this metrics can be used when a GC decides not to cache something that should be cached. Core data with cache=true or missing directive. In this case, the notification message will be exactly the same it would have been if the original notification message had cache=false. |
Do we want a GC in this case to republish a message with the original link? My arguments against would be
How do we cope with situations where all Caches decide that they can not store the data? |
I'd view this from a user point of view... so republish as if cache=false and generate a monitoring message so that the producing centre is aware of this. |
I am not sure it is that easy. Consider for example a data publisher only allows downloads from the GCs. In this case a cache that is not able to cache that data sends out a message with a link that does not work for the user. Instead of just not sending out a message. (The user will receive messages from other caches with links that work). I think cache override is more related to a download error than to cache = false |
I may have misunderstood "override". For me it is not a failure. It is a decision from a GC not to cache by decision (and not failure) some data. |
Yes, it is a decision from the GC. My point is that the outcome of this decision is closer to an error (i.e. the originator wants the data to be in the cache which is however not possible) than it is to cache = false (the originator does not want the cache to store the data). My point is that to the user the consequences of receiving a message from that cache in this situation might be worse (the download link provided might not work) than to not receive that message (i.e. download the data from any other cache) |
fwiw - i agree with Kai's perspective and I believe it is supported by viewing this from both the Origin, and end user cases. Override scenario:
This two characteristics exactly match the download failure case, and the GC should not publish a notification message. |
Fair enough... Optimistically, I thought that overriding and nevertheless providing a notification message was doable as the origin download link may work. |
Where a Global Cache determines that it is unable to cache a data item, the Global Cache should publish a notification message where the data download link refers to the source dataserver and the metric wmo_wis2_gc_cache_override_total is incremented by 1
More details for global-cache-cache-override are needed about the notification message; format, content, topic...
The text was updated successfully, but these errors were encountered: