weaveworks / mesh

A tool for building distributed applications.
Apache License 2.0
889 stars 107 forks source link

Dedupe surrogate gossip #66

Closed bboreham closed 7 years ago

bboreham commented 7 years ago

Fixes #65

marccarre commented 7 years ago

As discussed previously on this issue and offline,

Other possible improvements would be to also allow the client application to:

  1. dependency-inject the TTL (time-to-live) of cache entries,
  2. dependency-inject the size and/or memory-footprint of such a cache in order to cap it;

This could maybe be useful depending on where and how mesh is used, as currently 1. is hard-coded, and 2. is not set, effectively allowing the cache to grow indefinitely.