Added a single snapshot time for GetResponse - #252
Open
ashu-ciena wants to merge 1 commit into
Open
Conversation
The data collected for each individual path in the notification, may carry a different timestamp from other paths. In that case, there is no single view of the complete data for the list of paths in the GetRequest. From a target's perspective the collection for a Subscribe request and a Get request is identical and only the mode of transport of those notification is different. The individual notification gives the timestamp of the collected data of the relevant path in a distributed environment. The target waits for all the individual collections to complete, pack it into a single Get response and send it. With this change, we introduce a timestamp for the entire snapshot, attached when the collection is complete for all the paths and the packet is ready to be sent to the client.
Author
|
In the absence of the proposed changes, the below 2 requirements are contradictory to each other. |
|
I think this is another case where I suspect the majority of uses today would be that a single Notification w/ a single Update is delivered with an encoding as |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The data collected for each individual path in the notification, may carry a different timestamp from other paths. In that case, there is no single view of the complete data for the list of paths in the GetRequest. From a target's perspective the collection for a Subscribe request and a Get request is identical and only the mode of transport of those notification is different. The individual notification gives the timestamp of the collected data of the relevant path in a distributed environment. The target waits for all the individual collections to complete, pack it into a single Get response and send it. With this change, we introduce a timestamp for the entire snapshot, attached when the collection is complete for all the paths and the packet is ready to be sent to the client.