zenoh-plugin-dds icon indicating copy to clipboard operation
zenoh-plugin-dds copied to clipboard

Publication cache re-implementation

Open JEnoch opened this issue 2 years ago • 0 comments

Currently a route for TRANSIENT_LOCAL Writers uses a zenoh-ext PublicationCache to store the published samples. However this cache is not designed to maintain 1 queue per-writer, leading to cache only 1 sample despite several Writer with history length 1 might be served by this route (see #61).

A new publication cache (specific to this plugin) must be implemented to support per-writer caching, with a queue size corresponding to each matching Writer. The cache management must be dynamic to allow addition/removal of queues on Writers discovery/undiscovery. Ideally, we should also foresee the possibility to support per-instance queues, to be used when the plugin will be able to distinguish instances at samples reception.

JEnoch avatar Jan 14 '22 09:01 JEnoch