You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The pubsub protocol -09 requires the broker to always provide the most recent message to a subscriber. Why? The message might be very out-dated. Also, this requires the broker to retain the most recent message for every topic. If the topic tree is large and the broker is acting as an exchange point for millions of devices then the requirement that all topics have a cached message puts a big burden on the broker.
The text was updated successfully, but these errors were encountered:
NEW COMMENT
Editing my comment here sorry. I realized I missunderstood the request "cached message" to be related to caching and freshness in the CoAP sense. Topics are just links to CoAP resources hosted by a server.
AFAIK when the broker is hosting the topic_data as well, it obviously needs to provide a resource representation when requested.
However if the broker is just an "exchange point for millions of devices", that would mean that the topic_data resource is hosted elsewhere. When a subscriber subscribes to a topic in that context, the broker does not mediate in that.
OLD COMMENT
The current version does not specify anything new in relation to caching freshness so the same logic as that for CoAP and CoAP Observe will apply.
The default Max-Age Option value is 60 in CoAP but that can be modified to cater to different deployment scenarios. If an origin server (i.e., origin server for the topic_data resource) wishes to prevent caching, it MUST explicitly include a Max-Age Option with a value of zero seconds.
The pubsub protocol -09 requires the broker to always provide the most recent message to a subscriber. Why? The message might be very out-dated. Also, this requires the broker to retain the most recent message for every topic. If the topic tree is large and the broker is acting as an exchange point for millions of devices then the requirement that all topics have a cached message puts a big burden on the broker.
The text was updated successfully, but these errors were encountered: