You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 5
Next »
- Compare Active Subscriptions (DB) with the current request
- Find delta
- we have the same subscription if we have the same combination of
- cmhandle AND xpath filter AND datastore
- Create structure to hold all 'PENDING' subscriptions
- HZ map
- Update when there's overlapping
- updating the status in the HZ map from 'PENDING' for duplicated request(s)
A:
Wide Net → Narrow Net method
eyJleHRTcnZJbnRlZ1R5cGUiOiIiLCJnQ2xpZW50SWQiOiIiLCJjcmVhdG9yTmFtZSI6IlNlYW4gQmVpcm5lIiwib3V0cHV0VHlwZSI6ImJsb2NrIiwibGFzdE1vZGlmaWVyTmFtZSI6IlNlYW4gQmVpcm5lIiwibGFuZ3VhZ2UiOiJlbiIsImRpYWdyYW1EaXNwbGF5TmFtZSI6IiIsInNGaWxlSWQiOiIiLCJhdHRJZCI6IjIwOTg3OTgzNyIsImRpYWdyYW1OYW1lIjoiQSBEaWFncmFtIiwiYXNwZWN0IjoiIiwibGlua3MiOiJhdXRvIiwiY2VvTmFtZSI6IkNQUy0xOTUzIENvbXBhcmUgQWN0aXZlIFN1YnNjcmlwdGlvbnMgKERCKSB3aXRoIHRoZSBjdXJyZW50IHJlcXVlc3QiLCJ0YnN0eWxlIjoidG9wIiwiY2FuQ29tbWVudCI6ZmFsc2UsImRpYWdyYW1VcmwiOiIiLCJjc3ZGaWxlVXJsIjoiIiwiYm9yZGVyIjp0cnVlLCJtYXhTY2FsZSI6IjEiLCJvd25pbmdQYWdlSWQiOjIwOTg3OTgzMSwiZWRpdGFibGUiOmZhbHNlLCJjZW9JZCI6MjA5ODc5OTEyLCJwYWdlSWQiOiIiLCJsYm94Ijp0cnVlLCJzZXJ2ZXJDb25maWciOnsiZW1haWxwcmV2aWV3IjoiMSJ9LCJvZHJpdmVJZCI6IiIsInJldmlzaW9uIjoyLCJtYWNyb0lkIjoiMDE3MTVhOWUtNzczZS00YTA0LTljOWEtMGIzYzA3OTNjZTYwIiwicHJldmlld05hbWUiOiJBIERpYWdyYW0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